AccessRuleProps
Properties for defining a AccessRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-accessrule
Initializer
import ros_cdk_nas
ros_cdk_nas.AccessRuleProps(
access_group_name: typing.Union[str, IResolvable],
file_system_type: typing.Union[str, IResolvable] = None,
ipv6_source_cidr_ip: typing.Union[str, IResolvable] = None,
priority: typing.Union[typing.Union[int, float], IResolvable] = None,
rw_access_type: typing.Union[str, IResolvable] = None,
source_cidr_ip: typing.Union[str, IResolvable] = None,
user_access_type: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
access_group_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property accessGroupName: Permission group name. |
file_system_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property fileSystemType: The type of file system. |
ipv6_source_cidr_ip |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ipv6SourceCidrIp: Source IPv6 CIDR address segment. |
priority |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property priority: Priority level. |
rw_access_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY. |
source_cidr_ip |
typing.Union[str, ros_cdk_core.IResolvable] |
Property sourceCidrIp: Address or address segment. |
user_access_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash. |
access_group_name
Required
access_group_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accessGroupName: Permission group name.
file_system_type
Optional
file_system_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property fileSystemType: The type of file system.
Values: standard: the general NAS extreme: the extreme NAS
ipv6_source_cidr_ip
Optional
ipv6_source_cidr_ip: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ipv6SourceCidrIp: Source IPv6 CIDR address segment.
IP addresses in CIDR format and IPv6 format are supported. Currently, only the ultra-fast NAS in mainland China supports the IPv6 function, and the file system needs to enable the IPv6 function. Only VPC private network is supported. IPv4 and IPv6 are mutually exclusive, and the types cannot be converted.
priority
Optional
priority: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property priority: Priority level.
Range: 1-100. Default value: 1
rw_access_type
Optional
rw_access_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property rwAccessType: Read-write permission type: RDWR (default), RDONLY.
source_cidr_ip
Optional
source_cidr_ip: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sourceCidrIp: Address or address segment.
user_access_type
Optional
user_access_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property userAccessType: User permission type: no_squash (default), root_squash, all_squash.