We recommend new projects start with resources from the AWS provider.
aws-native.ssmquicksetup.LifecycleAutomation
We recommend new projects start with resources from the AWS provider.
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, Any]] = 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.
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:
- Automation
Document string - The name of the Automation document to execute
- Automation
Parameters Dictionary<string, object> - 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
- Dictionary<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[string]interface{} - 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
- 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<String,Object> - 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
- 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 {[key: string]: any} - 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
- {[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, Any] - 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
- Mapping[str, str]
- 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<Any> - 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
- 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
