We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 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,
dead_letter_config: Optional[DeadLetterConfigPropertiesArgs] = None,
description: Optional[str] = None,
event_source_name: Optional[str] = None,
kms_key_identifier: Optional[str] = None,
log_config: Optional[LogConfigPropertiesArgs] = 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.
resource "aws-native_events_event_bus" "name" {
# resource properties
}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.
- Log
Config Pulumi.Aws Native. Events. Inputs. Log Config Properties - The logging configuration settings for vended logs.
- 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::EventBusfor 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.
- Log
Config LogConfig Properties Args - The logging configuration settings for vended logs.
- 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::EventBusfor more information about the expected schema for this property.-
Tag
Args - Any tags assigned to the event bus.
- dead_
letter_ objectconfig - 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.
- log_
config object - The logging configuration settings for vended logs.
- 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::EventBusfor more information about the expected schema for this property.- list(object)
- 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.
- log
Config LogConfig Properties - The logging configuration settings for vended logs.
- 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::EventBusfor 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.
- log
Config LogConfig Properties - The logging configuration settings for vended logs.
- 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::EventBusfor 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.
- log_
config LogConfig Properties Args - The logging configuration settings for vended logs.
- 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::EventBusfor 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.
- log
Config Property Map - The logging configuration settings for vended logs.
- 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::EventBusfor 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:
Look up Existing EventBus Resource
Get an existing EventBus resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): EventBus@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> EventBusfunc GetEventBus(ctx *Context, name string, id IDInput, state *EventBusState, opts ...ResourceOption) (*EventBus, error)public static EventBus Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static EventBus get(String name, Output<String> id, CustomResourceOptions options)resources: existingEventBus: type: aws-native:events:EventBus get: id: ${id}import {
to = aws-native_events_event_bus.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state EventBusState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
DeadLetterConfigProperties, DeadLetterConfigPropertiesArgs
Dead Letter Queue for the event bus.- 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 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.
EventBusLogConfigPropertiesIncludeDetail, EventBusLogConfigPropertiesIncludeDetailArgs
Configures whether or not to include event detail, input transformer details, target properties, and target input in the applicable log messages.| Name | Value |
|---|---|
| Full | FULL |
| None | NONE |
| Name | Value |
|---|---|
| Event | FULL |
| Event | NONE |
| Value |
|---|
FULL |
NONE |
| Name | Value |
|---|---|
| Full | FULL |
| None | NONE |
| Name | Value |
|---|---|
| Full | FULL |
| None | NONE |
| Name | Value |
|---|---|
| FULL | FULL |
| NONE | NONE |
| Value |
|---|
FULL |
NONE |
EventBusLogConfigPropertiesLevel, EventBusLogConfigPropertiesLevelArgs
Configures the log level of the EventBus and determines which log messages are sent to Ingestion Hub for delivery.| Name | Value |
|---|---|
| Info | INFO |
| Error | ERROR |
| Trace | TRACE |
| Off | OFF |
| Name | Value |
|---|---|
| Event | INFO |
| Event | ERROR |
| Event | TRACE |
| Event | OFF |
| Value |
|---|
INFO |
ERROR |
TRACE |
OFF |
| Name | Value |
|---|---|
| Info | INFO |
| Error | ERROR |
| Trace | TRACE |
| Off | OFF |
| Name | Value |
|---|---|
| Info | INFO |
| Error | ERROR |
| Trace | TRACE |
| Off | OFF |
| Name | Value |
|---|---|
| INFO | INFO |
| ERROR | ERROR |
| TRACE | TRACE |
| OFF | OFF |
| Value |
|---|
INFO |
ERROR |
TRACE |
OFF |
LogConfigProperties, LogConfigPropertiesArgs
The logging configuration settings for vended logs.- Include
Detail Pulumi.Aws Native. Events. Event Bus Log Config Properties Include Detail - Configures whether or not to include event detail, input transformer details, target properties, and target input in the applicable log messages.
- Level
Pulumi.
Aws Native. Events. Event Bus Log Config Properties Level - Configures the log level of the EventBus and determines which log messages are sent to Ingestion Hub for delivery.
- Include
Detail EventBus Log Config Properties Include Detail - Configures whether or not to include event detail, input transformer details, target properties, and target input in the applicable log messages.
- Level
Event
Bus Log Config Properties Level - Configures the log level of the EventBus and determines which log messages are sent to Ingestion Hub for delivery.
- include_
detail "FULL" | "NONE" - Configures whether or not to include event detail, input transformer details, target properties, and target input in the applicable log messages.
- level "INFO" | "ERROR" | "TRACE" | "OFF"
- Configures the log level of the EventBus and determines which log messages are sent to Ingestion Hub for delivery.
- include
Detail EventBus Log Config Properties Include Detail - Configures whether or not to include event detail, input transformer details, target properties, and target input in the applicable log messages.
- level
Event
Bus Log Config Properties Level - Configures the log level of the EventBus and determines which log messages are sent to Ingestion Hub for delivery.
- include
Detail EventBus Log Config Properties Include Detail - Configures whether or not to include event detail, input transformer details, target properties, and target input in the applicable log messages.
- level
Event
Bus Log Config Properties Level - Configures the log level of the EventBus and determines which log messages are sent to Ingestion Hub for delivery.
- include_
detail EventBus Log Config Properties Include Detail - Configures whether or not to include event detail, input transformer details, target properties, and target input in the applicable log messages.
- level
Event
Bus Log Config Properties Level - Configures the log level of the EventBus and determines which log messages are sent to Ingestion Hub for delivery.
- include
Detail "FULL" | "NONE" - Configures whether or not to include event detail, input transformer details, target properties, and target input in the applicable log messages.
- level "INFO" | "ERROR" | "TRACE" | "OFF"
- Configures the log level of the EventBus and determines which log messages are sent to Ingestion Hub for delivery.
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi