AWSAutoScalingLaunchTemplateSpecification

@interface AWSAutoScalingLaunchTemplateSpecification

Describes a launch template and the launch template version.

The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a Launch Template for an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.

  • The ID of the launch template. You must specify either a template ID or a template name.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable launchTemplateId;

    Swift

    var launchTemplateId: String? { get set }
  • The name of the launch template. You must specify either a template name or a template ID.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable launchTemplateName;

    Swift

    var launchTemplateName: String? { get set }
  • The version number, $Latest, or $Default. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable version;

    Swift

    var version: String? { get set }