Data Source: awsCloudwatchEventBus
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.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsCloudwatchEventBus.DataAwsCloudwatchEventBus(this, "example", {
name: "example-bus-name",
});
Argument Reference
name
- (Required) Friendly EventBridge event bus name.
Attributes Reference
arn
- ARN.