Skip to content

PoliciesProps

Properties for defining a Policies.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ram-policies

Initializer

from ros_cdk_ram import datasource
datasource.PoliciesProps(
  group_name: typing.Union[str, IResolvable] = None,
  policy_name: typing.Union[str, IResolvable] = None,
  policy_type: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  role_name: typing.Union[str, IResolvable] = None,
  user_name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
group_name typing.Union[str, ros_cdk_core.IResolvable] Property groupName: The specific group to which policies attached.Only one of UserName, GroupName, and RoleName can be specified at most.
policy_name typing.Union[str, ros_cdk_core.IResolvable] Property policyName: Filter the results by a specific policy name.
policy_type typing.Union[str, ros_cdk_core.IResolvable] Property policyType: Filter the results by a specific policy type.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
role_name typing.Union[str, ros_cdk_core.IResolvable] Property roleName: The specific role to which policies attached.Only one of UserName, GroupName, and RoleName can be specified at most.
user_name typing.Union[str, ros_cdk_core.IResolvable] Property userName: The specific user to which policies attached.

group_nameOptional

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

Property groupName: The specific group to which policies attached.Only one of UserName, GroupName, and RoleName can be specified at most.


policy_nameOptional

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

Property policyName: Filter the results by a specific policy name.

Supports using * and ? to fuzzy match.


policy_typeOptional

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

Property policyType: Filter the results by a specific policy type.


refresh_optionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

role_nameOptional

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

Property roleName: The specific role to which policies attached.Only one of UserName, GroupName, and RoleName can be specified at most.


user_nameOptional

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

Property userName: The specific user to which policies attached.

Only one of UserName, GroupName, and RoleName can be specified at most.