AWS SDK Version 3 for .NET
API Reference

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 to include in an Amazon Elastic Compute Cloud (Amazon EC2) launch template.

Inheritance Hierarchy

System.Object
  Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataDetails

Namespace: Amazon.SecurityHub.Model
Assembly: AWSSDK.SecurityHub.dll
Version: 3.x.y.z

Syntax

C#
public class AwsEc2LaunchTemplateDataDetails

The AwsEc2LaunchTemplateDataDetails type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property BlockDeviceMappingSet System.Collections.Generic.List<Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails>

Gets and sets the property BlockDeviceMappingSet.

Information about a block device mapping for an Amazon EC2 launch template.

Public Property CapacityReservationSpecification Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails

Gets and sets the property CapacityReservationSpecification.

Specifies an instance's Capacity Reservation targeting option. You can specify only one option at a time.

Public Property CpuOptions Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataCpuOptionsDetails

Gets and sets the property CpuOptions.

Specifies the CPU options for an instance. For more information, see Optimize CPU options in the Amazon Elastic Compute Cloud User Guide.

Public Property CreditSpecification Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataCreditSpecificationDetails

Gets and sets the property CreditSpecification.

Specifies the credit option for CPU usage of a T2, T3, or T3a instance.

Public Property DisableApiStop System.Boolean

Gets and sets the property DisableApiStop.

Indicates whether to enable the instance for stop protection. For more information, see Enable stop protection in the Amazon EC2 User Guide.

Public Property DisableApiTermination System.Boolean

Gets and sets the property DisableApiTermination.

If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API. If set to true, you can.

Public Property EbsOptimized System.Boolean

Gets and sets the property EbsOptimized.

Indicates whether the instance is optimized for Amazon EBS I/O.

Public Property ElasticGpuSpecificationSet System.Collections.Generic.List<Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails>

Gets and sets the property ElasticGpuSpecificationSet.

Provides details about Elastic Graphics accelerators to associate with the instance.

Public Property ElasticInferenceAcceleratorSet System.Collections.Generic.List<Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails>

Gets and sets the property ElasticInferenceAcceleratorSet.

The Amazon Elastic Inference accelerator for the instance.

Public Property EnclaveOptions Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataEnclaveOptionsDetails

Gets and sets the property EnclaveOptions.

Indicates whether the Amazon EC2 instance is enabled for Amazon Web Services Nitro Enclaves.

Public Property HibernationOptions Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataHibernationOptionsDetails

Gets and sets the property HibernationOptions.

Specifies whether your Amazon EC2 instance is configured for hibernation.

Public Property IamInstanceProfile Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataIamInstanceProfileDetails

Gets and sets the property IamInstanceProfile.

The name or Amazon Resource Name (ARN) of an IAM instance profile.

Public Property ImageId System.String

Gets and sets the property ImageId.

The ID of the Amazon Machine Image (AMI).

Public Property InstanceInitiatedShutdownBehavior System.String

Gets and sets the property InstanceInitiatedShutdownBehavior.

Provides the options for specifying the instance initiated shutdown behavior.

Public Property InstanceMarketOptions Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails

Gets and sets the property InstanceMarketOptions.

Specifies the market (purchasing) option for an instance.

Public Property InstanceRequirements Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataInstanceRequirementsDetails

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 InstanceRequirements, you can't specify InstanceType.

Public Property InstanceType System.String

Gets and sets the property InstanceType.

The instance type. For more information, see Instance types in the Amazon EC2 User Guide. If you specify InstanceType, you can't specify InstanceRequirements.

Public Property KernelId System.String

Gets and sets the property KernelId.

The ID of the kernel.

Public Property KeyName System.String

Gets and sets the property KeyName.

The name of the key pair that allows users to connect to the instance.

Public Property LicenseSet System.Collections.Generic.List<Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataLicenseSetDetails>

Gets and sets the property LicenseSet.

Specifies a license configuration for an instance.

Public Property MaintenanceOptions Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataMaintenanceOptionsDetails

Gets and sets the property MaintenanceOptions.

The maintenance options of your instance.

Public Property MetadataOptions Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataMetadataOptionsDetails

Gets and sets the property MetadataOptions.

The metadata options for the instance. For more information, see Instance metadata and user data in the Amazon EC2 User Guide.

Public Property Monitoring Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataMonitoringDetails

Gets and sets the property Monitoring.

The monitoring for the instance.

Public Property NetworkInterfaceSet System.Collections.Generic.List<Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails>

Gets and sets the property NetworkInterfaceSet.

Specifies the parameters for a network interface that is attached to the instance.

Public Property Placement Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataPlacementDetails

Gets and sets the property Placement.

Specifies the placement of an instance.

Public Property PrivateDnsNameOptions Amazon.SecurityHub.Model.AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails

Gets and sets the property PrivateDnsNameOptions.

The options for the instance hostname.

Public Property RamDiskId System.String

Gets and sets the property RamDiskId.

The ID of the RAM disk.

Public Property SecurityGroupIdSet System.Collections.Generic.List<System.String>

Gets and sets the property SecurityGroupIdSet.

One or more security group IDs.

Public Property SecurityGroupSet System.Collections.Generic.List<System.String>

Gets and sets the property SecurityGroupSet.

One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

Public Property UserData System.String

Gets and sets the property UserData.

The user data to make available to the instance.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5