Skip to content
v2.274.0

SourceAccessConfigurationType Class ​

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

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

Properties ​

(MQ) The Secrets Manager secret that stores your broker credentials.
CLIENT_CERTIFICATE_TLS_AUTHSourceAccessConfigurationTypeclient_certificate_tls_authSourceAccessConfigurationTypeCLIENT_CERTIFICATE_TLS_AUTHSourceAccessConfigurationTypeCLIENT_CERTIFICATE_TLS_AUTHSourceAccessConfigurationTypeCLIENT_CERTIFICATE_TLS_AUTHSourceAccessConfigurationTypestatic#
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.
SASL_SCRAM_256_AUTHSourceAccessConfigurationTypesasl_scram_256_authSourceAccessConfigurationTypeSASL_SCRAM_256_AUTHSourceAccessConfigurationTypeSASL_SCRAM_256_AUTHSourceAccessConfigurationTypeSASL_SCRAM_256_AUTHSourceAccessConfigurationTypestatic#
The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your Self-Managed Apache Kafka brokers.
SASL_SCRAM_512_AUTHSourceAccessConfigurationTypesasl_scram_512_authSourceAccessConfigurationTypeSASL_SCRAM_512_AUTHSourceAccessConfigurationTypeSASL_SCRAM_512_AUTHSourceAccessConfigurationTypeSASL_SCRAM_512_AUTHSourceAccessConfigurationTypestatic#
The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers.
SERVER_ROOT_CA_CERTIFICATESourceAccessConfigurationTypeserver_root_ca_certificateSourceAccessConfigurationTypeSERVER_ROOT_CA_CERTIFICATESourceAccessConfigurationTypeSERVER_ROOT_CA_CERTIFICATESourceAccessConfigurationTypeSERVER_ROOT_CA_CERTIFICATESourceAccessConfigurationTypestatic#
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.
typestringtypestrtypeStringTypestringType*string#
The key to use in `SourceAccessConfigurationProperty.Type` property in CloudFormation.
The name of the virtual host in your RabbitMQ broker.

Lambda uses this RabbitMQ host as the event source.

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

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

Methods ​

of(name: string): SourceAccessConfigurationType // chainable@staticmethod def of(name: str) -> SourceAccessConfigurationTypepublic static SourceAccessConfigurationType of(String name)public static SourceAccessConfigurationType Of(string name)func Of(Name *string) SourceAccessConfigurationTypestatic#
A custom source access configuration property.