Interface CfnEventActionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:07.252Z")
@Stability(Stable)
public interface CfnEventActionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEventAction.
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.dataexchange.*;
CfnEventActionProps cfnEventActionProps = CfnEventActionProps.builder()
.action(ActionProperty.builder()
.exportRevisionToS3(AutoExportRevisionToS3RequestDetailsProperty.builder()
.revisionDestination(AutoExportRevisionDestinationEntryProperty.builder()
.bucket("bucket")
// the properties below are optional
.keyPattern("keyPattern")
.build())
// the properties below are optional
.encryption(ExportServerSideEncryptionProperty.builder()
.type("type")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.build())
.build())
.build())
.event(EventProperty.builder()
.revisionPublished(RevisionPublishedProperty.builder()
.dataSetId("dataSetId")
.build())
.build())
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEventActionPropsstatic final classAn implementation forCfnEventActionProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
What occurs after a certain event.Returns union: either
IResolvableorCfnEventAction.ActionProperty- See Also:
-
getEvent
What occurs to start an action.Returns union: either
IResolvableorCfnEventAction.EventProperty- See Also:
-
getTags
The tags for the event action.- See Also:
-
builder
- Returns:
- a
CfnEventActionProps.BuilderofCfnEventActionProps
-