CfnEventActionProps
- class aws_cdk.aws_dataexchange.CfnEventActionProps(*, action, event, tags=None)
Bases:
objectProperties for defining a
CfnEventAction.- Parameters:
action (
Union[IResolvable,ActionProperty,Dict[str,Any]]) – What occurs after a certain event.event (
Union[IResolvable,EventProperty,Dict[str,Any]]) – What occurs to start an action.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags for the event action.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_dataexchange as dataexchange cfn_event_action_props = dataexchange.CfnEventActionProps( action=dataexchange.CfnEventAction.ActionProperty( export_revision_to_s3=dataexchange.CfnEventAction.AutoExportRevisionToS3RequestDetailsProperty( revision_destination=dataexchange.CfnEventAction.AutoExportRevisionDestinationEntryProperty( bucket="bucket", # the properties below are optional key_pattern="keyPattern" ), # the properties below are optional encryption=dataexchange.CfnEventAction.ExportServerSideEncryptionProperty( type="type", # the properties below are optional kms_key_arn="kmsKeyArn" ) ) ), event=dataexchange.CfnEventAction.EventProperty( revision_published=dataexchange.CfnEventAction.RevisionPublishedProperty( data_set_id="dataSetId" ) ), # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- action
What occurs after a certain event.
- event
What occurs to start an action.
- tags
The tags for the event action.