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