AWSEC2LaunchTemplateSpecification
Objective-C
@interface AWSEC2LaunchTemplateSpecification
Swift
class AWSEC2LaunchTemplateSpecification
The launch template to use. You must specify either the launch template ID or launch template name in the request, but not both.
-
The ID of the launch template.
You must specify the
LaunchTemplateId
or theLaunchTemplateName
, but not both.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable launchTemplateId;
Swift
var launchTemplateId: String? { get set }
-
The name of the launch template.
You must specify the
LaunchTemplateName
or theLaunchTemplateId
, but not both.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable launchTemplateName;
Swift
var launchTemplateName: String? { get set }
-
The launch template version number,
$Latest
, or$Default
.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.Default: The default version of the launch template.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable version;
Swift
var version: String? { get set }