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

Subnet

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

Describes a subnet.

interface Subnet {
AssignIpv6AddressOnCreation?: boolean | null;
AvailabilityZone?: string | null;
AvailabilityZoneId?: string | null;
AvailableIpAddressCount?: number | null;
CidrBlock?: string | null;
CustomerOwnedIpv4Pool?: string | null;
DefaultForAz?: boolean | null;
EnableDns64?: boolean | null;
EnableLniAtDeviceIndex?: number | null;
Ipv6CidrBlockAssociationSet: SubnetIpv6CidrBlockAssociation[];
Ipv6Native?: boolean | null;
MapCustomerOwnedIpOnLaunch?: boolean | null;
MapPublicIpOnLaunch?: boolean | null;
OutpostArn?: string | null;
OwnerId?: string | null;
PrivateDnsNameOptionsOnLaunch?: PrivateDnsNameOptionsOnLaunch | null;
State?: SubnetState | null;
SubnetArn?: string | null;
SubnetId?: string | null;
Tags: Tag[];
VpcId?: string | null;
}

§Properties

§
AssignIpv6AddressOnCreation?: boolean | null
[src]

Indicates whether a network interface created in this subnet (including a network interface created by "RunInstances") receives an IPv6 address.

§
AvailabilityZone?: string | null
[src]

The Availability Zone of the subnet.

§
AvailabilityZoneId?: string | null
[src]

The AZ ID of the subnet.

§
AvailableIpAddressCount?: number | null
[src]

The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any stopped instances are considered unavailable.

§
CidrBlock?: string | null
[src]

The IPv4 CIDR block assigned to the subnet.

§
CustomerOwnedIpv4Pool?: string | null
[src]

The customer-owned IPv4 address pool associated with the subnet.

§
DefaultForAz?: boolean | null
[src]

Indicates whether this is the default subnet for the Availability Zone.

§
EnableDns64?: boolean | null
[src]

Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.

§
EnableLniAtDeviceIndex?: number | null
[src]

Indicates the device position for local network interfaces in this subnet. For example, 1 indicates local network interfaces in this subnet are the secondary network interface (eth1).

§
Ipv6CidrBlockAssociationSet: SubnetIpv6CidrBlockAssociation[]
[src]

Information about the IPv6 CIDR blocks associated with the subnet.

§
Ipv6Native?: boolean | null
[src]

Indicates whether this is an IPv6 only subnet.

§
MapCustomerOwnedIpOnLaunch?: boolean | null
[src]

Indicates whether a network interface created in this subnet (including a network interface created by "RunInstances") receives a customer-owned IPv4 address.

§
MapPublicIpOnLaunch?: boolean | null
[src]

Indicates whether instances launched in this subnet receive a public IPv4 address.

§
OutpostArn?: string | null
[src]

The Amazon Resource Name (ARN) of the Outpost.

§
OwnerId?: string | null
[src]

The ID of the Amazon Web Services account that owns the subnet.

§
PrivateDnsNameOptionsOnLaunch?: PrivateDnsNameOptionsOnLaunch | null
[src]

The type of hostnames to assign to instances in the subnet at launch. An instance hostname is based on the IPv4 address or ID of the instance.

§
State?: SubnetState | null
[src]

The current state of the subnet.

§
SubnetArn?: string | null
[src]

The Amazon Resource Name (ARN) of the subnet.

§
SubnetId?: string | null
[src]

The ID of the subnet.

§
Tags: Tag[]
[src]

Any tags assigned to the subnet.

§
VpcId?: string | null
[src]

The ID of the VPC the subnet is in.