Skip to content

AccessControlProps

Properties for defining a AccessControl.

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

Initializer

import { AccessControlProps } from '@alicloud/ros-cdk-slb'
const accessControlProps: AccessControlProps = { ... }

Properties

Name Type Description
aclName string | @alicloud/ros-cdk-core.IResolvable Property aclName: The name of the access control list.
aclEntries @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AclEntriesProperty[] Property aclEntries: A list of acl entries.
addressIpVersion string | @alicloud/ros-cdk-core.IResolvable Property addressIpVersion: IP version.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: Resource group id.
tags TagsProperty[] Property tags: Tags to attach to instance.

aclNameRequired

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

Property aclName: The name of the access control list.


aclEntriesOptional

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

Property aclEntries: A list of acl entries.

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


addressIpVersionOptional

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

Property addressIpVersion: IP version.

Could be "ipv4" or "ipv6".


resourceGroupIdOptional

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

Property resourceGroupId: Resource group id.


tagsOptional

public readonly tags: 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.