Skip to content

PermissionsProps

Properties for defining a Permissions.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-datalakeformation-permissions

Initializer

import ros_cdk_datalakeformation
ros_cdk_datalakeformation.PermissionsProps(
  catalog_id: typing.Union[str, IResolvable],
  permissions: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, PermissionsProperty]]],
  refresh_user_sync: typing.Union[bool, IResolvable] = None
)

Properties

Name Type Description
catalog_id typing.Union[str, ros_cdk_core.IResolvable] Property catalogId: The catalog id.
permissions typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, PermissionsProperty]]] Property permissions: The permissions list.
refresh_user_sync typing.Union[bool, ros_cdk_core.IResolvable] Property refreshUserSync: Specifies whether to refresh user synchronization before creating permissions.

catalog_idRequired

catalog_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property catalogId: The catalog id.


permissionsRequired

permissions: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, PermissionsProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, PermissionsProperty]]]

Property permissions: The permissions list.


refresh_user_syncOptional

refresh_user_sync: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property refreshUserSync: Specifies whether to refresh user synchronization before creating permissions.

Newly created RAM users may not be immediately synchronized, requiring a refresh to ensure they are available. Set to true to enable user synchronization refresh, which may cause a 30-second wait. Set to false to skip the refresh and avoid the 30-second wait. Default value: false.