PolicyAttachmentProps
Properties for defining a PolicyAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-policyattachment
Initializer
import { PolicyAttachmentProps } from '@alicloud/ros-cdk-resourcemanager'
const policyAttachmentProps: PolicyAttachmentProps = { ... }
Properties
Name | Type | Description |
---|---|---|
policyName |
string | @alicloud/ros-cdk-core.IResolvable |
Property policyName: The name of the policy. |
policyType |
string | @alicloud/ros-cdk-core.IResolvable |
Property policyType: The type of the policy. |
principalName |
string | @alicloud/ros-cdk-core.IResolvable |
Property principalName: The name of the object to which you want to attach the policy. |
principalType |
string | @alicloud/ros-cdk-core.IResolvable |
Property principalType: The type of the object to which you want to attach the policy. |
resourceGroupId |
string | @alicloud/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. |
policyName
Required
public readonly policyName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property policyName: The name of the policy.
policyType
Required
public readonly policyType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property policyType: The type of the policy.
principalName
Required
public readonly principalName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property principalName: The name of the object to which you want to attach the policy.
principalType
Required
public readonly principalType: string | IResolvable;
- Type: string | @alicloud/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
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/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.