Skip to content

NatGatewayProps

Properties for defining a NatGateway.

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

Initializer

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

Properties

Name Type Description
natGatewayId string | @alicloud/ros-cdk-core.IResolvable Property natGatewayId: The ID 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.

natGatewayIdRequired

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

Property natGatewayId: The ID of the 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.