SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs

data class SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs(val id: Output<String>? = null, val name: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<SpotFleetRequestLaunchTemplateConfigLaunchTemplateSpecificationArgs>

Constructors

constructor(id: Output<String>? = null, name: Output<String>? = null, version: Output<String>? = null)

Properties

Link copied to clipboard
val id: Output<String>? = null

The ID of the launch template. Conflicts with name.

Link copied to clipboard
val name: Output<String>? = null

The name of the launch template. Conflicts with id.

Link copied to clipboard
val version: Output<String>? = null

Template version. Unlike the autoscaling equivalent, does not support $Latest or $Default, so use the launch_template resource's attribute, e.g., "${aws_launch_template.foo.latest_version}". It will use the default version if omitted. Note: The specified launch template can specify only a subset of the inputs of aws.ec2.LaunchTemplate. There are limitations on what you can specify as spot fleet does not support all the attributes that are supported by autoscaling groups. AWS documentation is currently sparse, but at least instance_initiated_shutdown_behavior is confirmed unsupported.

Functions

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