Skip to content

AccessRuleProps

Properties for defining a AccessRule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dfs-accessrule

Initializer

import { AccessRuleProps } from '@alicloud/ros-cdk-dfs'
const accessRuleProps: AccessRuleProps = { ... }

Properties

Name Type Description
accessGroupId string | @alicloud/ros-cdk-core.IResolvable Property accessGroupId: The resource ID of Access Group.
networkSegment string | @alicloud/ros-cdk-core.IResolvable Property networkSegment: The NetworkSegment of the Access Rule.
rwAccessType string | @alicloud/ros-cdk-core.IResolvable Property rwAccessType: The read\/write permission of the authorized object on the file system.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The Description of the Access Rule.
priority number | @alicloud/ros-cdk-core.IResolvable Property priority: The Priority of the Access Rule.

accessGroupIdRequired

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

Property accessGroupId: The resource ID of Access Group.


networkSegmentRequired

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

Property networkSegment: The NetworkSegment of the Access Rule.


rwAccessTypeRequired

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

Property rwAccessType: The read\/write permission of the authorized object on the file system.

Values: RDWR (default) : read and write. RDONLY: read-only


descriptionOptional

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

Property description: The Description of the Access Rule.


priorityOptional

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

Property priority: The Priority of the Access Rule.

Valid values: 1 to 100. NOTE: When multiple rules are matched by the same authorized object, the high-priority rule takes effect. 1 is the highest priority.