NetworkAclsProps
Properties for defining a NetworkAcls
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-networkacls
Initializer
from ros_cdk_vpc import datasource
datasource.NetworkAclsProps(
network_acl_id: typing.Union[str, IResolvable] = None,
network_acl_name: typing.Union[str, IResolvable] = None,
refresh_options: typing.Union[str, IResolvable] = None,
resource_id: typing.Union[str, IResolvable] = None,
resource_type: typing.Union[str, IResolvable] = None,
vpc_id: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
network_acl_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property networkAclId: The ID of the network ACL. |
network_acl_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property networkAclName: The name of the network ACL. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
resource_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceId: The ID of the associated instance.This parameter is valid only if ResourceType and ResourceId are both set. |
resource_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceType: The type of the associated instance. |
vpc_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property vpcId: The ID of the virtual private cloud (VPC) to which the network ACL belongs. |
network_acl_id
Optional
network_acl_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property networkAclId: The ID of the network ACL.
network_acl_name
Optional
network_acl_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property networkAclName: The name of the network ACL.
The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter but cannot start with http:// or https://.
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_id
Optional
resource_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceId: The ID of the associated instance.This parameter is valid only if ResourceType and ResourceId are both set.
resource_type
Optional
resource_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceType: The type of the associated instance.
Set the value to VSwitch. This parameter is valid only if ResourceType and ResourceId are both set.
vpc_id
Optional
vpc_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vpcId: The ID of the virtual private cloud (VPC) to which the network ACL belongs.