@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)
38 lines (37 loc) • 1.64 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource Type definition for AWS::Events::EventBusPolicy
*/
export declare function getEventBusPolicy(args: GetEventBusPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetEventBusPolicyResult>;
export interface GetEventBusPolicyArgs {
/**
* The name of the event bus associated with the rule. If you omit this, the default event bus is used.
*/
eventBusName: string;
/**
* An identifier string for the external account that you are granting permissions to
*/
statementId: string;
}
export interface GetEventBusPolicyResult {
/**
* 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?: any;
}
/**
* Resource Type definition for AWS::Events::EventBusPolicy
*/
export declare function getEventBusPolicyOutput(args: GetEventBusPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEventBusPolicyResult>;
export interface GetEventBusPolicyOutputArgs {
/**
* The name of the event bus associated with the rule. If you omit this, the default event bus is used.
*/
eventBusName: pulumi.Input<string>;
/**
* An identifier string for the external account that you are granting permissions to
*/
statementId: pulumi.Input<string>;
}