aws-cdk-lib.aws_lambda.SourceAccessConfigurationType

class SourceAccessConfigurationType

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

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

See also: https://docs.aws.amazon.com/lambda/latest/dg/API_SourceAccessConfiguration.html#SSS-Type-SourceAccessConfiguration-Type

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';
const sourceAccessConfigurationType = lambda.SourceAccessConfigurationType.BASIC_AUTH;

Properties

NameTypeDescription
typestringThe key to use in SourceAccessConfigurationProperty.Type property in CloudFormation.
static BASIC_AUTHSourceAccessConfigurationType(MQ) The Secrets Manager secret that stores your broker credentials.
static CLIENT_CERTIFICATE_TLS_AUTHSourceAccessConfigurationTypeThe Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.
static SASL_SCRAM_256_AUTHSourceAccessConfigurationTypeThe Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your Self-Managed Apache Kafka brokers.
static SASL_SCRAM_512_AUTHSourceAccessConfigurationTypeThe Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers.
static SERVER_ROOT_CA_CERTIFICATESourceAccessConfigurationTypeThe Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.
static VPC_SECURITY_GROUPSourceAccessConfigurationTypeThe VPC security group used to manage access to your Self-Managed Apache Kafka brokers.
static VPC_SUBNETSourceAccessConfigurationTypeThe subnets associated with your VPC.

type

Type: string

The key to use in SourceAccessConfigurationProperty.Type property in CloudFormation.

See also: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-sourceaccessconfiguration.html#cfn-lambda-eventsourcemapping-sourceaccessconfiguration-type


static BASIC_AUTH

Type: SourceAccessConfigurationType

(MQ) The Secrets Manager secret that stores your broker credentials.


static CLIENT_CERTIFICATE_TLS_AUTH

Type: SourceAccessConfigurationType

The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.


static SASL_SCRAM_256_AUTH

Type: SourceAccessConfigurationType

The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your Self-Managed Apache Kafka brokers.


static SASL_SCRAM_512_AUTH

Type: SourceAccessConfigurationType

The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers.


static SERVER_ROOT_CA_CERTIFICATE

Type: SourceAccessConfigurationType

The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.


static VPC_SECURITY_GROUP

Type: SourceAccessConfigurationType

The VPC security group used to manage access to your Self-Managed Apache Kafka brokers.


static VPC_SUBNET

Type: SourceAccessConfigurationType

The subnets associated with your VPC.

Lambda connects to these subnets to fetch data from your Self-Managed Apache Kafka cluster.

Methods

NameDescription
static of(name)A custom source access configuration property.

static of(name)

public static of(name: string): SourceAccessConfigurationType

Parameters

  • name string

Returns

  • SourceAccessConfigurationType

A custom source access configuration property.