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,
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.
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::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.
- 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::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.
- 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::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.
- 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::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.
- 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::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.
- 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::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.
EventBusLogConfigPropertiesIncludeDetail, EventBusLogConfigPropertiesIncludeDetailArgs
- Full
- FULL
- None
- NONE
- Event
Bus Log Config Properties Include Detail Full - FULL
- Event
Bus Log Config Properties Include Detail None - NONE
- Full
- FULL
- None
- NONE
- Full
- FULL
- None
- NONE
- FULL
- FULL
- NONE
- NONE
- "FULL"
- FULL
- "NONE"
- NONE
EventBusLogConfigPropertiesLevel, EventBusLogConfigPropertiesLevelArgs
- Info
- INFO
- Error
- ERROR
- Trace
- TRACE
- Off
- OFF
- Event
Bus Log Config Properties Level Info - INFO
- Event
Bus Log Config Properties Level Error - ERROR
- Event
Bus Log Config Properties Level Trace - TRACE
- Event
Bus Log Config Properties Level Off - OFF
- Info
- INFO
- Error
- ERROR
- Trace
- TRACE
- Off
- OFF
- Info
- INFO
- Error
- ERROR
- Trace
- TRACE
- Off
- OFF
- INFO
- INFO
- ERROR
- ERROR
- TRACE
- TRACE
- OFF
- OFF
- "INFO"
- INFO
- "ERROR"
- ERROR
- "TRACE"
- TRACE
- "OFF"
- OFF
LogConfigProperties, LogConfigPropertiesArgs
- 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 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.