import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new EventSubscription in a given project,location and connection. */ export declare class EventSubscription extends pulumi.CustomResource { /** * Get an existing EventSubscription resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): EventSubscription; /** * Returns true if the given object is an instance of EventSubscription. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EventSubscription; readonly connectionId: pulumi.Output; /** * Created time. */ readonly createTime: pulumi.Output; /** * Optional. The destination to hit when we receive an event */ readonly destinations: pulumi.Output; /** * Required. Identifier to assign to the Event Subscription. Must be unique within scope of the parent resource. */ readonly eventSubscriptionId: pulumi.Output; /** * Optional. Event type id of the event of current EventSubscription. */ readonly eventTypeId: pulumi.Output; /** * Optional. JMS is the source for the event listener. */ readonly jms: pulumi.Output; readonly location: pulumi.Output; /** * Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription} */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Optional. Status indicates the status of the event subscription resource */ readonly status: pulumi.Output; /** * Optional. name of the Subscriber for the current EventSubscription. */ readonly subscriber: pulumi.Output; /** * Optional. Link for Subscriber of the current EventSubscription. */ readonly subscriberLink: pulumi.Output; /** * Updated time. */ readonly updateTime: pulumi.Output; /** * Create a EventSubscription resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EventSubscriptionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a EventSubscription resource. */ export interface EventSubscriptionArgs { connectionId: pulumi.Input; /** * Optional. The destination to hit when we receive an event */ destinations?: pulumi.Input; /** * Required. Identifier to assign to the Event Subscription. Must be unique within scope of the parent resource. */ eventSubscriptionId: pulumi.Input; /** * Optional. Event type id of the event of current EventSubscription. */ eventTypeId?: pulumi.Input; /** * Optional. JMS is the source for the event listener. */ jms?: pulumi.Input; location?: pulumi.Input; /** * Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription} */ name?: pulumi.Input; project?: pulumi.Input; /** * Optional. name of the Subscriber for the current EventSubscription. */ subscriber?: pulumi.Input; /** * Optional. Link for Subscriber of the current EventSubscription. */ subscriberLink?: pulumi.Input; }