UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

100 lines (99 loc) 3.91 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource type definition for AWS::Events::EventBus */ export declare class EventBus extends pulumi.CustomResource { /** * Get an existing EventBus 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<pulumi.ID>, opts?: pulumi.CustomResourceOptions): EventBus; /** * Returns true if the given object is an instance of EventBus. 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 EventBus; /** * The Amazon Resource Name (ARN) for the event bus. */ readonly arn: pulumi.Output<string>; /** * Dead Letter Queue for the event bus. */ readonly deadLetterConfig: pulumi.Output<outputs.events.DeadLetterConfigProperties | undefined>; /** * The description of the event bus. */ readonly description: pulumi.Output<string | undefined>; /** * If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with. */ readonly eventSourceName: pulumi.Output<string | undefined>; /** * Kms Key Identifier used to encrypt events at rest in the event bus. */ readonly kmsKeyIdentifier: pulumi.Output<string | undefined>; /** * The name of the event bus. */ readonly name: pulumi.Output<string>; /** * A JSON string that describes the permission policy statement for the event bus. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Events::EventBus` for more information about the expected schema for this property. */ readonly policy: pulumi.Output<any | undefined>; /** * Any tags assigned to the event bus. */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * Create a EventBus 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?: EventBusArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a EventBus resource. */ export interface EventBusArgs { /** * Dead Letter Queue for the event bus. */ deadLetterConfig?: pulumi.Input<inputs.events.DeadLetterConfigPropertiesArgs>; /** * The description of the event bus. */ description?: pulumi.Input<string>; /** * If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with. */ eventSourceName?: pulumi.Input<string>; /** * Kms Key Identifier used to encrypt events at rest in the event bus. */ kmsKeyIdentifier?: pulumi.Input<string>; /** * The name of the event bus. */ name?: pulumi.Input<string>; /** * A JSON string that describes the permission policy statement for the event bus. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Events::EventBus` for more information about the expected schema for this property. */ policy?: any; /** * Any tags assigned to the event bus. */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }