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