AWS Native is in preview. AWS Classic is fully supported.
aws-native.events.EventBus
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.