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

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.EventBus

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

    Create EventBus Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EventBus(name: string, args?: EventBusArgs, opts?: CustomResourceOptions);
    @overload
    def EventBus(resource_name: str,
                 args: Optional[EventBusArgs] = None,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventBus(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 event_source_name: Optional[str] = None,
                 name: Optional[str] = None,
                 policy: Optional[Any] = None,
                 tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewEventBus(ctx *Context, name string, args *EventBusArgs, opts ...ResourceOption) (*EventBus, error)
    public EventBus(string name, EventBusArgs? args = null, CustomResourceOptions? opts = null)
    public EventBus(String name, EventBusArgs args)
    public EventBus(String name, EventBusArgs args, CustomResourceOptions options)
    
    type: aws-native:events:EventBus
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EventBusArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EventBusArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EventBusArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventBusArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventBusArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const eventBusResource = new aws_native.events.EventBus("eventBusResource", {
        eventSourceName: "string",
        name: "string",
        policy: "any",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    Coming soon!
    

    EventBus Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The EventBus resource accepts the following input properties:

    EventSourceName string
    If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
    Name string
    The name of 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.Inputs.Tag>
    Any tags assigned to the event bus.
    EventSourceName string
    If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
    Name string
    The name of 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 TagArgs
    Any tags assigned to the event bus.
    eventSourceName String
    If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
    name String
    The name of 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.
    eventSourceName string
    If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
    name string
    The name of 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.
    event_source_name str
    If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
    name str
    The name of 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[TagArgs]
    Any tags assigned to the event bus.
    eventSourceName String
    If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
    name String
    The name of 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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EventBus resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) for the event bus.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The Amazon Resource Name (ARN) for the event bus.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) for the event bus.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The Amazon Resource Name (ARN) for the event bus.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The Amazon Resource Name (ARN) for the event bus.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The Amazon Resource Name (ARN) for the event bus.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    Tag, TagArgs

    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