NAME
Paws::EC2::NatGateway
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::EC2::NatGateway object:
$service_obj->Method(Att1 => { ConnectivityType => $value, ..., VpcId => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::NatGateway object:
$result = $service_obj->Method(...);
$result->Att1->ConnectivityType
DESCRIPTION
This class has no description
ATTRIBUTES
ConnectivityType => Str
Indicates whether the NAT gateway supports public or private connectivity.
CreateTime => Str
The date and time the NAT gateway was created.
DeleteTime => Str
The date and time the NAT gateway was deleted, if applicable.
FailureCode => Str
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
)
FailureMessage => Str
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."
NatGatewayAddresses => ArrayRef[Paws::EC2::NatGatewayAddress]
Information about the IP addresses and network interface associated with the NAT gateway.
NatGatewayId => Str
The ID of the NAT gateway.
ProvisionedBandwidth => Paws::EC2::ProvisionedBandwidth
Reserved. If you need to sustain traffic greater than the documented limits (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html), contact us through the Support Center (https://console.aws.amazon.com/support/home?).
State => Str
The state of the NAT gateway.
pending
: The NAT gateway is being created and is not ready to process traffic.failed
: The NAT gateway could not be created. Check thefailureCode
andfailureMessage
fields for the reason.available
: The NAT gateway is able to process traffic. This status remains until you delete the NAT gateway, and does not indicate the health of the NAT gateway.deleting
: The NAT gateway is in the process of being terminated and may still be processing traffic.deleted
: The NAT gateway has been terminated and is no longer processing traffic.
SubnetId => Str
The ID of the subnet in which the NAT gateway is located.
Tags => ArrayRef[Paws::EC2::Tag]
The tags for the NAT gateway.
VpcId => Str
The ID of the VPC in which the NAT gateway is located.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::EC2
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues