We recommend new projects start with resources from the AWS provider.
aws-native.events.EventBus
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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,
dead_letter_config: Optional[DeadLetterConfigPropertiesArgs] = None,
description: Optional[str] = None,
event_source_name: Optional[str] = None,
kms_key_identifier: 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.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EventBus resource accepts the following input properties:
- Dead
Letter Pulumi.Config Aws Native. Events. Inputs. Dead Letter Config Properties - Dead Letter Queue for the event bus.
- Description string
- The description of the event bus.
- Event
Source stringName - If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
- Kms
Key stringIdentifier - Kms Key Identifier used to encrypt events at rest in the event bus.
- 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.- List<Pulumi.
Aws Native. Inputs. Tag> - Any tags assigned to the event bus.
- Dead
Letter DeadConfig Letter Config Properties Args - Dead Letter Queue for the event bus.
- Description string
- The description of the event bus.
- Event
Source stringName - If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
- Kms
Key stringIdentifier - Kms Key Identifier used to encrypt events at rest in the event bus.
- 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.- Tag
Args - Any tags assigned to the event bus.
- dead
Letter DeadConfig Letter Config Properties - Dead Letter Queue for the event bus.
- description String
- The description of the event bus.
- event
Source StringName - If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
- kms
Key StringIdentifier - Kms Key Identifier used to encrypt events at rest in the event bus.
- 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.- List<Tag>
- Any tags assigned to the event bus.
- dead
Letter DeadConfig Letter Config Properties - Dead Letter Queue for the event bus.
- description string
- The description of the event bus.
- event
Source stringName - If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
- kms
Key stringIdentifier - Kms Key Identifier used to encrypt events at rest in the event bus.
- 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.- Tag[]
- Any tags assigned to the event bus.
- dead_
letter_ Deadconfig Letter Config Properties Args - Dead Letter Queue for the event bus.
- description str
- The description of the event bus.
- event_
source_ strname - If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
- kms_
key_ stridentifier - Kms Key Identifier used to encrypt events at rest in the event bus.
- 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.- Sequence[Tag
Args] - Any tags assigned to the event bus.
- dead
Letter Property MapConfig - Dead Letter Queue for the event bus.
- description String
- The description of the event bus.
- event
Source StringName - If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
- kms
Key StringIdentifier - Kms Key Identifier used to encrypt events at rest in the event bus.
- 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.- 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:
Supporting Types
DeadLetterConfigProperties, DeadLetterConfigPropertiesArgs
- Arn string
- The ARN of the SQS queue specified as the target for the dead-letter queue.
- Arn string
- The ARN of the SQS queue specified as the target for the dead-letter queue.
- arn String
- The ARN of the SQS queue specified as the target for the dead-letter queue.
- arn string
- The ARN of the SQS queue specified as the target for the dead-letter queue.
- arn str
- The ARN of the SQS queue specified as the target for the dead-letter queue.
- arn String
- The ARN of the SQS queue specified as the target for the dead-letter queue.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.