VpcsProps
Properties for defining a Vpcs
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-vpcs
Initializer
from ros_cdk_vpc import datasource
datasource.VpcsProps(
dhcp_options_set_id: typing.Union[str, IResolvable] = None,
is_default: typing.Union[bool, IResolvable] = None,
refresh_options: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
vpc_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
vpc_name: typing.Union[str, IResolvable] = None,
vpc_owner_id: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
dhcp_options_set_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dhcpOptionsSetId: The ID of the DHCP options set. |
is_default |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property isDefault: Specifies whether to query the default VPC in the specified region. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs. |
vpc_ids |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property vpcIds: The list of The VPC IDs. |
vpc_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property vpcName: The name of the VPC. |
vpc_owner_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property vpcOwnerId: The ID of the Alibaba Cloud account to which the VPC belongs. |
dhcp_options_set_id
Optional
dhcp_options_set_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dhcpOptionsSetId: The ID of the DHCP options set.
is_default
Optional
is_default: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, 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.
refresh_options
Optional
refresh_options: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: The ID of the resource group to which the VPC to be queried belongs.
vpc_ids
Optional
vpc_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property vpcIds: The list of The VPC IDs.
You can specify up to 20 VPC IDs.
vpc_name
Optional
vpc_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vpcName: The name of the VPC.
vpc_owner_id
Optional
vpc_owner_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vpcOwnerId: The ID of the Alibaba Cloud account to which the VPC belongs.