Skip to content

AttachPolicyToUserProps

Properties for defining a AttachPolicyToUser.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-attachpolicytouser

Initializer

import ros_cdk_ram
ros_cdk_ram.AttachPolicyToUserProps(
  policy_name: typing.Union[str, IResolvable],
  policy_type: typing.Union[str, IResolvable],
  user_name: typing.Union[str, IResolvable]
)

Properties

Name Type Description
policy_name typing.Union[str, ros_cdk_core.IResolvable] Property policyName: Authorization policy name.
policy_type typing.Union[str, ros_cdk_core.IResolvable] Property policyType: Authorization policy type.
user_name typing.Union[str, ros_cdk_core.IResolvable] Property userName: User name.Example: dev.

policy_nameRequired

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

Property policyName: Authorization policy name.


policy_typeRequired

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

Property policyType: Authorization policy type.

Value: "System" or "Custom".


user_nameRequired

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

Property userName: User name.Example: dev.