LaunchTemplateSpecification

public struct LaunchTemplateSpecification : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API. You must specify either a template ID or a template name.

    Declaration

    Swift

    public let launchTemplateId: String?
  • The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API. You must specify either a template ID or a template name.

    Declaration

    Swift

    public let launchTemplateName: String?
  • The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. 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

    Swift

    public let version: String?
  • Undocumented

    Declaration

    Swift

    public init(launchTemplateId: String? = nil, launchTemplateName: String? = nil, version: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws