Class CfnEventAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.dataexchange.CfnEventAction
- All Implemented Interfaces:
IInspectable,IEventActionRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:07.250Z")
@Stability(Stable)
public class CfnEventAction
extends CfnResource
implements IInspectable, IEventActionRef, ITaggableV2
An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published.
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.*;
CfnEventAction cfnEventAction = CfnEventAction.Builder.create(this, "MyCfnEventAction")
.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 TypeClassDescriptionstatic interfaceWhat occurs after a certain event.static interfaceA revision destination is the Amazon S3 bucket folder destination to where the export will be sent.static interfaceDetails of the operation to be performed by the job.static final classA fluent builder forCfnEventAction.static interfaceWhat occurs to start an action.static interfaceEncryption configuration of the export job.static interfaceInformation about the published revision.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.dataexchange.IEventActionRef
IEventActionRef.Jsii$Default, IEventActionRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnEventAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEventAction(software.amazon.jsii.JsiiObjectRef objRef) CfnEventAction(software.constructs.Construct scope, String id, CfnEventActionProps props) Create a newAWS::DataExchange::EventAction. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForEventAction(IEventActionRef resource) What occurs after a certain event.The ARN for the event action.The date and time that the event action was created, in ISO 8601 format.The unique identifier for the event action.The date and time that the event action was last updated, in ISO 8601 format.Tag Manager which manages the tags for this resource.getEvent()What occurs to start an action.A reference to a EventAction resource.getTags()The tags for the event action.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnEventAction.renderProperties(Map<String, Object> props) voidsetAction(IResolvable value) What occurs after a certain event.voidWhat occurs after a certain event.voidsetEvent(IResolvable value) What occurs to start an action.voidWhat occurs to start an action.voidThe tags for the event action.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnEventAction
protected CfnEventAction(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEventAction
protected CfnEventAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEventAction
@Stability(Stable) public CfnEventAction(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnEventActionProps props) Create a newAWS::DataExchange::EventAction.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForEventAction
@Stability(Stable) @NotNull public static String arnForEventAction(@NotNull IEventActionRef resource) - Parameters:
resource- This parameter is required.
-
isCfnEventAction
Checks whether the given object is a CfnEventAction.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The ARN for the event action. -
getAttrCreatedAt
The date and time that the event action was created, in ISO 8601 format. -
getAttrEventActionId
The unique identifier for the event action. -
getAttrUpdatedAt
The date and time that the event action was last updated, in ISO 8601 format. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getEventActionRef
A reference to a EventAction resource.- Specified by:
getEventActionRefin interfaceIEventActionRef
-
getAction
What occurs after a certain event.Returns union: either
IResolvableorCfnEventAction.ActionProperty -
setAction
What occurs after a certain event. -
setAction
What occurs after a certain event. -
getEvent
What occurs to start an action.Returns union: either
IResolvableorCfnEventAction.EventProperty -
setEvent
What occurs to start an action. -
setEvent
What occurs to start an action. -
getTags
The tags for the event action. -
setTags
The tags for the event action.
-