UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

78 lines (77 loc) 3.46 kB
import * as pulumi from "@pulumi/pulumi"; /** * Resource Type definition for AWS::SSMQuickSetup::LifecycleAutomation that executes SSM Automation documents in response to CloudFormation lifecycle events. */ export declare class LifecycleAutomation extends pulumi.CustomResource { /** * Get an existing LifecycleAutomation resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): LifecycleAutomation; /** * Returns true if the given object is an instance of LifecycleAutomation. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is LifecycleAutomation; /** * The id from the association that is returned when creating the association */ readonly associationId: pulumi.Output<string>; /** * The name of the Automation document to execute */ readonly automationDocument: pulumi.Output<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. */ readonly automationParameters: pulumi.Output<{ [key: string]: any; }>; /** * A unique identifier used for generating a unique logical ID for the custom resource */ readonly resourceKey: pulumi.Output<string>; /** * Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a LifecycleAutomation resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: LifecycleAutomationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a LifecycleAutomation resource. */ export interface LifecycleAutomationArgs { /** * The name of the Automation document to execute */ automationDocument: pulumi.Input<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. */ automationParameters: pulumi.Input<{ [key: string]: any; }>; /** * A unique identifier used for generating a unique logical ID for the custom resource */ resourceKey: pulumi.Input<string>; /** * Tags applied to the underlying SSM Association created by this resource. Tags help identify and organize automation executions. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }