Interface OnImageScanCompletedOptions
- All Superinterfaces:
EventCommonOptions,software.amazon.jsii.JsiiSerializable,OnEventOptions
- All Known Implementing Classes:
OnImageScanCompletedOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:50.206Z")
@Stability(Stable)
public interface OnImageScanCompletedOptions
extends software.amazon.jsii.JsiiSerializable, OnEventOptions
Options for the OnImageScanCompleted method.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forOnImageScanCompletedOptionsstatic final classAn implementation forOnImageScanCompletedOptions -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.events.EventCommonOptions
getCrossStackScope, getDescription, getEventPattern, getRuleNameMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.events.OnEventOptions
getTarget
-
Method Details
-
getImageTags
Only watch changes to the image tags specified.Leave it undefined to watch the full repository.
Default: - Watch the changes to the repository with all image tags
-
builder
-