AWSEC2NatGateway Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSEC2Model.h
AWSEC2Model.m

Overview

Describes a NAT gateway.

  createTime

The date and time the NAT gateway was created.

@property (nonatomic, strong) NSDate *createTime

Declared In

AWSEC2Model.h

  deleteTime

The date and time the NAT gateway was deleted, if applicable.

@property (nonatomic, strong) NSDate *deleteTime

Declared In

AWSEC2Model.h

  failureCode

If the NAT gateway could not be created, specifies the error code for the failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound)

@property (nonatomic, strong) NSString *failureCode

Declared In

AWSEC2Model.h

  failureMessage

If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.

  • For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway"

  • For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached"

  • For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway"

  • For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated"

  • For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again."

  • For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found."

@property (nonatomic, strong) NSString *failureMessage

Declared In

AWSEC2Model.h

  natGatewayAddresses

Information about the IP addresses and network interface associated with the NAT gateway.

@property (nonatomic, strong) NSArray<AWSEC2NatGatewayAddress*> *natGatewayAddresses

Declared In

AWSEC2Model.h

  natGatewayId

The ID of the NAT gateway.

@property (nonatomic, strong) NSString *natGatewayId

Declared In

AWSEC2Model.h

  state

The state of the NAT gateway.

@property (nonatomic, assign) AWSEC2NatGatewayState state

Declared In

AWSEC2Model.h

  subnetId

The ID of the subnet in which the NAT gateway is located.

@property (nonatomic, strong) NSString *subnetId

Declared In

AWSEC2Model.h

  vpcId

The ID of the VPC in which the NAT gateway is located.

@property (nonatomic, strong) NSString *vpcId

Declared In

AWSEC2Model.h