Skip to content

AccessControlProps

Properties for defining a AccessControl.

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

Initializer

import com.aliyun.ros.cdk.slb.AccessControlProps;
AccessControlProps.builder()
    .aclName(java.lang.String)
    .aclName(IResolvable)
//  .aclEntries(IResolvable)
//  .aclEntries(java.util.List<IResolvable)
//  .aclEntries(AclEntriesProperty>)
//  .addressIpVersion(java.lang.String)
//  .addressIpVersion(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
aclName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property aclName: The name of the access control list.
aclEntries com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAclEntriesProperty> Property aclEntries: A list of acl entries.
addressIpVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property addressIpVersion: IP version.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Resource group id.
tags java.util.List<TagsProperty> Property tags: Tags to attach to instance.

aclNameRequired

public java.lang.Object getAclName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property aclName: The name of the access control list.


aclEntriesOptional

public java.lang.Object getAclEntries();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAclEntriesProperty>

Property aclEntries: A list of acl entries.

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


addressIpVersionOptional

public java.lang.Object getAddressIpVersion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property addressIpVersion: IP version.

Could be "ipv4" or "ipv6".


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: Resource group id.


tagsOptional

public java.util.List<TagsProperty> getTags();

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.