CfnLifecycleAutomationMixinProps
- class aws_cdk.mixins_preview.aws_ssmquicksetup.mixins.CfnLifecycleAutomationMixinProps(*, automation_document=None, automation_parameters=None, resource_key=None, tags=None)
Bases:
objectProperties for CfnLifecycleAutomationPropsMixin.
- Parameters:
automation_document (
Optional[str]) – The name of the SSM Automation document to execute in response to CloudFormation lifecycle events (CREATE, UPDATE, DELETE).automation_parameters (
Union[IResolvable,Mapping[str,Sequence[str]],None]) – A map of key-value parameters passed to the Automation document during execution. Each parameter name maps to a list of values, even for single values. Parameters can include configuration-specific values for your automation workflow.resource_key (
Optional[str]) – A unique identifier used for generating the SSM Association name. This ensures uniqueness when multiple lifecycle automation resources exist in the same stack.tags (
Optional[Mapping[str,str]]) – Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions.
- 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_ssmquicksetup import mixins as ssmquicksetup_mixins cfn_lifecycle_automation_mixin_props = ssmquicksetup_mixins.CfnLifecycleAutomationMixinProps( automation_document="automationDocument", automation_parameters={ "automation_parameters_key": ["automationParameters"] }, resource_key="resourceKey", tags={ "tags_key": "tags" } )
Attributes
- automation_document
The name of the SSM Automation document to execute in response to CloudFormation lifecycle events (CREATE, UPDATE, DELETE).
- automation_parameters
A map of key-value parameters passed to the Automation document during execution.
Each parameter name maps to a list of values, even for single values. Parameters can include configuration-specific values for your automation workflow.
- resource_key
A unique identifier used for generating the SSM Association name.
This ensures uniqueness when multiple lifecycle automation resources exist in the same stack.
- tags
Tags applied to the underlying SSM Association created by this resource.
Tags help identify and organize automation executions.