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