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