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 access control list.
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: 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 access control list.


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: IP version.

Could be "ipv4" or "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.