Skip to content
v2.273.0

SourceAccessConfiguration Struct ​

Specific settings like the authentication protocol or the VPC components to secure access to your event source.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';

declare const sourceAccessConfigurationType: lambda.SourceAccessConfigurationType;
const sourceAccessConfiguration: lambda.SourceAccessConfiguration = {
  type: sourceAccessConfigurationType,
  uri: 'uri',
};

Properties ​

The type of authentication protocol or the VPC components for your event source.

For example: "SASL_SCRAM_512_AUTH".

uristringuristruriStringUristringUri*stringrequired#
The value for your chosen configuration in type.

For example: "URI": "arn:aws:secretsmanager:us-east-1:01234567890㊙️MyBrokerSecretName". The exact string depends on the type.