CfnEventActionPropsMixin

class aws_cdk.cfn_property_mixins.aws_dataexchange.CfnEventActionPropsMixin(props, *, strategy=None)

Bases: Mixin

An event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published.

See:

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

CloudformationResource:

AWS::DataExchange::EventAction

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# 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
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_event_action_props_mixin = dataexchange.CfnEventActionPropsMixin(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=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::DataExchange::EventAction.

Parameters:
  • props (Union[CfnEventActionMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['action', 'event', 'tags']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ActionProperty

class CfnEventActionPropsMixin.ActionProperty(*, export_revision_to_s3=None)

Bases: object

What occurs after a certain event.

Parameters:

export_revision_to_s3 (Union[IResolvable, AutoExportRevisionToS3RequestDetailsProperty, Dict[str, Any], None]) – Details of the operation to be performed by the job.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# 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

action_property = 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"
        )
    )
)

Attributes

export_revision_to_s3

Details of the operation to be performed by the job.

See:

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

AutoExportRevisionDestinationEntryProperty

class CfnEventActionPropsMixin.AutoExportRevisionDestinationEntryProperty(*, bucket=None, key_pattern=None)

Bases: object

A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.

Parameters:
  • bucket (Optional[str]) – The Amazon S3 bucket that is the destination for the event action.

  • key_pattern (Optional[str]) – A string representing the pattern for generated names of the individual assets in the revision.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# 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

auto_export_revision_destination_entry_property = dataexchange.CfnEventActionPropsMixin.AutoExportRevisionDestinationEntryProperty(
    bucket="bucket",
    key_pattern="keyPattern"
)

Attributes

bucket

The Amazon S3 bucket that is the destination for the event action.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-autoexportrevisiondestinationentry.html#cfn-dataexchange-eventaction-autoexportrevisiondestinationentry-bucket

key_pattern

A string representing the pattern for generated names of the individual assets in the revision.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-autoexportrevisiondestinationentry.html#cfn-dataexchange-eventaction-autoexportrevisiondestinationentry-keypattern

AutoExportRevisionToS3RequestDetailsProperty

class CfnEventActionPropsMixin.AutoExportRevisionToS3RequestDetailsProperty(*, encryption=None, revision_destination=None)

Bases: object

Details of the operation to be performed by the job.

Parameters:
See:

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

ExampleMetadata:

fixture=_generated

Example:

# 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

auto_export_revision_to_s3_request_details_property = dataexchange.CfnEventActionPropsMixin.AutoExportRevisionToS3RequestDetailsProperty(
    encryption=dataexchange.CfnEventActionPropsMixin.ExportServerSideEncryptionProperty(
        kms_key_arn="kmsKeyArn",
        type="type"
    ),
    revision_destination=dataexchange.CfnEventActionPropsMixin.AutoExportRevisionDestinationEntryProperty(
        bucket="bucket",
        key_pattern="keyPattern"
    )
)

Attributes

encryption

Encryption configuration of the export job.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-autoexportrevisiontos3requestdetails.html#cfn-dataexchange-eventaction-autoexportrevisiontos3requestdetails-encryption

revision_destination

A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-autoexportrevisiontos3requestdetails.html#cfn-dataexchange-eventaction-autoexportrevisiontos3requestdetails-revisiondestination

EventProperty

class CfnEventActionPropsMixin.EventProperty(*, revision_published=None)

Bases: object

What occurs to start an action.

Parameters:

revision_published (Union[IResolvable, RevisionPublishedProperty, Dict[str, Any], None]) – Information about the published revision.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# 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

event_property = dataexchange.CfnEventActionPropsMixin.EventProperty(
    revision_published=dataexchange.CfnEventActionPropsMixin.RevisionPublishedProperty(
        data_set_id="dataSetId"
    )
)

Attributes

revision_published

Information about the published revision.

See:

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

ExportServerSideEncryptionProperty

class CfnEventActionPropsMixin.ExportServerSideEncryptionProperty(*, kms_key_arn=None, type=None)

Bases: object

Encryption configuration of the export job.

Parameters:
  • kms_key_arn (Optional[str]) – The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects.

  • type (Optional[str]) – The type of server side encryption used for encrypting the objects in Amazon S3.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# 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

export_server_side_encryption_property = dataexchange.CfnEventActionPropsMixin.ExportServerSideEncryptionProperty(
    kms_key_arn="kmsKeyArn",
    type="type"
)

Attributes

kms_key_arn

The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-exportserversideencryption.html#cfn-dataexchange-eventaction-exportserversideencryption-kmskeyarn

type

The type of server side encryption used for encrypting the objects in Amazon S3.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-exportserversideencryption.html#cfn-dataexchange-eventaction-exportserversideencryption-type

RevisionPublishedProperty

class CfnEventActionPropsMixin.RevisionPublishedProperty(*, data_set_id=None)

Bases: object

Information about the published revision.

Parameters:

data_set_id (Optional[str]) – The data set ID of the published revision.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# 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

revision_published_property = dataexchange.CfnEventActionPropsMixin.RevisionPublishedProperty(
    data_set_id="dataSetId"
)

Attributes

data_set_id

The data set ID of the published revision.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dataexchange-eventaction-revisionpublished.html#cfn-dataexchange-eventaction-revisionpublished-datasetid