import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog - Amazon Web Services integration EventBridge resource. This can be used to create and manage Event Sources for each Datadog integrated AWS account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create new integration_aws_event_bridge resource * const foo = new datadog.aws.IntegrationEventBridge("foo", { * accountId: "123456789012", * createEventBus: true, * eventGeneratorName: "app-alerts", * region: "us-east-1", * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * Amazon Web Service EventBridge integrations are imported using the Event Source name as listed for an integrated AWS account in Datadog * * ```sh * $ pulumi import datadog:aws/integrationEventBridge:IntegrationEventBridge foo event-source-name-abc12345 * ``` */ export declare class IntegrationEventBridge extends pulumi.CustomResource { /** * Get an existing IntegrationEventBridge 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: IntegrationEventBridgeState, opts?: pulumi.CustomResourceOptions): IntegrationEventBridge; /** * Returns true if the given object is an instance of IntegrationEventBridge. 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 IntegrationEventBridge; /** * Your AWS Account ID without dashes. */ readonly accountId: pulumi.Output; /** * True if Datadog should create the event bus in addition to the event source. Requires the `events:CreateEventBus` permission. Defaults to `true`. */ readonly createEventBus: pulumi.Output; /** * The given part of the event source name, which is then combined with an assigned suffix to form the full name. */ readonly eventGeneratorName: pulumi.Output; /** * The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). */ readonly region: pulumi.Output; /** * Create a IntegrationEventBridge 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: IntegrationEventBridgeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IntegrationEventBridge resources. */ export interface IntegrationEventBridgeState { /** * Your AWS Account ID without dashes. */ accountId?: pulumi.Input; /** * True if Datadog should create the event bus in addition to the event source. Requires the `events:CreateEventBus` permission. Defaults to `true`. */ createEventBus?: pulumi.Input; /** * The given part of the event source name, which is then combined with an assigned suffix to form the full name. */ eventGeneratorName?: pulumi.Input; /** * The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). */ region?: pulumi.Input; } /** * The set of arguments for constructing a IntegrationEventBridge resource. */ export interface IntegrationEventBridgeArgs { /** * Your AWS Account ID without dashes. */ accountId: pulumi.Input; /** * True if Datadog should create the event bus in addition to the event source. Requires the `events:CreateEventBus` permission. Defaults to `true`. */ createEventBus?: pulumi.Input; /** * The given part of the event source name, which is then combined with an assigned suffix to form the full name. */ eventGeneratorName: pulumi.Input; /** * The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). */ region: pulumi.Input; }