Class CfnLifecycleAutomationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssmquicksetup.CfnLifecycleAutomationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLifecycleAutomationMixinProps>
- Enclosing interface:
CfnLifecycleAutomationMixinProps
@Stability(Stable)
public static final class CfnLifecycleAutomationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLifecycleAutomationMixinProps>
A builder for
CfnLifecycleAutomationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautomationDocument(String automationDocument) Sets the value ofCfnLifecycleAutomationMixinProps.getAutomationDocument()automationParameters(Map<String, ? extends List<String>> automationParameters) Sets the value ofCfnLifecycleAutomationMixinProps.getAutomationParameters()automationParameters(IResolvable automationParameters) Sets the value ofCfnLifecycleAutomationMixinProps.getAutomationParameters()build()Builds the configured instance.resourceKey(String resourceKey) Sets the value ofCfnLifecycleAutomationMixinProps.getResourceKey()Sets the value ofCfnLifecycleAutomationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
automationDocument
@Stability(Stable) public CfnLifecycleAutomationMixinProps.Builder automationDocument(String automationDocument) Sets the value ofCfnLifecycleAutomationMixinProps.getAutomationDocument()- Parameters:
automationDocument- The name of the SSM Automation document to execute in response to CloudFormation lifecycle events (CREATE, UPDATE, DELETE).- Returns:
this
-
automationParameters
@Stability(Stable) public CfnLifecycleAutomationMixinProps.Builder automationParameters(IResolvable automationParameters) Sets the value ofCfnLifecycleAutomationMixinProps.getAutomationParameters()- Parameters:
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.- Returns:
this
-
automationParameters
@Stability(Stable) public CfnLifecycleAutomationMixinProps.Builder automationParameters(Map<String, ? extends List<String>> automationParameters) Sets the value ofCfnLifecycleAutomationMixinProps.getAutomationParameters()- Parameters:
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.- Returns:
this
-
resourceKey
Sets the value ofCfnLifecycleAutomationMixinProps.getResourceKey()- Parameters:
resourceKey- A unique identifier used for generating the SSM Association name. This ensures uniqueness when multiple lifecycle automation resources exist in the same stack.- Returns:
this
-
tags
Sets the value ofCfnLifecycleAutomationMixinProps.getTags()- Parameters:
tags- Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLifecycleAutomationMixinProps>- Returns:
- a new instance of
CfnLifecycleAutomationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-