AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

Connection

Define an EventBridge Connection.

Import

import { Connection } from 'aws-cdk-lib/aws-events';

Or use the module namespace:

import * as events from 'aws-cdk-lib/aws-events';
// events.Connection

Properties

Configuration passed to the constructor as ConnectionProps.

authorizationRequired
Authorization

The authorization type for the connection.

bodyParametersOptional
{ [key: string]: HttpParameter }

Additional string parameters to add to the invocation bodies.

Default: - No additional parameters

connectionNameOptional
string

The name of the connection.

Default: - A name is automatically generated

descriptionOptional
string

The name of the connection.

Default: - none

headerParametersOptional
{ [key: string]: HttpParameter }

Additional string parameters to add to the invocation headers.

Default: - No additional parameters

queryStringParametersOptional
{ [key: string]: HttpParameter }

Additional string parameters to add to the invocation query strings.

Default: - No additional parameters

Get the Amazon EventBridge Cheat Sheet

Everything you need to know about Amazon EventBridge on one page. HD quality, print-friendly.

Download Free Infographic