Class CfnLifecycleAutomationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssmquicksetup.CfnLifecycleAutomationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLifecycleAutomationPropsMixin>
- Enclosing class:
CfnLifecycleAutomationPropsMixin
@Stability(Stable)
public static final class CfnLifecycleAutomationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLifecycleAutomationPropsMixin>
A fluent builder for
CfnLifecycleAutomationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionautomationDocument(String automationDocument) The name of the SSM Automation document to execute in response to CloudFormation lifecycle events (CREATE, UPDATE, DELETE).automationParameters(Map<String, ? extends List<String>> automationParameters) A map of key-value parameters passed to the Automation document during execution.automationParameters(IResolvable automationParameters) A map of key-value parameters passed to the Automation document during execution.build()create()create(CfnPropertyMixinOptions options) resourceKey(String resourceKey) A unique identifier used for generating the SSM Association name.Tags applied to the underlying SSM Association created by this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnLifecycleAutomationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLifecycleAutomationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLifecycleAutomationPropsMixin.Builder.
-
automationDocument
@Stability(Stable) public CfnLifecycleAutomationPropsMixin.Builder automationDocument(String automationDocument) The name of the SSM Automation document to execute in response to CloudFormation lifecycle events (CREATE, UPDATE, DELETE).- Parameters:
automationDocument- The name of the SSM Automation document to execute in response to CloudFormation lifecycle events (CREATE, UPDATE, DELETE). This parameter is required.- Returns:
this- See Also:
-
automationParameters
@Stability(Stable) public CfnLifecycleAutomationPropsMixin.Builder automationParameters(IResolvable automationParameters) 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.
- Parameters:
automationParameters- A map of key-value parameters passed to the Automation document during execution. This parameter is required.- Returns:
this- See Also:
-
automationParameters
@Stability(Stable) public CfnLifecycleAutomationPropsMixin.Builder automationParameters(Map<String, ? extends List<String>> automationParameters) 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.
- Parameters:
automationParameters- A map of key-value parameters passed to the Automation document during execution. This parameter is required.- Returns:
this- See Also:
-
resourceKey
A unique identifier used for generating the SSM Association name.This ensures uniqueness when multiple lifecycle automation resources exist in the same stack.
- Parameters:
resourceKey- A unique identifier used for generating the SSM Association name. This parameter is required.- Returns:
this- See Also:
-
tags
Tags applied to the underlying SSM Association created by this resource.Tags help identify and organize automation executions.
- Parameters:
tags- Tags applied to the underlying SSM Association created by this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLifecycleAutomationPropsMixin>- Returns:
- a newly built instance of
CfnLifecycleAutomationPropsMixin.
-