1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. events
  5. getEventBusPolicy

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi

aws-native.events.getEventBusPolicy

Start a Neo task
Explain and create an aws-native.events.getEventBusPolicy resource
aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi

    Resource Type definition for AWS::Events::EventBusPolicy

    Using getEventBusPolicy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEventBusPolicy(args: GetEventBusPolicyArgs, opts?: InvokeOptions): Promise<GetEventBusPolicyResult>
    function getEventBusPolicyOutput(args: GetEventBusPolicyOutputArgs, opts?: InvokeOptions): Output<GetEventBusPolicyResult>
    def get_event_bus_policy(event_bus_name: Optional[str] = None,
                             statement_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetEventBusPolicyResult
    def get_event_bus_policy_output(event_bus_name: Optional[pulumi.Input[str]] = None,
                             statement_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetEventBusPolicyResult]
    func LookupEventBusPolicy(ctx *Context, args *LookupEventBusPolicyArgs, opts ...InvokeOption) (*LookupEventBusPolicyResult, error)
    func LookupEventBusPolicyOutput(ctx *Context, args *LookupEventBusPolicyOutputArgs, opts ...InvokeOption) LookupEventBusPolicyResultOutput

    > Note: This function is named LookupEventBusPolicy in the Go SDK.

    public static class GetEventBusPolicy 
    {
        public static Task<GetEventBusPolicyResult> InvokeAsync(GetEventBusPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetEventBusPolicyResult> Invoke(GetEventBusPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEventBusPolicyResult> getEventBusPolicy(GetEventBusPolicyArgs args, InvokeOptions options)
    public static Output<GetEventBusPolicyResult> getEventBusPolicy(GetEventBusPolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:events:getEventBusPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EventBusName string
    The name of the event bus associated with the rule. If you omit this, the default event bus is used.
    StatementId string
    An identifier string for the external account that you are granting permissions to
    EventBusName string
    The name of the event bus associated with the rule. If you omit this, the default event bus is used.
    StatementId string
    An identifier string for the external account that you are granting permissions to
    eventBusName String
    The name of the event bus associated with the rule. If you omit this, the default event bus is used.
    statementId String
    An identifier string for the external account that you are granting permissions to
    eventBusName string
    The name of the event bus associated with the rule. If you omit this, the default event bus is used.
    statementId string
    An identifier string for the external account that you are granting permissions to
    event_bus_name str
    The name of the event bus associated with the rule. If you omit this, the default event bus is used.
    statement_id str
    An identifier string for the external account that you are granting permissions to
    eventBusName String
    The name of the event bus associated with the rule. If you omit this, the default event bus is used.
    statementId String
    An identifier string for the external account that you are granting permissions to

    getEventBusPolicy Result

    The following output properties are available:

    Statement object

    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 for AWS::Events::EventBusPolicy for more information about the expected schema for this property.

    Statement interface{}

    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 for AWS::Events::EventBusPolicy for more information about the expected schema for this property.

    statement Object

    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 for AWS::Events::EventBusPolicy for more information about the expected schema for this property.

    statement any

    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 for AWS::Events::EventBusPolicy for more information about the expected schema for this property.

    statement Any

    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 for AWS::Events::EventBusPolicy for more information about the expected schema for this property.

    statement Any

    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 for AWS::Events::EventBusPolicy for more information about the expected schema for this property.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate