Get Policy Attachments Plain Args
A collection of arguments for invoking getPolicyAttachments.
Constructors
Properties
File name where to save data source results (after running pulumi preview
).
The name of the policy. The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
The type of the policy. Valid values: Custom
and System
.
The name of the object to which the policy is attached.
The type of the object to which the policy is attached. If you do not specify this parameter, the system lists all types of objects. Valid values: IMSUser
: RAM user, IMSGroup
: RAM user group, ServiceRole
: RAM role.
The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. If you do not specify this parameter, the system lists all policy attachment records under the current account.