import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::Events::EventBusPolicy */ export declare class EventBusPolicy extends pulumi.CustomResource { /** * Get an existing EventBusPolicy 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): EventBusPolicy; /** * Returns true if the given object is an instance of EventBusPolicy. 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 EventBusPolicy; /** * The action that you are enabling the other account to perform. */ readonly action: pulumi.Output; readonly condition: pulumi.Output; /** * The name of the event bus associated with the rule. If you omit this, the default event bus is used. */ readonly eventBusName: pulumi.Output; /** * The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify "*" to permit any account to put events to your default event bus. */ readonly principal: pulumi.Output; /** * A JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Events::EventBusPolicy` for more information about the expected schema for this property. */ readonly statement: pulumi.Output; /** * An identifier string for the external account that you are granting permissions to */ readonly statementId: pulumi.Output; /** * Create a EventBusPolicy 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: EventBusPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a EventBusPolicy resource. */ export interface EventBusPolicyArgs { /** * The action that you are enabling the other account to perform. */ action?: pulumi.Input; condition?: pulumi.Input; /** * The name of the event bus associated with the rule. If you omit this, the default event bus is used. */ eventBusName?: pulumi.Input; /** * The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify "*" to permit any account to put events to your default event bus. */ principal?: pulumi.Input; /** * A JSON string that describes the permission policy statement. You can include a Policy parameter in the request instead of using the StatementId, Action, Principal, or Condition parameters. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Events::EventBusPolicy` for more information about the expected schema for this property. */ statement?: any; /** * An identifier string for the external account that you are granting permissions to */ statementId: pulumi.Input; }