aws-cdk-lib.aws_lambda.SourceAccessConfiguration

interface SourceAccessConfiguration

LanguageType name
.NETAmazon.CDK.AWS.Lambda.SourceAccessConfiguration
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#SourceAccessConfiguration
Javasoftware.amazon.awscdk.services.lambda.SourceAccessConfiguration
Pythonaws_cdk.aws_lambda.SourceAccessConfiguration
TypeScript (source)aws-cdk-lib » aws_lambda » SourceAccessConfiguration

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

Example

// 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

NameTypeDescription
typeSourceAccessConfigurationTypeThe type of authentication protocol or the VPC components for your event source.
uristringThe value for your chosen configuration in type.

type

Type: SourceAccessConfigurationType

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

For example: "SASL_SCRAM_512_AUTH".


uri

Type: string

The value for your chosen configuration in type.

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

See also: SourceAccessConfigurationType