@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.540Z") @Stability(value=Stable) public interface OnImageScanCompletedOptions extends software.amazon.jsii.JsiiSerializable, OnEventOptions
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecr.*;
import software.amazon.awscdk.services.events.*;
import software.constructs.*;
Construct construct;
Object detail;
IRuleTarget ruleTarget;
OnImageScanCompletedOptions onImageScanCompletedOptions = OnImageScanCompletedOptions.builder()
.crossStackScope(construct)
.description("description")
.eventPattern(EventPattern.builder()
.account(List.of("account"))
.detail(Map.of(
"detailKey", detail))
.detailType(List.of("detailType"))
.id(List.of("id"))
.region(List.of("region"))
.resources(List.of("resources"))
.source(List.of("source"))
.time(List.of("time"))
.version(List.of("version"))
.build())
.imageTags(List.of("imageTags"))
.ruleName("ruleName")
.target(ruleTarget)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
OnImageScanCompletedOptions.Builder
A builder for
OnImageScanCompletedOptions |
static class |
OnImageScanCompletedOptions.Jsii$Proxy
An implementation for
OnImageScanCompletedOptions |
| Modifier and Type | Method and Description |
|---|---|
static OnImageScanCompletedOptions.Builder |
builder() |
default List<String> |
getImageTags()
Only watch changes to the image tags spedified.
|
getTargetgetCrossStackScope, getDescription, getEventPattern, getRuleName@Stability(value=Stable) @Nullable default List<String> getImageTags()
Leave it undefined to watch the full repository.
Default: - Watch the changes to the repository with all image tags
@Stability(value=Stable) static OnImageScanCompletedOptions.Builder builder()
builder in interface EventCommonOptionsbuilder in interface OnEventOptionsOnImageScanCompletedOptions.Builder of OnImageScanCompletedOptionsCopyright © 2022. All rights reserved.