Policy Attachment Args
data class PolicyAttachmentArgs(val policyName: Output<String>? = null, val policyType: Output<String>? = null, val principalName: Output<String>? = null, val principalType: Output<String>? = null, val resourceGroupId: Output<String>? = null) : ConvertibleToJava<PolicyAttachmentArgs>
Provides a Resource Manager Policy Attachment resource to attaches a policy to an object. After you attach a policy to an object, the object has the operation permissions on the current resource group or the resources under the current account. For information about Resource Manager Policy Attachment and how to use it, see How to authorize and manage resource groups.
NOTE: Available since v1.93.0.
Import
Resource Manager Policy Attachment can be imported using the id, e.g.
$ pulumi import alicloud:resourcemanager/policyAttachment:PolicyAttachment example tf-testaccrdpolicy:Custom:tf-testaccrdpolicy@11827252********.onaliyun.com:IMSUser:rg******
Content copied to clipboard