get static method
UserPolicyAttachment
get(
- String name,
- Input<
String> id, { - UserPolicyAttachmentState? state,
- CustomResourceOptions? options,
Gets an existing UserPolicyAttachment resource's state with the given name and id.
Implementation
static UserPolicyAttachment get(
String name,
pulumi.Input<String> id, {
UserPolicyAttachmentState? state,
pulumi.CustomResourceOptions? options,
}) {
return UserPolicyAttachment._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}