launchTemplate

@JvmName(name = "hskcgdicogcedeij")
suspend fun launchTemplate(value: Output<AutoScalingGroupLaunchTemplateSpecificationArgs>)
@JvmName(name = "yutdfmsxuutxwnga")
suspend fun launchTemplate(value: AutoScalingGroupLaunchTemplateSpecificationArgs?)

Parameters

value

Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a `MixedInstancesPolicy`. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specify `MixedInstancesPolicy`, `LaunchConfigurationName`, or `InstanceId`.


@JvmName(name = "xndjfqslnleilxrj")
suspend fun launchTemplate(argument: suspend AutoScalingGroupLaunchTemplateSpecificationArgsBuilder.() -> Unit)

Parameters

argument

Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a `MixedInstancesPolicy`. For more information about creating launch templates, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. If you omit this property, you must specify `MixedInstancesPolicy`, `LaunchConfigurationName`, or `InstanceId`.