CfnEventActionPropsMixin
- class aws_cdk.cfn_property_mixins.aws_dataexchange.CfnEventActionPropsMixin(props, *, strategy=None)
Bases:
MixinAn event action is an AWS Data Exchange resource that automatically exports data set revisions to Amazon S3 when a revision is published.
- See:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ActionProperty
- class CfnEventActionPropsMixin.ActionProperty(*, export_revision_to_s3=None)
Bases:
objectWhat 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:
- 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.
AutoExportRevisionDestinationEntryProperty
- class CfnEventActionPropsMixin.AutoExportRevisionDestinationEntryProperty(*, bucket=None, key_pattern=None)
Bases:
objectA 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:
- 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.
- key_pattern
A string representing the pattern for generated names of the individual assets in the revision.
AutoExportRevisionToS3RequestDetailsProperty
- class CfnEventActionPropsMixin.AutoExportRevisionToS3RequestDetailsProperty(*, encryption=None, revision_destination=None)
Bases:
objectDetails of the operation to be performed by the job.
- Parameters:
encryption (
Union[IResolvable,ExportServerSideEncryptionProperty,Dict[str,Any],None]) – Encryption configuration of the export job.revision_destination (
Union[IResolvable,AutoExportRevisionDestinationEntryProperty,Dict[str,Any],None]) – A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.
- See:
- 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.
- revision_destination
A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.
EventProperty
- class CfnEventActionPropsMixin.EventProperty(*, revision_published=None)
Bases:
objectWhat occurs to start an action.
- Parameters:
revision_published (
Union[IResolvable,RevisionPublishedProperty,Dict[str,Any],None]) – Information about the published revision.- See:
- 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.
ExportServerSideEncryptionProperty
- class CfnEventActionPropsMixin.ExportServerSideEncryptionProperty(*, kms_key_arn=None, type=None)
Bases:
objectEncryption 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:
- 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.
- type
The type of server side encryption used for encrypting the objects in Amazon S3.
RevisionPublishedProperty
- class CfnEventActionPropsMixin.RevisionPublishedProperty(*, data_set_id=None)
Bases:
objectInformation about the published revision.
- Parameters:
data_set_id (
Optional[str]) – The data set ID of the published revision.- See:
- 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.