AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Describes a NAT gateway.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class NatGateway
The NatGateway type exposes the following members
| Name | Description | |
|---|---|---|
|
NatGateway() |
| Name | Type | Description | |
|---|---|---|---|
|
AttachedAppliances | System.Collections.Generic.List<Amazon.EC2.Model.NatGatewayAttachedAppliance> |
Gets and sets the property AttachedAppliances. The proxy appliances attached to the NAT Gateway for filtering and inspecting traffic to prevent data exfiltration. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
|
AutoProvisionZones | Amazon.EC2.AutoProvisionZonesState |
Gets and sets the property AutoProvisionZones. For regional NAT gateways only: Indicates whether Amazon Web Services automatically manages AZ coverage. When enabled, the NAT gateway associates EIPs in all AZs where your VPC has subnets to handle outbound NAT traffic, expands to new AZs when you create subnets there, and retracts from AZs where you've removed all subnets. When disabled, you must manually manage which AZs the NAT gateway supports and their corresponding EIPs. A regional NAT gateway is a single NAT Gateway that works across multiple availability zones (AZs) in your VPC, providing redundancy, scalability and availability across all the AZs in a Region. For more information, see Regional NAT gateways for automatic multi-AZ expansion in the Amazon VPC User Guide. |
|
AutoScalingIps | Amazon.EC2.AutoScalingIpsState |
Gets and sets the property AutoScalingIps. For regional NAT gateways only: Indicates whether Amazon Web Services automatically allocates additional Elastic IP addresses (EIPs) in an AZ when the NAT gateway needs more ports due to increased concurrent connections to a single destination from that AZ. For more information, see Regional NAT gateways for automatic multi-AZ expansion in the Amazon VPC User Guide. |
|
AvailabilityMode | Amazon.EC2.AvailabilityMode |
Gets and sets the property AvailabilityMode. Indicates whether this is a zonal (single-AZ) or regional (multi-AZ) NAT gateway. A zonal NAT gateway is a NAT Gateway that provides redundancy and scalability within a single availability zone. A regional NAT gateway is a single NAT Gateway that works across multiple availability zones (AZs) in your VPC, providing redundancy, scalability and availability across all the AZs in a Region. For more information, see Regional NAT gateways for automatic multi-AZ expansion in the Amazon VPC User Guide. |
|
ConnectivityType | Amazon.EC2.ConnectivityType |
Gets and sets the property ConnectivityType. Indicates whether the NAT gateway supports public or private connectivity. |
|
CreateTime | System.Nullable<System.DateTime> |
Gets and sets the property CreateTime. The date and time the NAT gateway was created. |
|
DeleteTime | System.Nullable<System.DateTime> |
Gets and sets the property DeleteTime. The date and time the NAT gateway was deleted, if applicable. |
|
FailureCode | System.String |
Gets and sets the property FailureCode.
If the NAT gateway could not be created, specifies the error code for the failure.
( |
|
FailureMessage | System.String |
Gets and sets the property FailureMessage. If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.
|
|
NatGatewayAddresses | System.Collections.Generic.List<Amazon.EC2.Model.NatGatewayAddress> |
Gets and sets the property NatGatewayAddresses. Information about the IP addresses and network interface associated with the NAT gateway. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
|
NatGatewayId | System.String |
Gets and sets the property NatGatewayId. The ID of the NAT gateway. |
|
ProvisionedBandwidth | Amazon.EC2.Model.ProvisionedBandwidth |
Gets and sets the property ProvisionedBandwidth. Reserved. If you need to sustain traffic greater than the documented limits, contact Amazon Web Services Support. |
|
RouteTableId | System.String |
Gets and sets the property RouteTableId. For regional NAT gateways only, this is the ID of the NAT gateway. |
|
State | Amazon.EC2.NatGatewayState |
Gets and sets the property State. The state of the NAT gateway.
|
|
SubnetId | System.String |
Gets and sets the property SubnetId. The ID of the subnet in which the NAT gateway is located. |
|
Tags | System.Collections.Generic.List<Amazon.EC2.Model.Tag> |
Gets and sets the property Tags. The tags for the NAT gateway. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
|
VpcId | System.String |
Gets and sets the property VpcId. The ID of the VPC in which the NAT gateway is located. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer