| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.Subnet
Description
Synopsis
- data Subnet = Subnet' {
- assignIpv6AddressOnCreation :: Maybe Bool
- availabilityZoneId :: Maybe Text
- customerOwnedIpv4Pool :: Maybe Text
- defaultForAz :: Maybe Bool
- enableDns64 :: Maybe Bool
- enableLniAtDeviceIndex :: Maybe Int
- ipv6CidrBlockAssociationSet :: Maybe [SubnetIpv6CidrBlockAssociation]
- ipv6Native :: Maybe Bool
- mapCustomerOwnedIpOnLaunch :: Maybe Bool
- mapPublicIpOnLaunch :: Maybe Bool
- outpostArn :: Maybe Text
- ownerId :: Maybe Text
- privateDnsNameOptionsOnLaunch :: Maybe PrivateDnsNameOptionsOnLaunch
- subnetArn :: Maybe Text
- tags :: Maybe [Tag]
- availabilityZone :: Text
- availableIpAddressCount :: Int
- cidrBlock :: Text
- state :: SubnetState
- subnetId :: Text
- vpcId :: Text
- newSubnet :: Text -> Int -> Text -> SubnetState -> Text -> Text -> Subnet
- subnet_assignIpv6AddressOnCreation :: Lens' Subnet (Maybe Bool)
- subnet_availabilityZoneId :: Lens' Subnet (Maybe Text)
- subnet_customerOwnedIpv4Pool :: Lens' Subnet (Maybe Text)
- subnet_defaultForAz :: Lens' Subnet (Maybe Bool)
- subnet_enableDns64 :: Lens' Subnet (Maybe Bool)
- subnet_enableLniAtDeviceIndex :: Lens' Subnet (Maybe Int)
- subnet_ipv6CidrBlockAssociationSet :: Lens' Subnet (Maybe [SubnetIpv6CidrBlockAssociation])
- subnet_ipv6Native :: Lens' Subnet (Maybe Bool)
- subnet_mapCustomerOwnedIpOnLaunch :: Lens' Subnet (Maybe Bool)
- subnet_mapPublicIpOnLaunch :: Lens' Subnet (Maybe Bool)
- subnet_outpostArn :: Lens' Subnet (Maybe Text)
- subnet_ownerId :: Lens' Subnet (Maybe Text)
- subnet_privateDnsNameOptionsOnLaunch :: Lens' Subnet (Maybe PrivateDnsNameOptionsOnLaunch)
- subnet_subnetArn :: Lens' Subnet (Maybe Text)
- subnet_tags :: Lens' Subnet (Maybe [Tag])
- subnet_availabilityZone :: Lens' Subnet Text
- subnet_availableIpAddressCount :: Lens' Subnet Int
- subnet_cidrBlock :: Lens' Subnet Text
- subnet_state :: Lens' Subnet SubnetState
- subnet_subnetId :: Lens' Subnet Text
- subnet_vpcId :: Lens' Subnet Text
Documentation
Describes a subnet.
See: newSubnet smart constructor.
Constructors
| Subnet' | |
Fields
| |
Instances
Create a value of Subnet with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:assignIpv6AddressOnCreation:Subnet', subnet_assignIpv6AddressOnCreation - Indicates whether a network interface created in this subnet (including
a network interface created by RunInstances) receives an IPv6 address.
$sel:availabilityZoneId:Subnet', subnet_availabilityZoneId - The AZ ID of the subnet.
$sel:customerOwnedIpv4Pool:Subnet', subnet_customerOwnedIpv4Pool - The customer-owned IPv4 address pool associated with the subnet.
$sel:defaultForAz:Subnet', subnet_defaultForAz - Indicates whether this is the default subnet for the Availability Zone.
$sel:enableDns64:Subnet', subnet_enableDns64 - Indicates whether DNS queries made to the Amazon-provided DNS Resolver
in this subnet should return synthetic IPv6 addresses for IPv4-only
destinations.
$sel:enableLniAtDeviceIndex:Subnet', subnet_enableLniAtDeviceIndex - 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).
$sel:ipv6CidrBlockAssociationSet:Subnet', subnet_ipv6CidrBlockAssociationSet - Information about the IPv6 CIDR blocks associated with the subnet.
$sel:ipv6Native:Subnet', subnet_ipv6Native - Indicates whether this is an IPv6 only subnet.
$sel:mapCustomerOwnedIpOnLaunch:Subnet', subnet_mapCustomerOwnedIpOnLaunch - Indicates whether a network interface created in this subnet (including
a network interface created by RunInstances) receives a customer-owned
IPv4 address.
$sel:mapPublicIpOnLaunch:Subnet', subnet_mapPublicIpOnLaunch - Indicates whether instances launched in this subnet receive a public
IPv4 address.
$sel:outpostArn:Subnet', subnet_outpostArn - The Amazon Resource Name (ARN) of the Outpost.
$sel:ownerId:Subnet', subnet_ownerId - The ID of the Amazon Web Services account that owns the subnet.
$sel:privateDnsNameOptionsOnLaunch:Subnet', subnet_privateDnsNameOptionsOnLaunch - 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.
$sel:subnetArn:Subnet', subnet_subnetArn - The Amazon Resource Name (ARN) of the subnet.
$sel:tags:Subnet', subnet_tags - Any tags assigned to the subnet.
$sel:availabilityZone:Subnet', subnet_availabilityZone - The Availability Zone of the subnet.
$sel:availableIpAddressCount:Subnet', subnet_availableIpAddressCount - The number of unused private IPv4 addresses in the subnet. The IPv4
addresses for any stopped instances are considered unavailable.
$sel:cidrBlock:Subnet', subnet_cidrBlock - The IPv4 CIDR block assigned to the subnet.
$sel:state:Subnet', subnet_state - The current state of the subnet.
$sel:subnetId:Subnet', subnet_subnetId - The ID of the subnet.
$sel:vpcId:Subnet', subnet_vpcId - The ID of the VPC the subnet is in.
subnet_assignIpv6AddressOnCreation :: Lens' Subnet (Maybe Bool) Source #
Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives an IPv6 address.
subnet_customerOwnedIpv4Pool :: Lens' Subnet (Maybe Text) Source #
The customer-owned IPv4 address pool associated with the subnet.
subnet_defaultForAz :: Lens' Subnet (Maybe Bool) Source #
Indicates whether this is the default subnet for the Availability Zone.
subnet_enableDns64 :: Lens' Subnet (Maybe Bool) Source #
Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.
subnet_enableLniAtDeviceIndex :: Lens' Subnet (Maybe Int) Source #
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).
subnet_ipv6CidrBlockAssociationSet :: Lens' Subnet (Maybe [SubnetIpv6CidrBlockAssociation]) Source #
Information about the IPv6 CIDR blocks associated with the subnet.
subnet_ipv6Native :: Lens' Subnet (Maybe Bool) Source #
Indicates whether this is an IPv6 only subnet.
subnet_mapCustomerOwnedIpOnLaunch :: Lens' Subnet (Maybe Bool) Source #
Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives a customer-owned IPv4 address.
subnet_mapPublicIpOnLaunch :: Lens' Subnet (Maybe Bool) Source #
Indicates whether instances launched in this subnet receive a public IPv4 address.
subnet_outpostArn :: Lens' Subnet (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Outpost.
subnet_ownerId :: Lens' Subnet (Maybe Text) Source #
The ID of the Amazon Web Services account that owns the subnet.
subnet_privateDnsNameOptionsOnLaunch :: Lens' Subnet (Maybe PrivateDnsNameOptionsOnLaunch) Source #
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.
subnet_availableIpAddressCount :: Lens' Subnet Int Source #
The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any stopped instances are considered unavailable.
subnet_state :: Lens' Subnet SubnetState Source #
The current state of the subnet.