Skip to content

INatGateway

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc.datasource.NatGateway, github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc.datasource.INatGateway

Represents a NatGateway.

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node for this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
AttrAutoPay interface{} Attribute AutoPay: Indicates whether automatic payment is enabled.
AttrBusinessStatus interface{} Attribute BusinessStatus: The status of the NAT gateway.
AttrCreateTime interface{} Attribute CreateTime: The time when the NAT gateway was created.
AttrDeletionProtection interface{} Attribute DeletionProtection: Indicates whether the deletion protection feature is enabled.
AttrDescription interface{} Attribute Description: The description of the NAT gateway.
AttrEipBindMode interface{} Attribute EipBindMode: The mode in which the NAT gateway is associated with an elastic IP address (EIP).
AttrExpiredTime interface{} Attribute ExpiredTime: The time when the NAT gateway expires.
AttrForwardTableIds interface{} Attribute ForwardTableIds: The ID of the Destination Network Address Translation (DNAT) table.
AttrIcmpReplyEnabled interface{} Attribute IcmpReplyEnabled: Indicates whether the ICMP non-retrieval feature is enabled.
AttrInternetChargeType interface{} Attribute InternetChargeType: The metering method of the NAT gateway.
AttrIpLists interface{} Attribute IpLists: The list of elastic IP addresses (EIPs) that are associated with the Internet NAT gateway.
AttrNatGatewayId interface{} Attribute NatGatewayId: The ID of the NAT gateway.
AttrNatGatewayName interface{} Attribute NatGatewayName: The name of the NAT gateway.
AttrNatGatewayPrivateInfo interface{} Attribute NatGatewayPrivateInfo: The private network information about the enhanced Internet NAT gateway.
AttrNatType interface{} Attribute NatType: The type of the NAT gateway.
AttrNetworkType interface{} Attribute NetworkType: The type of NAT gateway.
AttrPaymentType interface{} Attribute PaymentType: The billing method of the NAT gateway.
AttrSecurityProtectionEnabled interface{} Attribute SecurityProtectionEnabled: Indicates whether the firewall feature is enabled.
AttrSnatTableIds interface{} Attribute SnatTableIds: The ID of the SNAT table of the NAT gateway.
AttrSpec interface{} Attribute Spec: The size of the NAT gateway.
AttrVpcId interface{} Attribute VpcId: The ID of the VPC where the NAT gateway is deployed.
Props NatGatewayProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node for this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


AttrAutoPayRequired

func AttrAutoPay() interface{}
  • Type: interface{}

Attribute AutoPay: Indicates whether automatic payment is enabled.

Valid values: false: no true: yes


AttrBusinessStatusRequired

func AttrBusinessStatus() interface{}
  • Type: interface{}

Attribute BusinessStatus: The status of the NAT gateway.

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


AttrCreateTimeRequired

func AttrCreateTime() interface{}
  • Type: interface{}

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

func AttrDeletionProtection() interface{}
  • Type: interface{}

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

Valid values: true: yes false: no


AttrDescriptionRequired

func AttrDescription() interface{}
  • Type: interface{}

Attribute Description: The description of the NAT gateway.


AttrEipBindModeRequired

func AttrEipBindMode() interface{}
  • Type: interface{}

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

func AttrExpiredTime() interface{}
  • Type: interface{}

Attribute ExpiredTime: The time when the NAT gateway expires.


AttrForwardTableIdsRequired

func AttrForwardTableIds() interface{}
  • Type: interface{}

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


AttrIcmpReplyEnabledRequired

func AttrIcmpReplyEnabled() interface{}
  • Type: interface{}

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

Valid values: true: yes false: no


AttrInternetChargeTypeRequired

func AttrInternetChargeType() interface{}
  • Type: interface{}

Attribute InternetChargeType: The metering method of the NAT gateway.

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


AttrIpListsRequired

func AttrIpLists() interface{}
  • Type: interface{}

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


AttrNatGatewayIdRequired

func AttrNatGatewayId() interface{}
  • Type: interface{}

Attribute NatGatewayId: The ID of the NAT gateway.


AttrNatGatewayNameRequired

func AttrNatGatewayName() interface{}
  • Type: interface{}

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

func AttrNatGatewayPrivateInfo() interface{}
  • Type: interface{}

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


AttrNatTypeRequired

func AttrNatType() interface{}
  • Type: interface{}

Attribute NatType: The type of the NAT gateway.

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


AttrNetworkTypeRequired

func AttrNetworkType() interface{}
  • Type: interface{}

Attribute NetworkType: The type of NAT gateway.

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


AttrPaymentTypeRequired

func AttrPaymentType() interface{}
  • Type: interface{}

Attribute PaymentType: The billing method of the NAT gateway.

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


AttrSecurityProtectionEnabledRequired

func AttrSecurityProtectionEnabled() interface{}
  • Type: interface{}

Attribute SecurityProtectionEnabled: Indicates whether the firewall feature is enabled.

Valid values: false: no true: yes


AttrSnatTableIdsRequired

func AttrSnatTableIds() interface{}
  • Type: interface{}

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


AttrSpecRequired

func AttrSpec() interface{}
  • Type: interface{}

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

func AttrVpcId() interface{}
  • Type: interface{}

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


PropsRequired

func Props() NatGatewayProps