Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ResponseLaunchTemplateData

import type { ResponseLaunchTemplateData } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";

The information for a launch template.

interface ResponseLaunchTemplateData {
BlockDeviceMappings: LaunchTemplateBlockDeviceMapping[];
CapacityReservationSpecification?: LaunchTemplateCapacityReservationSpecificationResponse | null;
CpuOptions?: LaunchTemplateCpuOptions | null;
CreditSpecification?: CreditSpecification | null;
DisableApiTermination?: boolean | null;
EbsOptimized?: boolean | null;
ElasticGpuSpecifications: ElasticGpuSpecificationResponse[];
ElasticInferenceAccelerators: LaunchTemplateElasticInferenceAcceleratorResponse[];
EnclaveOptions?: LaunchTemplateEnclaveOptions | null;
HibernationOptions?: LaunchTemplateHibernationOptions | null;
ImageId?: string | null;
InstanceInitiatedShutdownBehavior?: ShutdownBehavior | null;
InstanceMarketOptions?: LaunchTemplateInstanceMarketOptions | null;
InstanceRequirements?: InstanceRequirements | null;
InstanceType?: InstanceType | null;
KernelId?: string | null;
KeyName?: string | null;
LicenseSpecifications: LaunchTemplateLicenseConfiguration[];
MetadataOptions?: LaunchTemplateInstanceMetadataOptions | null;
Monitoring?: LaunchTemplatesMonitoring | null;
Placement?: LaunchTemplatePlacement | null;
PrivateDnsNameOptions?: LaunchTemplatePrivateDnsNameOptions | null;
RamDiskId?: string | null;
SecurityGroupIds: string[];
SecurityGroups: string[];
TagSpecifications: LaunchTemplateTagSpecification[];
UserData?: string | null;
}

§Properties

§

The block device mappings.

§
CapacityReservationSpecification?: LaunchTemplateCapacityReservationSpecificationResponse | null
[src]

Information about the Capacity Reservation targeting option.

§
CpuOptions?: LaunchTemplateCpuOptions | null
[src]

The CPU options for the instance. For more information, see Optimizing CPU options in the Amazon Elastic Compute Cloud User Guide.

§
CreditSpecification?: CreditSpecification | null
[src]

The credit option for CPU usage of the instance.

§
DisableApiTermination?: boolean | null
[src]

If set to true, indicates that the instance cannot be terminated using the Amazon EC2 console, command line tool, or API.

§
EbsOptimized?: boolean | null
[src]

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

§
ElasticGpuSpecifications: ElasticGpuSpecificationResponse[]
[src]

The elastic GPU specification.

§

The elastic inference accelerator for the instance.

§
EnclaveOptions?: LaunchTemplateEnclaveOptions | null
[src]

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

§
HibernationOptions?: LaunchTemplateHibernationOptions | null
[src]

Indicates whether an instance is configured for hibernation. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

§

The IAM instance profile.

§
ImageId?: string | null
[src]

The ID of the AMI that was used to launch the instance.

§
InstanceInitiatedShutdownBehavior?: ShutdownBehavior | null
[src]

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

§
InstanceMarketOptions?: LaunchTemplateInstanceMarketOptions | null
[src]

The market (purchasing) option for the instances.

§
InstanceRequirements?: InstanceRequirements | null
[src]

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 InstanceTypes.

§
InstanceType?: InstanceType | null
[src]

The instance type.

§
KernelId?: string | null
[src]

The ID of the kernel, if applicable.

§
KeyName?: string | null
[src]

The name of the key pair.

§

The license configurations.

§

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

§
Monitoring?: LaunchTemplatesMonitoring | null
[src]

The monitoring for the instance.

§

The network interfaces.

§
Placement?: LaunchTemplatePlacement | null
[src]

The placement of the instance.

§
PrivateDnsNameOptions?: LaunchTemplatePrivateDnsNameOptions | null
[src]

The options for the instance hostname.

§
RamDiskId?: string | null
[src]

The ID of the RAM disk, if applicable.

§
SecurityGroupIds: string[]
[src]

The security group IDs.

§
SecurityGroups: string[]
[src]

The security group names.

§

The tags.

§
UserData?: string | null
[src]

The user data for the instance.