ResponseLaunchTemplateData
public struct ResponseLaunchTemplateData : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The block device mappings.
Declaration
Swift
public let blockDeviceMappings: [LaunchTemplateBlockDeviceMapping]?
-
Information about the Capacity Reservation targeting option.
Declaration
Swift
public let capacityReservationSpecification: LaunchTemplateCapacityReservationSpecificationResponse?
-
The CPU options for the instance. For more information, see Optimizing CPU Options in the Amazon Elastic Compute Cloud User Guide.
Declaration
Swift
public let cpuOptions: LaunchTemplateCpuOptions?
-
The credit option for CPU usage of the instance.
Declaration
Swift
public let creditSpecification: CreditSpecification?
-
If set to true, indicates that the instance cannot be terminated using the Amazon EC2 console, command line tool, or API.
Declaration
Swift
public let disableApiTermination: Bool?
-
Indicates whether the instance is optimized for Amazon EBS I/O.
Declaration
Swift
public let ebsOptimized: Bool?
-
The elastic GPU specification.
Declaration
Swift
public let elasticGpuSpecifications: [ElasticGpuSpecificationResponse]?
-
The elastic inference accelerator for the instance.
Declaration
Swift
public let elasticInferenceAccelerators: [LaunchTemplateElasticInferenceAcceleratorResponse]?
-
Indicates whether an instance is configured for hibernation. For more information, see Hibernate Your Instance in the Amazon Elastic Compute Cloud User Guide.
Declaration
Swift
public let hibernationOptions: LaunchTemplateHibernationOptions?
-
The IAM instance profile.
Declaration
Swift
public let iamInstanceProfile: LaunchTemplateIamInstanceProfileSpecification?
-
The ID of the AMI that was used to launch the instance.
Declaration
Swift
public let imageId: String?
-
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Declaration
Swift
public let instanceInitiatedShutdownBehavior: ShutdownBehavior?
-
The market (purchasing) option for the instances.
Declaration
Swift
public let instanceMarketOptions: LaunchTemplateInstanceMarketOptions?
-
The instance type.
Declaration
Swift
public let instanceType: InstanceType?
-
The ID of the kernel, if applicable.
Declaration
Swift
public let kernelId: String?
-
The name of the key pair.
Declaration
Swift
public let keyName: String?
-
The license configurations.
Declaration
Swift
public let licenseSpecifications: [LaunchTemplateLicenseConfiguration]?
-
The metadata options for the instance. For more information, see Instance Metadata and User Data in the Amazon Elastic Compute Cloud User Guide.
Declaration
Swift
public let metadataOptions: LaunchTemplateInstanceMetadataOptions?
-
The monitoring for the instance.
Declaration
Swift
public let monitoring: LaunchTemplatesMonitoring?
-
The network interfaces.
Declaration
Swift
public let networkInterfaces: [LaunchTemplateInstanceNetworkInterfaceSpecification]?
-
The placement of the instance.
Declaration
Swift
public let placement: LaunchTemplatePlacement?
-
The ID of the RAM disk, if applicable.
Declaration
Swift
public let ramDiskId: String?
-
The security group IDs.
Declaration
Swift
public let securityGroupIds: [String]?
-
The security group names.
Declaration
Swift
public let securityGroups: [String]?
-
The tags.
Declaration
Swift
public let tagSpecifications: [LaunchTemplateTagSpecification]?
-
The user data for the instance.
Declaration
Swift
public let userData: String?
-
init(blockDeviceMappings:capacityReservationSpecification:cpuOptions:creditSpecification:disableApiTermination:ebsOptimized:elasticGpuSpecifications:elasticInferenceAccelerators:hibernationOptions:iamInstanceProfile:imageId:instanceInitiatedShutdownBehavior:instanceMarketOptions:instanceType:kernelId:keyName:licenseSpecifications:metadataOptions:monitoring:networkInterfaces:placement:ramDiskId:securityGroupIds:securityGroups:tagSpecifications:userData:)
Undocumented
Declaration
Swift
public init(blockDeviceMappings: [LaunchTemplateBlockDeviceMapping]? = nil, capacityReservationSpecification: LaunchTemplateCapacityReservationSpecificationResponse? = nil, cpuOptions: LaunchTemplateCpuOptions? = nil, creditSpecification: CreditSpecification? = nil, disableApiTermination: Bool? = nil, ebsOptimized: Bool? = nil, elasticGpuSpecifications: [ElasticGpuSpecificationResponse]? = nil, elasticInferenceAccelerators: [LaunchTemplateElasticInferenceAcceleratorResponse]? = nil, hibernationOptions: LaunchTemplateHibernationOptions? = nil, iamInstanceProfile: LaunchTemplateIamInstanceProfileSpecification? = nil, imageId: String? = nil, instanceInitiatedShutdownBehavior: ShutdownBehavior? = nil, instanceMarketOptions: LaunchTemplateInstanceMarketOptions? = nil, instanceType: InstanceType? = nil, kernelId: String? = nil, keyName: String? = nil, licenseSpecifications: [LaunchTemplateLicenseConfiguration]? = nil, metadataOptions: LaunchTemplateInstanceMetadataOptions? = nil, monitoring: LaunchTemplatesMonitoring? = nil, networkInterfaces: [LaunchTemplateInstanceNetworkInterfaceSpecification]? = nil, placement: LaunchTemplatePlacement? = nil, ramDiskId: String? = nil, securityGroupIds: [String]? = nil, securityGroups: [String]? = nil, tagSpecifications: [LaunchTemplateTagSpecification]? = nil, userData: String? = nil)