This data source can be used to fetch information about a specific EventBridge event bus. Use this data source to compute the ARN of an event bus, given the name of the bus.
data "aws_cloudwatch_event_bus" "example" {
name = "example-bus-name"
}
name
- (Required) Friendly EventBridge event bus name.This data source exports the following attributes in addition to the arguments above:
arn
- ARN.