Skip to content

AccessControlProps

Properties for defining a AccessControl.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-slb-accesscontrol

Initializer

import ros_cdk_slb
ros_cdk_slb.AccessControlProps(
  acl_name: typing.Union[str, IResolvable],
  acl_entries: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AclEntriesProperty]]] = None,
  address_ip_version: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
acl_name typing.Union[str, ros_cdk_core.IResolvable] Property aclName: The name of the ACL.
acl_entries typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, AclEntriesProperty]]] Property aclEntries: A list of acl entries.
address_ip_version typing.Union[str, ros_cdk_core.IResolvable] Property addressIpVersion: The IP version.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: Resource group id.
tags typing.List[TagsProperty] Property tags: Tags to attach to instance.

acl_nameRequired

acl_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property aclName: The name of the ACL.

The name must be 1 to 80 characters in length, and can contain letters, digits, periods (.), hyphens (-), forward slashes (/), and underscores (_). The name of the ACL that you create must be unique within each region.


acl_entriesOptional

acl_entries: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AclEntriesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, AclEntriesProperty]]]

Property aclEntries: A list of acl entries.

Each entry can be IP addresses or CIDR blocks. Max length: 300.


address_ip_versionOptional

address_ip_version: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property addressIpVersion: The IP version.

Valid values: ipv4 and ipv6.


resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: Resource group id.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.