Skip to content

NatGatewaysProps

Properties for defining a NatGateways.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natgateways

Initializer

import { datasource } from '@alicloud/ros-cdk-vpc'
const natGatewaysProps: datasource.NatGatewaysProps = { ... }

Properties

Name Type Description
instanceChargeType string | @alicloud/ros-cdk-core.IResolvable Property instanceChargeType: The billing method of the NAT gateway.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the NAT gateway.
natGatewayId string | @alicloud/ros-cdk-core.IResolvable Property natGatewayId: The ID of the NAT gateway.
natType string | @alicloud/ros-cdk-core.IResolvable Property natType: The type of NAT gateway.
networkType string | @alicloud/ros-cdk-core.IResolvable Property networkType: The type of the NAT gateway.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group to which the NAT gateway belongs.
status string | @alicloud/ros-cdk-core.IResolvable Property status: The status of the NAT gateway.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: The ID of the VPC to which the NAT gateway belongs.
zoneId string | @alicloud/ros-cdk-core.IResolvable Property zoneId: The ID of the zone to which the NAT gateway belongs.

instanceChargeTypeOptional

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

Property instanceChargeType: The billing method of the NAT gateway.

Set the value to PostPaid, which specifies the pay-as-you-go billing method.


nameOptional

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

Property name: The name of the NAT gateway.


natGatewayIdOptional

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

Property natGatewayId: The ID of the NAT gateway.


natTypeOptional

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

Property natType: The type of NAT gateway.

Set the value to Enhanced (enhanced NAT gateway).


networkTypeOptional

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

Property networkType: The type of the NAT gateway.

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


refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.


resourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group to which the NAT gateway belongs.


statusOptional

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

Property status: The status of the NAT gateway.

Valid values: Creating: After you send a request to create a NAT gateway, the system creates the NAT gateway in the background. The NAT gateway remains in the Creating state until the operation is completed. Available: The NAT gateway remains in a stable state after the NAT gateway is created. Modifying: After you send a request to modify a NAT gateway, the system modifies the NAT gateway in the background. The NAT gateway remains in the Modifying state until the operation is completed. Deleting: After you send a request to delete a NAT gateway, the system deletes the NAT gateway in the background. The NAT gateway remains in the Deleting state until the operation is completed. Converting: After you send a request to upgrade a standard NAT gateway to an enhanced NAT gateway, the system upgrades the NAT gateway in the background. The NAT gateway remains in the Converting state until the operation is completed.


vpcIdOptional

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

Property vpcId: The ID of the VPC to which the NAT gateway belongs.


zoneIdOptional

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

Property zoneId: The ID of the zone to which the NAT gateway belongs.