Skip to content
v2.274.0

ConnectionAttributes Struct ​

Interface with properties necessary to import a reusable Connection.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as events } from 'aws-cdk-lib';
const connectionAttributes: events.ConnectionAttributes = {
  connectionArn: 'connectionArn',
  connectionName: 'connectionName',
  connectionSecretArn: 'connectionSecretArn',
};

Properties ​

connectionArnstringconnection_arnstrconnectionArnStringConnectionArnstringConnectionArn*stringrequired#
The ARN of the connection created.
connectionNamestringconnection_namestrconnectionNameStringConnectionNamestringConnectionName*stringrequired#
The Name for the connection.
connectionSecretArnstringconnection_secret_arnstrconnectionSecretArnStringConnectionSecretArnstringConnectionSecretArn*stringrequired#
The ARN for the secret created for the connection.