Interface CfnLifecycleAutomationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLifecycleAutomationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:47.724Z")
@Stability(Stable)
public interface CfnLifecycleAutomationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLifecycleAutomation.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssmquicksetup.*;
CfnLifecycleAutomationProps cfnLifecycleAutomationProps = CfnLifecycleAutomationProps.builder()
.automationDocument("automationDocument")
.automationParameters(Map.of(
"automationParametersKey", List.of("automationParameters")))
.resourceKey("resourceKey")
// the properties below are optional
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLifecycleAutomationPropsstatic final classAn implementation forCfnLifecycleAutomationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The name of the SSM Automation document to execute in response to AWS CloudFormation lifecycle events (CREATE, UPDATE, DELETE).A map of key-value parameters passed to the Automation document during execution.A unique identifier used for generating the SSM Association name.getTags()Tags applied to the underlying SSM Association created by this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutomationDocument
The name of the SSM Automation document to execute in response to AWS CloudFormation lifecycle events (CREATE, UPDATE, DELETE).- See Also:
-
getAutomationParameters
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 union: either
IResolvableor Mapinvalid input: '<'String, Listinvalid input: '<'String>>- See Also:
-
getResourceKey
A unique identifier used for generating the SSM Association name.This ensures uniqueness when multiple lifecycle automation resources exist in the same stack.
- See Also:
-
getTags
Tags applied to the underlying SSM Association created by this resource.Tags help identify and organize automation executions.
- See Also:
-
builder
-