FleetLaunchTemplateSpecificationRequest - Amazon Elastic Compute Cloud

FleetLaunchTemplateSpecificationRequest

Describes the Amazon EC2 launch template and the launch template version that can be used by an EC2 Fleet to configure Amazon EC2 instances. For information about launch templates, see Launching an instance from a launch template in the Amazon Elastic Compute Cloud User Guide.

Contents

LaunchTemplateId

The ID of the launch template. If you specify the template ID, you can't specify the template name.

Type: String

Required: No

LaunchTemplateName

The name of the launch template. If you specify the template name, you can't specify the template ID.

Type: String

Length Constraints: Minimum length of 3. Maximum length of 128.

Pattern: [a-zA-Z0-9\(\)\.\-/_]+

Required: No

Version

The launch template version number, $Latest, or $Default. You must specify a value, otherwise the request fails.

If the value is $Latest, Amazon EC2 uses the latest version of the launch template.

If the value is $Default, Amazon EC2 uses the default version of the launch template.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: