Interface OnCloudTrailImagePushedOptions
- All Superinterfaces:
EventCommonOptions
,software.amazon.jsii.JsiiSerializable
,OnEventOptions
- All Known Implementing Classes:
OnCloudTrailImagePushedOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:14.322Z")
@Stability(Stable)
public interface OnCloudTrailImagePushedOptions
extends software.amazon.jsii.JsiiSerializable, OnEventOptions
Options for the onCloudTrailImagePushed 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; OnCloudTrailImagePushedOptions onCloudTrailImagePushedOptions = OnCloudTrailImagePushedOptions.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()) .imageTag("imageTag") .ruleName("ruleName") .target(ruleTarget) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forOnCloudTrailImagePushedOptions
static final class
An implementation forOnCloudTrailImagePushedOptions
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.events.EventCommonOptions
getCrossStackScope, getDescription, getEventPattern, getRuleName
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.events.OnEventOptions
getTarget
-
Method Details
-
getImageTag
Only watch changes to this image tag.Default: - Watch changes to all tags
-
builder
-