Skip to content

INatGateway

  • Extends: @alicloud/ros-cdk-core.IResource

  • Implemented By: @alicloud/ros-cdk-vpc.datasource.NatGateway, @alicloud/ros-cdk-vpc.datasource.INatGateway

Represents a NatGateway.

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node for this construct.
env @alicloud/ros-cdk-core.IResourceEnvironment The environment this resource belongs to.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
attrAutoPay string | @alicloud/ros-cdk-core.IResolvable Attribute AutoPay: Indicates whether automatic payment is enabled.
attrBusinessStatus string | @alicloud/ros-cdk-core.IResolvable Attribute BusinessStatus: The status of the NAT gateway.
attrCreateTime string | @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: The time when the NAT gateway was created.
attrDeletionProtection string | @alicloud/ros-cdk-core.IResolvable Attribute DeletionProtection: Indicates whether the deletion protection feature is enabled.
attrDescription string | @alicloud/ros-cdk-core.IResolvable Attribute Description: The description of the NAT gateway.
attrEipBindMode string | @alicloud/ros-cdk-core.IResolvable Attribute EipBindMode: The mode in which the NAT gateway is associated with an elastic IP address (EIP).
attrExpiredTime string | @alicloud/ros-cdk-core.IResolvable Attribute ExpiredTime: The time when the NAT gateway expires.
attrForwardTableIds string | @alicloud/ros-cdk-core.IResolvable Attribute ForwardTableIds: The ID of the Destination Network Address Translation (DNAT) table.
attrIcmpReplyEnabled string | @alicloud/ros-cdk-core.IResolvable Attribute IcmpReplyEnabled: Indicates whether the ICMP non-retrieval feature is enabled.
attrInternetChargeType string | @alicloud/ros-cdk-core.IResolvable Attribute InternetChargeType: The metering method of the NAT gateway.
attrIpLists string | @alicloud/ros-cdk-core.IResolvable Attribute IpLists: The list of elastic IP addresses (EIPs) that are associated with the Internet NAT gateway.
attrNatGatewayId string | @alicloud/ros-cdk-core.IResolvable Attribute NatGatewayId: The ID of the NAT gateway.
attrNatGatewayName string | @alicloud/ros-cdk-core.IResolvable Attribute NatGatewayName: The name of the NAT gateway.
attrNatGatewayPrivateInfo string | @alicloud/ros-cdk-core.IResolvable Attribute NatGatewayPrivateInfo: The private network information about the enhanced Internet NAT gateway.
attrNatType string | @alicloud/ros-cdk-core.IResolvable Attribute NatType: The type of the NAT gateway.
attrNetworkType string | @alicloud/ros-cdk-core.IResolvable Attribute NetworkType: The type of NAT gateway.
attrPaymentType string | @alicloud/ros-cdk-core.IResolvable Attribute PaymentType: The billing method of the NAT gateway.
attrSecurityProtectionEnabled string | @alicloud/ros-cdk-core.IResolvable Attribute SecurityProtectionEnabled: Indicates whether the firewall feature is enabled.
attrSnatTableIds string | @alicloud/ros-cdk-core.IResolvable Attribute SnatTableIds: The ID of the SNAT table of the NAT gateway.
attrSpec string | @alicloud/ros-cdk-core.IResolvable Attribute Spec: The size of the NAT gateway.
attrVpcId string | @alicloud/ros-cdk-core.IResolvable Attribute VpcId: The ID of the VPC where the NAT gateway is deployed.
props NatGatewayProps No description.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node for this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/ros-cdk-core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


attrAutoPayRequired

public readonly attrAutoPay: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute AutoPay: Indicates whether automatic payment is enabled.

Valid values: false: no true: yes


attrBusinessStatusRequired

public readonly attrBusinessStatus: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute BusinessStatus: The status of the NAT gateway.

Valid values: Normal: normal FinancialLocked: locked due to overdue payments


attrCreateTimeRequired

public readonly attrCreateTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute CreateTime: The time when the NAT gateway was created.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.


attrDeletionProtectionRequired

public readonly attrDeletionProtection: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute DeletionProtection: Indicates whether the deletion protection feature is enabled.

Valid values: true: yes false: no


attrDescriptionRequired

public readonly attrDescription: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Description: The description of the NAT gateway.


attrEipBindModeRequired

public readonly attrEipBindMode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute EipBindMode: The mode in which the NAT gateway is associated with an elastic IP address (EIP).

Valid values: MULTI_BINDED: multi-EIP-to-ENI mode* NAT: NAT mode, which is compatible with IPv4 addresses.


attrExpiredTimeRequired

public readonly attrExpiredTime: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ExpiredTime: The time when the NAT gateway expires.


attrForwardTableIdsRequired

public readonly attrForwardTableIds: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ForwardTableIds: The ID of the Destination Network Address Translation (DNAT) table.


attrIcmpReplyEnabledRequired

public readonly attrIcmpReplyEnabled: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute IcmpReplyEnabled: Indicates whether the ICMP non-retrieval feature is enabled.

Valid values: true: yes false: no


attrInternetChargeTypeRequired

public readonly attrInternetChargeType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute InternetChargeType: The metering method of the NAT gateway.

Valid values: PayBySpec: pay-by-specification PayByLcu: pay-by-CU


attrIpListsRequired

public readonly attrIpLists: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute IpLists: The list of elastic IP addresses (EIPs) that are associated with the Internet NAT gateway.


attrNatGatewayIdRequired

public readonly attrNatGatewayId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute NatGatewayId: The ID of the NAT gateway.


attrNatGatewayNameRequired

public readonly attrNatGatewayName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute NatGatewayName: The name of the NAT gateway.

The name must be 1 to 128 characters in length, and cannot start with http:// or https://. If this parameter is not set, the system automatically assigns a name to the NAT gateway.


attrNatGatewayPrivateInfoRequired

public readonly attrNatGatewayPrivateInfo: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute NatGatewayPrivateInfo: The private network information about the enhanced Internet NAT gateway.


attrNatTypeRequired

public readonly attrNatType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute NatType: The type of the NAT gateway.

The value is set to Enhanced (enhanced NAT gateway).


attrNetworkTypeRequired

public readonly attrNetworkType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute NetworkType: The type of NAT gateway.

Valid values: internet: an Internet NAT gateway intranet: a VPC NAT gateway


attrPaymentTypeRequired

public readonly attrPaymentType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute PaymentType: The billing method of the NAT gateway.

Valid values: PrePaid: subscription PostPaid: pay-as-you-go.


attrSecurityProtectionEnabledRequired

public readonly attrSecurityProtectionEnabled: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute SecurityProtectionEnabled: Indicates whether the firewall feature is enabled.

Valid values: false: no true: yes


attrSnatTableIdsRequired

public readonly attrSnatTableIds: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute SnatTableIds: The ID of the SNAT table of the NAT gateway.


attrSpecRequired

public readonly attrSpec: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Spec: The size of the NAT gateway.

An empty value is returned for the parameter. If InternetChargeType is set to PayByLcu, an empty value is returned.


attrVpcIdRequired

public readonly attrVpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute VpcId: The ID of the VPC where the NAT gateway is deployed.


propsRequired

public readonly props: NatGatewayProps;