LaunchTemplateArgs

data class LaunchTemplateArgs(val launchTemplateSpecification: Output<LaunchTemplateSpecificationArgs>? = null, val overrides: Output<List<LaunchTemplateOverridesArgs>>? = null) : ConvertibleToJava<LaunchTemplateArgs>

Definition of LaunchTemplate

Constructors

Link copied to clipboard
constructor(launchTemplateSpecification: Output<LaunchTemplateSpecificationArgs>? = null, overrides: Output<List<LaunchTemplateOverridesArgs>>? = null)

Properties

Link copied to clipboard

The launch template. Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. You must specify the following: + The ID or the name of the launch template, but not both. + The version of the launch template. `LaunchTemplateSpecification` is property of the AWS::AutoScaling::AutoScalingGroup resource. It is also a property of the AWS::AutoScaling::AutoScalingGroup LaunchTemplate and AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides property types. For information about creating a launch template, see AWS::EC2::LaunchTemplate and Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. For examples of launch templates, see Auto scaling template snippets and the Examples section in the `AWS::EC2::LaunchTemplate` resource.

Link copied to clipboard

Any properties that you specify override the same properties in the launch template.

Functions

Link copied to clipboard
open override fun toJava(): LaunchTemplateArgs