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