PolicyAttachmentProps
Properties for defining a PolicyAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-policyattachment
Initializer
import ros_cdk_resourcemanager
ros_cdk_resourcemanager.PolicyAttachmentProps(
policy_name: typing.Union[str, IResolvable],
policy_type: typing.Union[str, IResolvable],
principal_name: typing.Union[str, IResolvable],
principal_type: typing.Union[str, IResolvable],
resource_group_id: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
policy_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property policyName: The name of the policy. |
policy_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property policyType: The type of the policy. |
principal_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property principalName: The name of the object to which you want to attach the policy. |
principal_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property principalType: The type of the object to which you want to attach the policy. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. |
policy_name
Required
policy_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property policyName: The name of the policy.
policy_type
Required
policy_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property policyType: The type of the policy.
principal_name
Required
principal_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property principalName: The name of the object to which you want to attach the policy.
principal_type
Required
principal_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property principalType: The type of the object to which you want to attach the policy.
Valid values: IMSUser: RAM user, IMSGroup: RAM user group, ServiceRole: RAM role
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs.