1. Packages
  2. AWS Native
  3. API Docs
  4. events
  5. getEventBus

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.events.getEventBus

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    Resource type definition for AWS::Events::EventBus

    Using getEventBus

    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 getEventBus(args: GetEventBusArgs, opts?: InvokeOptions): Promise<GetEventBusResult>
    function getEventBusOutput(args: GetEventBusOutputArgs, opts?: InvokeOptions): Output<GetEventBusResult>
    def get_event_bus(name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetEventBusResult
    def get_event_bus_output(name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetEventBusResult]
    func LookupEventBus(ctx *Context, args *LookupEventBusArgs, opts ...InvokeOption) (*LookupEventBusResult, error)
    func LookupEventBusOutput(ctx *Context, args *LookupEventBusOutputArgs, opts ...InvokeOption) LookupEventBusResultOutput

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

    public static class GetEventBus 
    {
        public static Task<GetEventBusResult> InvokeAsync(GetEventBusArgs args, InvokeOptions? opts = null)
        public static Output<GetEventBusResult> Invoke(GetEventBusInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEventBusResult> getEventBus(GetEventBusArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:events:getEventBus
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the event bus.
    Name string
    The name of the event bus.
    name String
    The name of the event bus.
    name string
    The name of the event bus.
    name str
    The name of the event bus.
    name String
    The name of the event bus.

    getEventBus Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) for the event bus.
    Policy object

    A JSON string that describes the permission policy statement for the event bus.

    Search the CloudFormation User Guide for AWS::Events::EventBus for more information about the expected schema for this property.

    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Any tags assigned to the event bus.
    Arn string
    The Amazon Resource Name (ARN) for the event bus.
    Policy interface{}

    A JSON string that describes the permission policy statement for the event bus.

    Search the CloudFormation User Guide for AWS::Events::EventBus for more information about the expected schema for this property.

    Tags Tag
    Any tags assigned to the event bus.
    arn String
    The Amazon Resource Name (ARN) for the event bus.
    policy Object

    A JSON string that describes the permission policy statement for the event bus.

    Search the CloudFormation User Guide for AWS::Events::EventBus for more information about the expected schema for this property.

    tags List<Tag>
    Any tags assigned to the event bus.
    arn string
    The Amazon Resource Name (ARN) for the event bus.
    policy any

    A JSON string that describes the permission policy statement for the event bus.

    Search the CloudFormation User Guide for AWS::Events::EventBus for more information about the expected schema for this property.

    tags Tag[]
    Any tags assigned to the event bus.
    arn str
    The Amazon Resource Name (ARN) for the event bus.
    policy Any

    A JSON string that describes the permission policy statement for the event bus.

    Search the CloudFormation User Guide for AWS::Events::EventBus for more information about the expected schema for this property.

    tags Sequence[root_Tag]
    Any tags assigned to the event bus.
    arn String
    The Amazon Resource Name (ARN) for the event bus.
    policy Any

    A JSON string that describes the permission policy statement for the event bus.

    Search the CloudFormation User Guide for AWS::Events::EventBus for more information about the expected schema for this property.

    tags List<Property Map>
    Any tags assigned to the event bus.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi