Skip to content

Data source: awsCloudwatchEventConnection

Use this data source to retrieve information about an EventBridge connection.

\~> Note: EventBridge was formerly known as CloudWatch Events. The functionality is identical.

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.dataAwsCloudwatchEventConnection.DataAwsCloudwatchEventConnection(
  this,
  "test",
  {
    name: "test",
  }
);

Argument Reference

  • name - Name of the connection.

Attributes Reference

The following attributes are exported:

  • name - Name of the connection.

  • arn - ARN (Amazon Resource Name) for the connection.

  • secretArn - ARN (Amazon Resource Name) for the secret created from the authorization parameters specified for the connection.

  • authorizationType - Type of authorization to use to connect. One of API_KEY,basic,OAUTH_CLIENT_CREDENTIALS.