CfnWorkflowPropsMixin

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

Bases: Mixin

Create a new workflow or a new version of an existing workflow.

See:

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

CloudformationResource:

AWS::ImageBuilder::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_imagebuilder import mixins as imagebuilder_mixins

cfn_workflow_props_mixin = imagebuilder_mixins.CfnWorkflowPropsMixin(imagebuilder_mixins.CfnWorkflowMixinProps(
    change_description="changeDescription",
    data="data",
    description="description",
    kms_key_id="kmsKeyId",
    name="name",
    tags={
        "tags_key": "tags"
    },
    type="type",
    uri="uri",
    version="version"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::ImageBuilder::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:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['changeDescription', 'data', 'description', 'kmsKeyId', 'name', 'tags', 'type', 'uri', 'version']

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

LatestVersionProperty

class CfnWorkflowPropsMixin.LatestVersionProperty(*, arn=None, major=None, minor=None, patch=None)

Bases: object

The latest version references of the workflow.

Parameters:
  • arn (Optional[str]) – The Amazon Resource Name (ARN) of the workflow resource.

  • major (Optional[str]) – The latest version ARN of the created workflow, with the same major version.

  • minor (Optional[str]) – The latest version ARN of the created workflow, with the same minor version.

  • patch (Optional[str]) – The latest version ARN of the created workflow, with the same patch version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-workflow-latestversion.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_imagebuilder import mixins as imagebuilder_mixins

latest_version_property = imagebuilder_mixins.CfnWorkflowPropsMixin.LatestVersionProperty(
    arn="arn",
    major="major",
    minor="minor",
    patch="patch"
)

Attributes

arn

The Amazon Resource Name (ARN) of the workflow resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-workflow-latestversion.html#cfn-imagebuilder-workflow-latestversion-arn

major

The latest version ARN of the created workflow, with the same major version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-workflow-latestversion.html#cfn-imagebuilder-workflow-latestversion-major

minor

The latest version ARN of the created workflow, with the same minor version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-workflow-latestversion.html#cfn-imagebuilder-workflow-latestversion-minor

patch

The latest version ARN of the created workflow, with the same patch version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-workflow-latestversion.html#cfn-imagebuilder-workflow-latestversion-patch