AWSEC2ResponseLaunchTemplateData
Objective-C
@interface AWSEC2ResponseLaunchTemplateData
Swift
class AWSEC2ResponseLaunchTemplateData
The information for a launch template.
-
The block device mappings.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2LaunchTemplateBlockDeviceMapping *> *_Nullable blockDeviceMappings;
Swift
var blockDeviceMappings: [AWSEC2LaunchTemplateBlockDeviceMapping]? { get set }
-
Information about the Capacity Reservation targeting option.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2LaunchTemplateCapacityReservationSpecificationResponse *_Nullable capacityReservationSpecification;
Swift
var capacityReservationSpecification: AWSEC2LaunchTemplateCapacityReservationSpecificationResponse? { get set }
-
The CPU options for the instance. For more information, see Optimize CPU options in the Amazon EC2 User Guide.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2LaunchTemplateCpuOptions *_Nullable cpuOptions;
Swift
var cpuOptions: AWSEC2LaunchTemplateCpuOptions? { get set }
-
The credit option for CPU usage of the instance.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2CreditSpecification *_Nullable creditSpecification;
Swift
var creditSpecification: AWSEC2CreditSpecification? { get set }
-
Indicates whether the instance is enabled for stop protection. For more information, see Enable stop protection for your instance in the Amazon EC2 User Guide.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable disableApiStop;
Swift
var disableApiStop: NSNumber? { get set }
-
If set to
true
, indicates that the instance cannot be terminated using the Amazon EC2 console, command line tool, or API.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable disableApiTermination;
Swift
var disableApiTermination: NSNumber? { get set }
-
Indicates whether the instance is optimized for Amazon EBS I/O.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable ebsOptimized;
Swift
var ebsOptimized: NSNumber? { get set }
-
Deprecated.
Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2ElasticGpuSpecificationResponse *> *_Nullable elasticGpuSpecifications;
Swift
var elasticGpuSpecifications: [AWSEC2ElasticGpuSpecificationResponse]? { get set }
-
An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.
You cannot specify accelerators from different generations in the same request.
Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2LaunchTemplateElasticInferenceAcceleratorResponse *> *_Nullable elasticInferenceAccelerators;
Swift
var elasticInferenceAccelerators: [AWSEC2LaunchTemplateElasticInferenceAcceleratorResponse]? { get set }
-
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2LaunchTemplateEnclaveOptions *_Nullable enclaveOptions;
Swift
var enclaveOptions: AWSEC2LaunchTemplateEnclaveOptions? { get set }
-
Indicates whether an instance is configured for hibernation. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2LaunchTemplateHibernationOptions *_Nullable hibernationOptions;
Swift
var hibernationOptions: AWSEC2LaunchTemplateHibernationOptions? { get set }
-
The IAM instance profile.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2LaunchTemplateIamInstanceProfileSpecification *_Nullable iamInstanceProfile;
Swift
var iamInstanceProfile: AWSEC2LaunchTemplateIamInstanceProfileSpecification? { get set }
-
The ID of the AMI or a Systems Manager parameter. The Systems Manager parameter will resolve to the ID of the AMI at instance launch.
The value depends on what you specified in the request. The possible values are:
If an AMI ID was specified in the request, then this is the AMI ID.
If a Systems Manager parameter was specified in the request, and
ResolveAlias
was configured astrue
, then this is the AMI ID that the parameter is mapped to in the Parameter Store.If a Systems Manager parameter was specified in the request, and
ResolveAlias
was configured asfalse
, then this is the parameter value.
For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User Guide.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable imageId;
Swift
var imageId: String? { get set }
-
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Declaration
Objective-C
@property (nonatomic) AWSEC2ShutdownBehavior instanceInitiatedShutdownBehavior;
Swift
var instanceInitiatedShutdownBehavior: AWSEC2ShutdownBehavior { get set }
-
The market (purchasing) option for the instances.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2LaunchTemplateInstanceMarketOptions *_Nullable instanceMarketOptions;
Swift
var instanceMarketOptions: AWSEC2LaunchTemplateInstanceMarketOptions? { get set }
-
The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.
If you specify
InstanceRequirements
, you can’t specifyInstanceTypes
.Declaration
Objective-C
@property (nonatomic, strong) AWSEC2InstanceRequirements *_Nullable instanceRequirements;
Swift
var instanceRequirements: AWSEC2InstanceRequirements? { get set }
-
The instance type.
Declaration
Objective-C
@property (nonatomic) AWSEC2InstanceType instanceType;
Swift
var instanceType: AWSEC2InstanceType { get set }
-
The ID of the kernel, if applicable.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable kernelId;
Swift
var kernelId: String? { get set }
-
The name of the key pair.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable keyName;
Swift
var keyName: String? { get set }
-
The license configurations.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2LaunchTemplateLicenseConfiguration *> *_Nullable licenseSpecifications;
Swift
var licenseSpecifications: [AWSEC2LaunchTemplateLicenseConfiguration]? { get set }
-
The maintenance options for your instance.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2LaunchTemplateInstanceMaintenanceOptions *_Nullable maintenanceOptions;
Swift
var maintenanceOptions: AWSEC2LaunchTemplateInstanceMaintenanceOptions? { get set }
-
The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon EC2 User Guide.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2LaunchTemplateInstanceMetadataOptions *_Nullable metadataOptions;
Swift
var metadataOptions: AWSEC2LaunchTemplateInstanceMetadataOptions? { get set }
-
The monitoring for the instance.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2LaunchTemplatesMonitoring *_Nullable monitoring;
Swift
var monitoring: AWSEC2LaunchTemplatesMonitoring? { get set }
-
The network interfaces.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2LaunchTemplateInstanceNetworkInterfaceSpecification *> *_Nullable networkInterfaces;
Swift
var networkInterfaces: [AWSEC2LaunchTemplateInstanceNetworkInterfaceSpecification]? { get set }
-
The placement of the instance.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2LaunchTemplatePlacement *_Nullable placement;
Swift
var placement: AWSEC2LaunchTemplatePlacement? { get set }
-
The options for the instance hostname.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2LaunchTemplatePrivateDnsNameOptions *_Nullable privateDnsNameOptions;
Swift
var privateDnsNameOptions: AWSEC2LaunchTemplatePrivateDnsNameOptions? { get set }
-
The ID of the RAM disk, if applicable.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable ramDiskId;
Swift
var ramDiskId: String? { get set }
-
The security group IDs.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable securityGroupIds;
Swift
var securityGroupIds: [String]? { get set }
-
The security group names.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable securityGroups;
Swift
var securityGroups: [String]? { get set }
-
The tags that are applied to the resources that are created during instance launch.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2LaunchTemplateTagSpecification *> *_Nullable tagSpecifications;
Swift
var tagSpecifications: [AWSEC2LaunchTemplateTagSpecification]? { get set }
-
The user data for the instance.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable userData;
Swift
var userData: String? { get set }