AWSEC2Subnet

Objective-C

@interface AWSEC2Subnet

Swift

class AWSEC2Subnet

Describes a subnet.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable assignIpv6AddressOnCreation;

    Swift

    var assignIpv6AddressOnCreation: NSNumber? { get set }
  • The Availability Zone of the subnet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable availabilityZone;

    Swift

    var availabilityZone: String? { get set }
  • The AZ ID of the subnet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable availabilityZoneId;

    Swift

    var availabilityZoneId: String? { get set }
  • The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any stopped instances are considered unavailable.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable availableIpAddressCount;

    Swift

    var availableIpAddressCount: NSNumber? { get set }
  • The IPv4 CIDR block assigned to the subnet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable cidrBlock;

    Swift

    var cidrBlock: String? { get set }
  • The customer-owned IPv4 address pool associated with the subnet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable customerOwnedIpv4Pool;

    Swift

    var customerOwnedIpv4Pool: String? { get set }
  • Indicates whether this is the default subnet for the Availability Zone.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable defaultForAz;

    Swift

    var defaultForAz: NSNumber? { get set }
  • Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable enableDns64;

    Swift

    var enableDns64: NSNumber? { get set }
  • 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).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable enableLniAtDeviceIndex;

    Swift

    var enableLniAtDeviceIndex: NSNumber? { get set }
  • Information about the IPv6 CIDR blocks associated with the subnet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2SubnetIpv6CidrBlockAssociation *> *_Nullable ipv6CidrBlockAssociationSet;

    Swift

    var ipv6CidrBlockAssociationSet: [AWSEC2SubnetIpv6CidrBlockAssociation]? { get set }
  • Indicates whether this is an IPv6 only subnet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable ipv6Native;

    Swift

    var ipv6Native: NSNumber? { get set }
  • Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives a customer-owned IPv4 address.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable mapCustomerOwnedIpOnLaunch;

    Swift

    var mapCustomerOwnedIpOnLaunch: NSNumber? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable mapPublicIpOnLaunch;

    Swift

    var mapPublicIpOnLaunch: NSNumber? { get set }
  • The Amazon Resource Name (ARN) of the Outpost.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable outpostArn;

    Swift

    var outpostArn: String? { get set }
  • The ID of the Amazon Web Services account that owns the subnet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable ownerId;

    Swift

    var ownerId: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2PrivateDnsNameOptionsOnLaunch *_Nullable privateDnsNameOptionsOnLaunch;

    Swift

    var privateDnsNameOptionsOnLaunch: AWSEC2PrivateDnsNameOptionsOnLaunch? { get set }
  • The current state of the subnet.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2SubnetState state;

    Swift

    var state: AWSEC2SubnetState { get set }
  • The Amazon Resource Name (ARN) of the subnet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable subnetArn;

    Swift

    var subnetArn: String? { get set }
  • The ID of the subnet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable subnetId;

    Swift

    var subnetId: String? { get set }
  • Any tags assigned to the subnet.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Tag *> *_Nullable tags;

    Swift

    var tags: [AWSEC2Tag]? { get set }
  • The ID of the VPC the subnet is in.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable vpcId;

    Swift

    var vpcId: String? { get set }