AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The information for a launch template.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class ResponseLaunchTemplateData
The ResponseLaunchTemplateData type exposes the following members
Name | Description | |
---|---|---|
![]() |
ResponseLaunchTemplateData() |
Name | Type | Description | |
---|---|---|---|
![]() |
BlockDeviceMappings | System.Collections.Generic.List<Amazon.EC2.Model.LaunchTemplateBlockDeviceMapping> |
Gets and sets the property BlockDeviceMappings. The block device mappings. |
![]() |
CapacityReservationSpecification | Amazon.EC2.Model.LaunchTemplateCapacityReservationSpecificationResponse |
Gets and sets the property CapacityReservationSpecification. Information about the Capacity Reservation targeting option. |
![]() |
CpuOptions | Amazon.EC2.Model.LaunchTemplateCpuOptions |
Gets and sets the property CpuOptions. The CPU options for the instance. For more information, see Optimizing CPU options in the Amazon Elastic Compute Cloud User Guide. |
![]() |
CreditSpecification | Amazon.EC2.Model.CreditSpecification |
Gets and sets the property CreditSpecification. The credit option for CPU usage of the instance. |
![]() |
DisableApiStop | System.Boolean |
Gets and sets the property DisableApiStop. Indicates whether the instance is enabled for stop protection. For more information, see Stop protection in the Amazon Elastic Compute Cloud User Guide. |
![]() |
DisableApiTermination | System.Boolean |
Gets and sets the property DisableApiTermination.
If set to |
![]() |
EbsOptimized | System.Boolean |
Gets and sets the property EbsOptimized. Indicates whether the instance is optimized for Amazon EBS I/O. |
![]() |
ElasticGpuSpecifications | System.Collections.Generic.List<Amazon.EC2.Model.ElasticGpuSpecificationResponse> |
Gets and sets the property ElasticGpuSpecifications. The elastic GPU specification. |
![]() |
ElasticInferenceAccelerators | System.Collections.Generic.List<Amazon.EC2.Model.LaunchTemplateElasticInferenceAcceleratorResponse> |
Gets and sets the property ElasticInferenceAccelerators. The elastic inference accelerator for the instance. |
![]() |
EnclaveOptions | Amazon.EC2.Model.LaunchTemplateEnclaveOptions |
Gets and sets the property EnclaveOptions. Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. |
![]() |
HibernationOptions | Amazon.EC2.Model.LaunchTemplateHibernationOptions |
Gets and sets the property HibernationOptions. Indicates whether an instance is configured for hibernation. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide. |
![]() |
IamInstanceProfile | Amazon.EC2.Model.LaunchTemplateIamInstanceProfileSpecification |
Gets and sets the property IamInstanceProfile. The IAM instance profile. |
![]() |
ImageId | System.String |
Gets and sets the property ImageId. 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:
For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide. |
![]() |
InstanceInitiatedShutdownBehavior | Amazon.EC2.ShutdownBehavior |
Gets and sets the property InstanceInitiatedShutdownBehavior. Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). |
![]() |
InstanceMarketOptions | Amazon.EC2.Model.LaunchTemplateInstanceMarketOptions |
Gets and sets the property InstanceMarketOptions. The market (purchasing) option for the instances. |
![]() |
InstanceRequirements | Amazon.EC2.Model.InstanceRequirements |
Gets and sets the property InstanceRequirements. The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.
If you specify |
![]() |
InstanceType | Amazon.EC2.InstanceType |
Gets and sets the property InstanceType. The instance type. |
![]() |
KernelId | System.String |
Gets and sets the property KernelId. The ID of the kernel, if applicable. |
![]() |
KeyName | System.String |
Gets and sets the property KeyName. The name of the key pair. |
![]() |
LicenseSpecifications | System.Collections.Generic.List<Amazon.EC2.Model.LaunchTemplateLicenseConfiguration> |
Gets and sets the property LicenseSpecifications. The license configurations. |
![]() |
MaintenanceOptions | Amazon.EC2.Model.LaunchTemplateInstanceMaintenanceOptions |
Gets and sets the property MaintenanceOptions. The maintenance options for your instance. |
![]() |
MetadataOptions | Amazon.EC2.Model.LaunchTemplateInstanceMetadataOptions |
Gets and sets the property MetadataOptions. The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon Elastic Compute Cloud User Guide. |
![]() |
Monitoring | Amazon.EC2.Model.LaunchTemplatesMonitoring |
Gets and sets the property Monitoring. The monitoring for the instance. |
![]() |
NetworkInterfaces | System.Collections.Generic.List<Amazon.EC2.Model.LaunchTemplateInstanceNetworkInterfaceSpecification> |
Gets and sets the property NetworkInterfaces. The network interfaces. |
![]() |
Placement | Amazon.EC2.Model.LaunchTemplatePlacement |
Gets and sets the property Placement. The placement of the instance. |
![]() |
PrivateDnsNameOptions | Amazon.EC2.Model.LaunchTemplatePrivateDnsNameOptions |
Gets and sets the property PrivateDnsNameOptions. The options for the instance hostname. |
![]() |
RamDiskId | System.String |
Gets and sets the property RamDiskId. The ID of the RAM disk, if applicable. |
![]() |
SecurityGroupIds | System.Collections.Generic.List<System.String> |
Gets and sets the property SecurityGroupIds. The security group IDs. |
![]() |
SecurityGroups | System.Collections.Generic.List<System.String> |
Gets and sets the property SecurityGroups. The security group names. |
![]() |
TagSpecifications | System.Collections.Generic.List<Amazon.EC2.Model.LaunchTemplateTagSpecification> |
Gets and sets the property TagSpecifications. The tags that are applied to the resources that are created during instance launch. |
![]() |
UserData | System.String |
Gets and sets the property UserData. The user data for the instance. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5