CfnWorkflowPropsMixin
- class aws_cdk.mixins_preview.aws_mwaaserverless.mixins.CfnWorkflowPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::MWAAServerless::Workflow resource.
- See:
- CloudformationResource:
AWS::MWAAServerless::Workflow
- 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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_mwaaserverless import mixins as mwaaserverless_mixins cfn_workflow_props_mixin = mwaaserverless_mixins.CfnWorkflowPropsMixin(mwaaserverless_mixins.CfnWorkflowMixinProps( definition_s3_location=mwaaserverless_mixins.CfnWorkflowPropsMixin.S3LocationProperty( bucket="bucket", object_key="objectKey", version_id="versionId" ), description="description", encryption_configuration=mwaaserverless_mixins.CfnWorkflowPropsMixin.EncryptionConfigurationProperty( kms_key_id="kmsKeyId", type="type" ), logging_configuration=mwaaserverless_mixins.CfnWorkflowPropsMixin.LoggingConfigurationProperty( log_group_name="logGroupName" ), name="name", network_configuration=mwaaserverless_mixins.CfnWorkflowPropsMixin.NetworkConfigurationProperty( security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"] ), role_arn="roleArn", tags={ "tags_key": "tags" }, trigger_mode="triggerMode" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::MWAAServerless::Workflow.- Parameters:
props (
Union[CfnWorkflowMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
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 = ['definitionS3Location', 'description', 'encryptionConfiguration', 'loggingConfiguration', 'name', 'networkConfiguration', 'roleArn', 'tags', 'triggerMode']
Static Methods
- classmethod is_mixin(x)
(experimental) 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.- Stability:
experimental
EncryptionConfigurationProperty
- class CfnWorkflowPropsMixin.EncryptionConfigurationProperty(*, kms_key_id=None, type=None)
Bases:
object- Parameters:
kms_key_id (
Optional[str])type (
Optional[str])
- 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.mixins_preview.aws_mwaaserverless import mixins as mwaaserverless_mixins encryption_configuration_property = mwaaserverless_mixins.CfnWorkflowPropsMixin.EncryptionConfigurationProperty( kms_key_id="kmsKeyId", type="type" )
Attributes
- kms_key_id
-
- Type:
see
LoggingConfigurationProperty
- class CfnWorkflowPropsMixin.LoggingConfigurationProperty(*, log_group_name=None)
Bases:
object- Parameters:
log_group_name (
Optional[str])- 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.mixins_preview.aws_mwaaserverless import mixins as mwaaserverless_mixins logging_configuration_property = mwaaserverless_mixins.CfnWorkflowPropsMixin.LoggingConfigurationProperty( log_group_name="logGroupName" )
Attributes
NetworkConfigurationProperty
- class CfnWorkflowPropsMixin.NetworkConfigurationProperty(*, security_group_ids=None, subnet_ids=None)
Bases:
object- Parameters:
security_group_ids (
Optional[Sequence[str]])subnet_ids (
Optional[Sequence[str]])
- 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.mixins_preview.aws_mwaaserverless import mixins as mwaaserverless_mixins network_configuration_property = mwaaserverless_mixins.CfnWorkflowPropsMixin.NetworkConfigurationProperty( security_group_ids=["securityGroupIds"], subnet_ids=["subnetIds"] )
Attributes
- security_group_ids
-
- Type:
see
S3LocationProperty
- class CfnWorkflowPropsMixin.S3LocationProperty(*, bucket=None, object_key=None, version_id=None)
Bases:
object- Parameters:
bucket (
Optional[str])object_key (
Optional[str])version_id (
Optional[str])
- 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.mixins_preview.aws_mwaaserverless import mixins as mwaaserverless_mixins s3_location_property = mwaaserverless_mixins.CfnWorkflowPropsMixin.S3LocationProperty( bucket="bucket", object_key="objectKey", version_id="versionId" )
Attributes
- bucket
-
- Type:
see
- object_key
-
- Type:
see
ScheduleConfigurationProperty
- class CfnWorkflowPropsMixin.ScheduleConfigurationProperty(*, cron_expression=None)
Bases:
object- Parameters:
cron_expression (
Optional[str])- 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.mixins_preview.aws_mwaaserverless import mixins as mwaaserverless_mixins schedule_configuration_property = mwaaserverless_mixins.CfnWorkflowPropsMixin.ScheduleConfigurationProperty( cron_expression="cronExpression" )
Attributes