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