CfnWorkflowPropsMixin
- class aws_cdk.mixins_preview.aws_imagebuilder.mixins.CfnWorkflowPropsMixin(props, *, strategy=None)
Bases:
MixinCreate a new workflow or a new version of an existing workflow.
- See:
- 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:
- 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
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
LatestVersionProperty
- class CfnWorkflowPropsMixin.LatestVersionProperty(*, arn=None, major=None, minor=None, patch=None)
Bases:
objectThe 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:
- 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.
- major
The latest version ARN of the created workflow, with the same major version.
- minor
The latest version ARN of the created workflow, with the same minor version.
- patch
The latest version ARN of the created workflow, with the same patch version.