Resource type definition for AWS::Events::EventBus
resource "awscc_events_event_bus" "sample" {
name = "sample"
}
The following example creates a partner event bus, note that the event source must be configured first.
resource "awscc_events_event_bus" "sample_partner_event_bus" {
name = "aws.partner/examplepartner.com/example-eqrry6br"
event_source_name = "aws.partner/examplepartner.com/example-eqrry6br"
}
name
(String) The name of the event bus.event_source_name
(String) If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.policy
(String) A JSON string that describes the permission policy statement for the event bus.tags
(Attributes List) Any tags assigned to the event bus. (see below for nested schema)arn
(String) The Amazon Resource Name (ARN) for the event bus.id
(String) Uniquely identifies the resource.tags
Required:
key
(String)value
(String)Import is supported using the following syntax:
$ terraform import awscc_events_event_bus.example <resource ID>