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