Skip to content

VpcsProps

Properties for defining a Vpcs.

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

Initializer

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

Properties

Name Type Description
dhcpOptionsSetId string | @alicloud/ros-cdk-core.IResolvable Property dhcpOptionsSetId: The ID of the DHCP options set.
isDefault boolean | @alicloud/ros-cdk-core.IResolvable Property isDefault: Specifies whether to query the default VPC in the specified region.
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 VPC to be queried belongs.
vpcIds @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property vpcIds: The list of The VPC IDs.
vpcName string | @alicloud/ros-cdk-core.IResolvable Property vpcName: The name of the VPC.
vpcOwnerId string | @alicloud/ros-cdk-core.IResolvable Property vpcOwnerId: The ID of the Alibaba Cloud account to which the VPC belongs.

dhcpOptionsSetIdOptional

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

Property dhcpOptionsSetId: The ID of the DHCP options set.


isDefaultOptional

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

Property isDefault: Specifies whether to query the default VPC in the specified region.

Valid values: true(default): queries all VPCs in the specified region. false: does not query the default VPC.


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 VPC to be queried belongs.


vpcIdsOptional

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

Property vpcIds: The list of The VPC IDs.

You can specify up to 20 VPC IDs.


vpcNameOptional

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

Property vpcName: The name of the VPC.


vpcOwnerIdOptional

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

Property vpcOwnerId: The ID of the Alibaba Cloud account to which the VPC belongs.