Subnet
public struct Subnet : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives an IPv6 address.
Declaration
Swift
public let assignIpv6AddressOnCreation: Bool? -
The Availability Zone of the subnet.
Declaration
Swift
public let availabilityZone: String? -
The AZ ID of the subnet.
Declaration
Swift
public let availabilityZoneId: String? -
The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any stopped instances are considered unavailable.
Declaration
Swift
public let availableIpAddressCount: Int? -
The IPv4 CIDR block assigned to the subnet.
Declaration
Swift
public let cidrBlock: String? -
The customer-owned IPv4 address pool associated with the subnet.
Declaration
Swift
public let customerOwnedIpv4Pool: String? -
Indicates whether this is the default subnet for the Availability Zone.
Declaration
Swift
public let defaultForAz: Bool? -
Information about the IPv6 CIDR blocks associated with the subnet.
Declaration
Swift
public let ipv6CidrBlockAssociationSet: [SubnetIpv6CidrBlockAssociation]? -
Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives a customer-owned IPv4 address.
Declaration
Swift
public let mapCustomerOwnedIpOnLaunch: Bool? -
Indicates whether instances launched in this subnet receive a public IPv4 address.
Declaration
Swift
public let mapPublicIpOnLaunch: Bool? -
The Amazon Resource Name (ARN) of the Outpost.
Declaration
Swift
public let outpostArn: String? -
The ID of the AWS account that owns the subnet.
Declaration
Swift
public let ownerId: String? -
The current state of the subnet.
Declaration
Swift
public let state: SubnetState? -
The Amazon Resource Name (ARN) of the subnet.
Declaration
Swift
public let subnetArn: String? -
The ID of the subnet.
Declaration
Swift
public let subnetId: String? -
Any tags assigned to the subnet.
Declaration
Swift
public let tags: [Tag]? -
The ID of the VPC the subnet is in.
Declaration
Swift
public let vpcId: String? -
init(assignIpv6AddressOnCreation:availabilityZone:availabilityZoneId:availableIpAddressCount:cidrBlock:customerOwnedIpv4Pool:defaultForAz:ipv6CidrBlockAssociationSet:mapCustomerOwnedIpOnLaunch:mapPublicIpOnLaunch:outpostArn:ownerId:state:subnetArn:subnetId:tags:vpcId:)Undocumented
Declaration
Swift
public init(assignIpv6AddressOnCreation: Bool? = nil, availabilityZone: String? = nil, availabilityZoneId: String? = nil, availableIpAddressCount: Int? = nil, cidrBlock: String? = nil, customerOwnedIpv4Pool: String? = nil, defaultForAz: Bool? = nil, ipv6CidrBlockAssociationSet: [SubnetIpv6CidrBlockAssociation]? = nil, mapCustomerOwnedIpOnLaunch: Bool? = nil, mapPublicIpOnLaunch: Bool? = nil, outpostArn: String? = nil, ownerId: String? = nil, state: SubnetState? = nil, subnetArn: String? = nil, subnetId: String? = nil, tags: [Tag]? = nil, vpcId: String? = nil)
View on GitHub
Subnet Structure Reference