Module Types.Subnet

type t = {
availability_zone : Aws.BaseTypes.String.t;
availability_zone_id : Aws.BaseTypes.String.t option;
available_ip_address_count : Aws.BaseTypes.Integer.t;
cidr_block : Aws.BaseTypes.String.t;
default_for_az : Aws.BaseTypes.Boolean.t;
map_public_ip_on_launch : Aws.BaseTypes.Boolean.t;
map_customer_owned_ip_on_launch : Aws.BaseTypes.Boolean.t option;
customer_owned_ipv4_pool : Aws.BaseTypes.String.t option;
state : SubnetState.t;
subnet_id : Aws.BaseTypes.String.t;
vpc_id : Aws.BaseTypes.String.t;
owner_id : Aws.BaseTypes.String.t option;
assign_ipv6_address_on_creation : Aws.BaseTypes.Boolean.t option;
ipv6_cidr_block_association_set : SubnetIpv6CidrBlockAssociationSet.t;
tags : TagList.t;
subnet_arn : Aws.BaseTypes.String.t option;
outpost_arn : Aws.BaseTypes.String.t option;
}
val make : availability_zone:Aws.BaseTypes.String.t -> ?⁠availability_zone_id:Aws.BaseTypes.String.t -> available_ip_address_count:Aws.BaseTypes.Integer.t -> cidr_block:Aws.BaseTypes.String.t -> default_for_az:Aws.BaseTypes.Boolean.t -> map_public_ip_on_launch:Aws.BaseTypes.Boolean.t -> ?⁠map_customer_owned_ip_on_launch:Aws.BaseTypes.Boolean.t -> ?⁠customer_owned_ipv4_pool:Aws.BaseTypes.String.t -> state:SubnetState.t -> subnet_id:Aws.BaseTypes.String.t -> vpc_id:Aws.BaseTypes.String.t -> ?⁠owner_id:Aws.BaseTypes.String.t -> ?⁠assign_ipv6_address_on_creation:Aws.BaseTypes.Boolean.t -> ?⁠ipv6_cidr_block_association_set:SubnetIpv6CidrBlockAssociationSet.t -> ?⁠tags:TagList.t -> ?⁠subnet_arn:Aws.BaseTypes.String.t -> ?⁠outpost_arn:Aws.BaseTypes.String.t -> unit -> t
val parse : Ezxmlm.nodes -> t option
val to_query : t -> Aws.Query.t
val to_json : t -> [> `Assoc of (string * Aws.Json.t) list ]
val of_json : Aws.Json.t -> t