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