1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. ssmquicksetup
  6. LifecycleAutomation

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource Type definition for AWS::SSMQuickSetup::LifecycleAutomation that executes SSM Automation documents in response to CloudFormation lifecycle events.

    Create LifecycleAutomation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LifecycleAutomation(name: string, args: LifecycleAutomationArgs, opts?: CustomResourceOptions);
    @overload
    def LifecycleAutomation(resource_name: str,
                            args: LifecycleAutomationArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def LifecycleAutomation(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            automation_document: Optional[str] = None,
                            automation_parameters: Optional[Mapping[str, Sequence[str]]] = None,
                            resource_key: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = None)
    func NewLifecycleAutomation(ctx *Context, name string, args LifecycleAutomationArgs, opts ...ResourceOption) (*LifecycleAutomation, error)
    public LifecycleAutomation(string name, LifecycleAutomationArgs args, CustomResourceOptions? opts = null)
    public LifecycleAutomation(String name, LifecycleAutomationArgs args)
    public LifecycleAutomation(String name, LifecycleAutomationArgs args, CustomResourceOptions options)
    
    type: aws-native:ssmquicksetup:LifecycleAutomation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_ssmquicksetup_lifecycle_automation" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args LifecycleAutomationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LifecycleAutomationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LifecycleAutomationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LifecycleAutomationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LifecycleAutomationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    LifecycleAutomation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The LifecycleAutomation resource accepts the following input properties:

    AutomationDocument string
    The name of the Automation document to execute
    AutomationParameters Dictionary<string, ImmutableArray<string>>
    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.
    ResourceKey string
    A unique identifier used for generating a unique logical ID for the custom resource
    Tags Dictionary<string, string>
    Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions.
    AutomationDocument string
    The name of the Automation document to execute
    AutomationParameters map[string][]string
    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.
    ResourceKey string
    A unique identifier used for generating a unique logical ID for the custom resource
    Tags map[string]string
    Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions.
    automation_document string
    The name of the Automation document to execute
    automation_parameters map(list(string))
    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 string
    A unique identifier used for generating a unique logical ID for the custom resource
    tags map(string)
    Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions.
    automationDocument String
    The name of the Automation document to execute
    automationParameters Map<String,List<String>>
    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.
    resourceKey String
    A unique identifier used for generating a unique logical ID for the custom resource
    tags Map<String,String>
    Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions.
    automationDocument string
    The name of the Automation document to execute
    automationParameters {[key: string]: string[]}
    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.
    resourceKey string
    A unique identifier used for generating a unique logical ID for the custom resource
    tags {[key: string]: string}
    Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions.
    automation_document str
    The name of the Automation document to execute
    automation_parameters Mapping[str, Sequence[str]]
    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 str
    A unique identifier used for generating a unique logical ID for the custom resource
    tags Mapping[str, str]
    Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions.
    automationDocument String
    The name of the Automation document to execute
    automationParameters Map<List<String>>
    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.
    resourceKey String
    A unique identifier used for generating a unique logical ID for the custom resource
    tags Map<String>
    Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LifecycleAutomation resource produces the following output properties:

    AssociationId string
    The id from the association that is returned when creating the association
    Id string
    The provider-assigned unique ID for this managed resource.
    AssociationId string
    The id from the association that is returned when creating the association
    Id string
    The provider-assigned unique ID for this managed resource.
    association_id string
    The id from the association that is returned when creating the association
    id string
    The provider-assigned unique ID for this managed resource.
    associationId String
    The id from the association that is returned when creating the association
    id String
    The provider-assigned unique ID for this managed resource.
    associationId string
    The id from the association that is returned when creating the association
    id string
    The provider-assigned unique ID for this managed resource.
    association_id str
    The id from the association that is returned when creating the association
    id str
    The provider-assigned unique ID for this managed resource.
    associationId String
    The id from the association that is returned when creating the association
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LifecycleAutomation Resource

    Get an existing LifecycleAutomation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): LifecycleAutomation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> LifecycleAutomation
    func GetLifecycleAutomation(ctx *Context, name string, id IDInput, state *LifecycleAutomationState, opts ...ResourceOption) (*LifecycleAutomation, error)
    public static LifecycleAutomation Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static LifecycleAutomation get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingLifecycleAutomation:    type: aws-native:ssmquicksetup:LifecycleAutomation    get:      id: ${id}
    import {
      to = aws-native_ssmquicksetup_lifecycle_automation.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state LifecycleAutomationState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial