AccessRuleProps
Properties for defining a AccessRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dfs-accessrule
Initializer
import ros_cdk_dfs
ros_cdk_dfs.AccessRuleProps(
access_group_id: typing.Union[str, IResolvable],
network_segment: typing.Union[str, IResolvable],
rw_access_type: typing.Union[str, IResolvable],
description: typing.Union[str, IResolvable] = None,
priority: typing.Union[typing.Union[int, float], IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
access_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property accessGroupId: The resource ID of Access Group. |
network_segment |
typing.Union[str, ros_cdk_core.IResolvable] |
Property networkSegment: The NetworkSegment of the Access Rule. |
rw_access_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property rwAccessType: The read\/write permission of the authorized object on the file system. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: The Description of the Access Rule. |
priority |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property priority: The Priority of the Access Rule. |
access_group_id
Required
access_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accessGroupId: The resource ID of Access Group.
network_segment
Required
network_segment: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property networkSegment: The NetworkSegment of the Access Rule.
rw_access_type
Required
rw_access_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: The Description of the Access Rule.
priority
Optional
priority: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.