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 }
  • 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 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.

    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 AWS account that owns the subnet.

    Declaration

    Objective-C

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

    Swift

    var ownerId: String? { 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 }