CfnEventActionMixinProps

class aws_cdk.cfn_property_mixins.aws_dataexchange.CfnEventActionMixinProps(*, action=None, event=None, tags=None)

Bases: object

Properties for CfnEventActionPropsMixin.

Parameters:
  • action (Union[IResolvable, ActionProperty, Dict[str, Any], None]) – What occurs after a certain event.

  • event (Union[IResolvable, EventProperty, Dict[str, Any], None]) – What occurs to start an action.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags for the event action.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-eventaction.html

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.cfn_property_mixins import aws_dataexchange as dataexchange

cfn_event_action_mixin_props = dataexchange.CfnEventActionMixinProps(
    action=dataexchange.CfnEventActionPropsMixin.ActionProperty(
        export_revision_to_s3=dataexchange.CfnEventActionPropsMixin.AutoExportRevisionToS3RequestDetailsProperty(
            encryption=dataexchange.CfnEventActionPropsMixin.ExportServerSideEncryptionProperty(
                kms_key_arn="kmsKeyArn",
                type="type"
            ),
            revision_destination=dataexchange.CfnEventActionPropsMixin.AutoExportRevisionDestinationEntryProperty(
                bucket="bucket",
                key_pattern="keyPattern"
            )
        )
    ),
    event=dataexchange.CfnEventActionPropsMixin.EventProperty(
        revision_published=dataexchange.CfnEventActionPropsMixin.RevisionPublishedProperty(
            data_set_id="dataSetId"
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

action

What occurs after a certain event.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-eventaction.html#cfn-dataexchange-eventaction-action

event

What occurs to start an action.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-eventaction.html#cfn-dataexchange-eventaction-event

tags

The tags for the event action.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dataexchange-eventaction.html#cfn-dataexchange-eventaction-tags