CfnWorkflowPropsMixin

class aws_cdk.mixins_preview.aws_mwaaserverless.mixins.CfnWorkflowPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::MWAAServerless::Workflow resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaaserverless-workflow.html

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 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.

Stability:

experimental

EncryptionConfigurationProperty

class CfnWorkflowPropsMixin.EncryptionConfigurationProperty(*, kms_key_id=None, type=None)

Bases: object

Parameters:
  • kms_key_id (Optional[str])

  • type (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-encryptionconfiguration.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.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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-encryptionconfiguration.html#cfn-mwaaserverless-workflow-encryptionconfiguration-kmskeyid

Type:

see

type

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-encryptionconfiguration.html#cfn-mwaaserverless-workflow-encryptionconfiguration-type

Type:

see

LoggingConfigurationProperty

class CfnWorkflowPropsMixin.LoggingConfigurationProperty(*, log_group_name=None)

Bases: object

Parameters:

log_group_name (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-loggingconfiguration.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.mixins_preview.aws_mwaaserverless import mixins as mwaaserverless_mixins

logging_configuration_property = mwaaserverless_mixins.CfnWorkflowPropsMixin.LoggingConfigurationProperty(
    log_group_name="logGroupName"
)

Attributes

log_group_name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-loggingconfiguration.html#cfn-mwaaserverless-workflow-loggingconfiguration-loggroupname

Type:

see

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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-networkconfiguration.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.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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-networkconfiguration.html#cfn-mwaaserverless-workflow-networkconfiguration-securitygroupids

Type:

see

subnet_ids

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-networkconfiguration.html#cfn-mwaaserverless-workflow-networkconfiguration-subnetids

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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-s3location.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.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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-s3location.html#cfn-mwaaserverless-workflow-s3location-bucket

Type:

see

object_key

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-s3location.html#cfn-mwaaserverless-workflow-s3location-objectkey

Type:

see

version_id

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-s3location.html#cfn-mwaaserverless-workflow-s3location-versionid

Type:

see

ScheduleConfigurationProperty

class CfnWorkflowPropsMixin.ScheduleConfigurationProperty(*, cron_expression=None)

Bases: object

Parameters:

cron_expression (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-scheduleconfiguration.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.mixins_preview.aws_mwaaserverless import mixins as mwaaserverless_mixins

schedule_configuration_property = mwaaserverless_mixins.CfnWorkflowPropsMixin.ScheduleConfigurationProperty(
    cron_expression="cronExpression"
)

Attributes

cron_expression

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaaserverless-workflow-scheduleconfiguration.html#cfn-mwaaserverless-workflow-scheduleconfiguration-cronexpression

Type:

see