Module Values_2.SubnetSource

Describes a subnet.

Sourcetype nonrec t = {
  1. availabilityZoneId : Values_0.String_.t option;
    (*

    The AZ ID of the subnet.

    *)
  2. enableLniAtDeviceIndex : Values_0.Integer.t option;
    (*

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

    *)
  3. mapCustomerOwnedIpOnLaunch : Values_0.Boolean.t option;
    (*

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

    *)
  4. customerOwnedIpv4Pool : Values_1.CoipPoolId.t option;
    (*

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

    *)
  5. ownerId : Values_0.String_.t option;
    (*

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

    *)
  6. assignIpv6AddressOnCreation : Values_0.Boolean.t option;
    (*

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

    *)
  7. ipv6CidrBlockAssociationSet : Values_1.SubnetIpv6CidrBlockAssociationSet.t option;
    (*

    Information about the IPv6 CIDR blocks associated with the subnet.

    *)
  8. tags : Values_0.TagList.t option;
    (*

    Any tags assigned to the subnet.

    *)
  9. subnetArn : Values_0.String_.t option;
    (*

    The Amazon Resource Name (ARN) of the subnet.

    *)
  10. outpostArn : Values_0.String_.t option;
    (*

    The Amazon Resource Name (ARN) of the Outpost.

    *)
  11. enableDns64 : Values_0.Boolean.t option;
    (*

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

    *)
  12. ipv6Native : Values_0.Boolean.t option;
    (*

    Indicates whether this is an IPv6 only subnet.

    *)
  13. privateDnsNameOptionsOnLaunch : Values_1.PrivateDnsNameOptionsOnLaunch.t option;
    (*

    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.

    *)
  14. blockPublicAccessStates : Values_1.BlockPublicAccessStates.t option;
    (*

    The state of VPC Block Public Access (BPA).

    *)
  15. type_ : Values_0.String_.t option;
    (*

    Indicates if this is a subnet used with Amazon Elastic VMware Service (EVS). Possible values are Elastic VMware Service or no value. For more information about Amazon EVS, see Amazon Elastic VMware Service API Reference .

    *)
  16. subnetId : Values_0.String_.t option;
    (*

    The ID of the subnet.

    *)
  17. state : Values_1.SubnetState.t option;
    (*

    The current state of the subnet. failed: The underlying infrastructure to support the subnet failed to provision as expected. failed-insufficient-capacity: The underlying infrastructure to support the subnet failed to provision due to a shortage of EC2 instance capacity.

    *)
  18. vpcId : Values_0.String_.t option;
    (*

    The ID of the VPC the subnet is in.

    *)
  19. cidrBlock : Values_0.String_.t option;
    (*

    The IPv4 CIDR block assigned to the subnet.

    *)
  20. availableIpAddressCount : Values_0.Integer.t option;
    (*

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

    *)
  21. availabilityZone : Values_0.String_.t option;
    (*

    The Availability Zone of the subnet.

    *)
  22. defaultForAz : Values_0.Boolean.t option;
    (*

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

    *)
  23. mapPublicIpOnLaunch : Values_0.Boolean.t option;
    (*

    Indicates whether instances launched in this subnet receive a public IPv4 address. Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

    *)
}
Sourceval make : ?availabilityZoneId:??? -> ?enableLniAtDeviceIndex:??? -> ?mapCustomerOwnedIpOnLaunch:??? -> ?customerOwnedIpv4Pool:??? -> ?ownerId:??? -> ?assignIpv6AddressOnCreation:??? -> ?ipv6CidrBlockAssociationSet:??? -> ?tags:??? -> ?subnetArn:??? -> ?outpostArn:??? -> ?enableDns64:??? -> ?ipv6Native:??? -> ?privateDnsNameOptionsOnLaunch:??? -> ?blockPublicAccessStates:??? -> ?type_:??? -> ?subnetId:??? -> ?state:??? -> ?vpcId:??? -> ?cidrBlock:??? -> ?availableIpAddressCount:??? -> ?availabilityZone:??? -> ?defaultForAz:??? -> ?mapPublicIpOnLaunch:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `Enum of string | `String of string ]) list ]) list ] list | `String of Values_0.String_.t | `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t