Subnet

class Subnet

Describes a subnet.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

The Availability Zone of the subnet.

Link copied to clipboard

The AZ ID of the subnet.

Link copied to clipboard

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

Link copied to clipboard

The IPv4 CIDR block assigned to the subnet.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Information about the IPv6 CIDR blocks associated with the subnet.

Link copied to clipboard

Indicates whether this is an IPv6 only subnet.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The Amazon Resource Name (ARN) of the Outpost.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

The current state of the subnet.

Link copied to clipboard

The Amazon Resource Name (ARN) of the subnet.

Link copied to clipboard

The ID of the subnet.

Link copied to clipboard
val tags: List<Tag>?

Any tags assigned to the subnet.

Link copied to clipboard

The ID of the VPC the subnet is in.

Functions

Link copied to clipboard
inline fun copy(block: Subnet.Builder.() -> Unit = {}): Subnet
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String