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<pulumi.ID>, 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<string | undefined>;
    readonly condition: pulumi.Output<outputs.events.EventBusPolicyCondition | undefined>;
    /**
     * The name of the event bus associated with the rule. If you omit this, the default event bus is used.
     */
    readonly eventBusName: pulumi.Output<string | undefined>;
    /**
     * 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<string | undefined>;
    /**
     * 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<any | undefined>;
    /**
     * An identifier string for the external account that you are granting permissions to
     */
    readonly statementId: pulumi.Output<string>;
    /**
     * 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<string>;
    condition?: pulumi.Input<inputs.events.EventBusPolicyConditionArgs>;
    /**
     * The name of the event bus associated with the rule. If you omit this, the default event bus is used.
     */
    eventBusName?: pulumi.Input<string>;
    /**
     * 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<string>;
    /**
     * 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<string>;
}
