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

Instance

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

Describes an instance.

interface Instance {
AmiLaunchIndex?: number | null;
Architecture?: ArchitectureValues | null;
BlockDeviceMappings: InstanceBlockDeviceMapping[];
BootMode?: BootModeValues | null;
CapacityReservationId?: string | null;
CapacityReservationSpecification?: CapacityReservationSpecificationResponse | null;
ClientToken?: string | null;
CpuOptions?: CpuOptions | null;
EbsOptimized?: boolean | null;
ElasticGpuAssociations: ElasticGpuAssociation[];
ElasticInferenceAcceleratorAssociations: ElasticInferenceAcceleratorAssociation[];
EnaSupport?: boolean | null;
EnclaveOptions?: EnclaveOptions | null;
HibernationOptions?: HibernationOptions | null;
Hypervisor?: HypervisorType | null;
IamInstanceProfile?: IamInstanceProfile | null;
ImageId?: string | null;
InstanceId?: string | null;
InstanceLifecycle?: InstanceLifecycleType | null;
InstanceType?: InstanceType | null;
Ipv6Address?: string | null;
KernelId?: string | null;
KeyName?: string | null;
LaunchTime?: Date | number | null;
MetadataOptions?: InstanceMetadataOptionsResponse | null;
Monitoring?: Monitoring | null;
NetworkInterfaces: InstanceNetworkInterface[];
OutpostArn?: string | null;
Placement?: Placement | null;
Platform?: PlatformValues | null;
PlatformDetails?: string | null;
PrivateDnsName?: string | null;
PrivateDnsNameOptions?: PrivateDnsNameOptionsResponse | null;
PrivateIpAddress?: string | null;
ProductCodes: ProductCode[];
PublicDnsName?: string | null;
PublicIpAddress?: string | null;
RamdiskId?: string | null;
RootDeviceName?: string | null;
RootDeviceType?: DeviceType | null;
SecurityGroups: GroupIdentifier[];
SourceDestCheck?: boolean | null;
SpotInstanceRequestId?: string | null;
SriovNetSupport?: string | null;
State?: InstanceState | null;
StateReason?: StateReason | null;
StateTransitionReason?: string | null;
SubnetId?: string | null;
Tags: Tag[];
UsageOperation?: string | null;
UsageOperationUpdateTime?: Date | number | null;
VirtualizationType?: VirtualizationType | null;
VpcId?: string | null;
}

§Properties

§
AmiLaunchIndex?: number | null
[src]

The AMI launch index, which can be used to find this instance in the launch group.

§
Architecture?: ArchitectureValues | null
[src]

The architecture of the image.

§
BlockDeviceMappings: InstanceBlockDeviceMapping[]
[src]

Any block device mapping entries for the instance.

§
BootMode?: BootModeValues | null
[src]

The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide.

§
CapacityReservationId?: string | null
[src]

The ID of the Capacity Reservation.

§
CapacityReservationSpecification?: CapacityReservationSpecificationResponse | null
[src]

Information about the Capacity Reservation targeting option.

§
ClientToken?: string | null
[src]

The idempotency token you provided when you launched the instance, if applicable.

§
CpuOptions?: CpuOptions | null
[src]

The CPU options for the instance.

§
EbsOptimized?: boolean | null
[src]

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

§
ElasticGpuAssociations: ElasticGpuAssociation[]
[src]

The Elastic GPU associated with the instance.

§
ElasticInferenceAcceleratorAssociations: ElasticInferenceAcceleratorAssociation[]
[src]

The elastic inference accelerator associated with the instance.

§
EnaSupport?: boolean | null
[src]

Specifies whether enhanced networking with ENA is enabled.

§
EnclaveOptions?: EnclaveOptions | null
[src]

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

§
HibernationOptions?: HibernationOptions | null
[src]

Indicates whether the instance is enabled for hibernation.

§
Hypervisor?: HypervisorType | null
[src]

The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.

§
IamInstanceProfile?: IamInstanceProfile | null
[src]

The IAM instance profile associated with the instance, if applicable.

§
ImageId?: string | null
[src]

The ID of the AMI used to launch the instance.

§
InstanceId?: string | null
[src]

The ID of the instance.

§
InstanceLifecycle?: InstanceLifecycleType | null
[src]

Indicates whether this is a Spot Instance or a Scheduled Instance.

§
InstanceType?: InstanceType | null
[src]

The instance type.

§
Ipv6Address?: string | null
[src]

The IPv6 address assigned to the instance.

§
KernelId?: string | null
[src]

The kernel associated with this instance, if applicable.

§
KeyName?: string | null
[src]

The name of the key pair, if this instance was launched with an associated key pair.

§
LaunchTime?: Date | number | null
[src]

The time the instance was launched.

§

The license configurations for the instance.

§
MetadataOptions?: InstanceMetadataOptionsResponse | null
[src]

The metadata options for the instance.

§
Monitoring?: Monitoring | null
[src]

The monitoring for the instance.

§
NetworkInterfaces: InstanceNetworkInterface[]
[src]

[EC2-VPC] The network interfaces for the instance.

§
OutpostArn?: string | null
[src]

The Amazon Resource Name (ARN) of the Outpost.

§
Placement?: Placement | null
[src]

The location where the instance launched, if applicable.

§
Platform?: PlatformValues | null
[src]

The value is Windows for Windows instances; otherwise blank.

§
PlatformDetails?: string | null
[src]

The platform details value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.

§
PrivateDnsName?: string | null
[src]

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

§
PrivateDnsNameOptions?: PrivateDnsNameOptionsResponse | null
[src]

The options for the instance hostname.

§
PrivateIpAddress?: string | null
[src]

The private IPv4 address assigned to the instance.

§
ProductCodes: ProductCode[]
[src]

The product codes attached to this instance, if applicable.

§
PublicDnsName?: string | null
[src]

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

§
PublicIpAddress?: string | null
[src]

The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.

A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

§
RamdiskId?: string | null
[src]

The RAM disk associated with this instance, if applicable.

§
RootDeviceName?: string | null
[src]

The device name of the root device volume (for example, /dev/sda1).

§
RootDeviceType?: DeviceType | null
[src]

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

§
SecurityGroups: GroupIdentifier[]
[src]

The security groups for the instance.

§
SourceDestCheck?: boolean | null
[src]

Indicates whether source/destination checking is enabled.

§
SpotInstanceRequestId?: string | null
[src]

If the request is a Spot Instance request, the ID of the request.

§
SriovNetSupport?: string | null
[src]

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

§
State?: InstanceState | null
[src]

The current state of the instance.

§
StateReason?: StateReason | null
[src]

The reason for the most recent state transition.

§
StateTransitionReason?: string | null
[src]

The reason for the most recent state transition. This might be an empty string.

§
SubnetId?: string | null
[src]

[EC2-VPC] The ID of the subnet in which the instance is running.

§
Tags: Tag[]
[src]

Any tags assigned to the instance.

§
UsageOperation?: string | null
[src]

The usage operation value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide.

§
UsageOperationUpdateTime?: Date | number | null
[src]

The time that the usage operation was last updated.

§
VirtualizationType?: VirtualizationType | null
[src]

The virtualization type of the instance.

§
VpcId?: string | null
[src]

[EC2-VPC] The ID of the VPC in which the instance is running.