class SourceAccessConfigurationType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.SourceAccessConfigurationType |
Java | software.amazon.awscdk.services.lambda.SourceAccessConfigurationType |
Python | aws_cdk.aws_lambda.SourceAccessConfigurationType |
TypeScript (source) | @aws-cdk/aws-lambda » SourceAccessConfigurationType |
The type of authentication protocol or the VPC components for your event source's SourceAccessConfiguration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lambda from '@aws-cdk/aws-lambda';
const sourceAccessConfigurationType = lambda.SourceAccessConfigurationType.BASIC_AUTH;
Properties
Name | Type | Description |
---|---|---|
type | string | The key to use in SourceAccessConfigurationProperty.Type property in CloudFormation. |
static BASIC_AUTH | Source | (MQ) The Secrets Manager secret that stores your broker credentials. |
static CLIENT_CERTIFICATE_TLS_AUTH | Source | 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 | Source | 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 | Source | The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers. |
static VPC_SECURITY_GROUP | Source | The VPC security group used to manage access to your Self-Managed Apache Kafka brokers. |
static VPC_SUBNET | Source | The subnets associated with your VPC. |
type
Type:
string
The key to use in SourceAccessConfigurationProperty.Type
property in CloudFormation.
static BASIC_AUTH
Type:
Source
(MQ) The Secrets Manager secret that stores your broker credentials.
static CLIENT_CERTIFICATE_TLS_AUTH
Type:
Source
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:
Source
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:
Source
The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers.
static VPC_SECURITY_GROUP
Type:
Source
The VPC security group used to manage access to your Self-Managed Apache Kafka brokers.
static VPC_SUBNET
Type:
Source
The subnets associated with your VPC.
Lambda connects to these subnets to fetch data from your Self-Managed Apache Kafka cluster.
Methods
Name | Description |
---|---|
static of(name) | A custom source access configuration property. |
static of(name)
public static of(name: string): SourceAccessConfigurationType
Parameters
- name
string
Returns
A custom source access configuration property.