@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.539Z") @Stability(value=Stable) public interface OnCloudTrailImagePushedOptions 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;
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
OnCloudTrailImagePushedOptions.Builder
A builder for
OnCloudTrailImagePushedOptions |
static class |
OnCloudTrailImagePushedOptions.Jsii$Proxy
An implementation for
OnCloudTrailImagePushedOptions |
| Modifier and Type | Method and Description |
|---|---|
static OnCloudTrailImagePushedOptions.Builder |
builder() |
default String |
getImageTag()
Only watch changes to this image tag.
|
getTargetgetCrossStackScope, getDescription, getEventPattern, getRuleName@Stability(value=Stable) @Nullable default String getImageTag()
Default: - Watch changes to all tags
@Stability(value=Stable) static OnCloudTrailImagePushedOptions.Builder builder()
builder in interface EventCommonOptionsbuilder in interface OnEventOptionsOnCloudTrailImagePushedOptions.Builder of OnCloudTrailImagePushedOptionsCopyright © 2022. All rights reserved.