Class: AWSCDK::Lambda::SourceAccessConfigurationType
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::Lambda::SourceAccessConfigurationType
- Defined in:
- lambda/source_access_configuration_type.rb
Overview
The type of authentication protocol or the VPC components for your event source's SourceAccessConfiguration.
Class Method Summary collapse
-
.BASIC_AUTH ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
(MQ) The Secrets Manager secret that stores your broker credentials.
-
.CLIENT_CERTIFICATE_TLS_AUTH ⇒ AWSCDK::Lambda::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.
- .jsii_overridable_methods ⇒ Object
-
.of(name) ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
A custom source access configuration property.
-
.SASL_SCRAM_256_AUTH ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your Self-Managed Apache Kafka brokers.
-
.SASL_SCRAM_512_AUTH ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers.
-
.SERVER_ROOT_CA_CERTIFICATE ⇒ AWSCDK::Lambda::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.
-
.VIRTUAL_HOST ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
The name of the virtual host in your RabbitMQ broker.
-
.VPC_SECURITY_GROUP ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
The VPC security group used to manage access to your Self-Managed Apache Kafka brokers.
-
.VPC_SUBNET ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
The subnets associated with your VPC.
Instance Method Summary collapse
-
#initialize(*args) ⇒ SourceAccessConfigurationType
constructor
A new instance of SourceAccessConfigurationType.
-
#type ⇒ String
The key to use in
SourceAccessConfigurationProperty.Typeproperty in CloudFormation.
Constructor Details
#initialize(*args) ⇒ SourceAccessConfigurationType
Returns a new instance of SourceAccessConfigurationType.
10 11 12 |
# File 'lambda/source_access_configuration_type.rb', line 10 def initialize(*args) raise NoMethodError, "aws-cdk-lib.aws_lambda.SourceAccessConfigurationType does not have a visible constructor; use the provided factory methods" end |
Class Method Details
.BASIC_AUTH ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
(MQ) The Secrets Manager secret that stores your broker credentials.
32 33 34 |
# File 'lambda/source_access_configuration_type.rb', line 32 def self.BASIC_AUTH() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_lambda.SourceAccessConfigurationType", "BASIC_AUTH") end |
.CLIENT_CERTIFICATE_TLS_AUTH ⇒ AWSCDK::Lambda::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.
39 40 41 |
# File 'lambda/source_access_configuration_type.rb', line 39 def self.CLIENT_CERTIFICATE_TLS_AUTH() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_lambda.SourceAccessConfigurationType", "CLIENT_CERTIFICATE_TLS_AUTH") end |
.jsii_overridable_methods ⇒ Object
14 15 16 17 18 |
# File 'lambda/source_access_configuration_type.rb', line 14 def self.jsii_overridable_methods { :type => { kind: :property, name: "type", is_optional: false }, } end |
.of(name) ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
A custom source access configuration property.
24 25 26 27 |
# File 'lambda/source_access_configuration_type.rb', line 24 def self.of(name) Jsii::Type.check_type(name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_lambda.SourceAccessConfigurationType", "of", [name]) end |
.SASL_SCRAM_256_AUTH ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your Self-Managed Apache Kafka brokers.
46 47 48 |
# File 'lambda/source_access_configuration_type.rb', line 46 def self.SASL_SCRAM_256_AUTH() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_lambda.SourceAccessConfigurationType", "SASL_SCRAM_256_AUTH") end |
.SASL_SCRAM_512_AUTH ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers.
53 54 55 |
# File 'lambda/source_access_configuration_type.rb', line 53 def self.SASL_SCRAM_512_AUTH() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_lambda.SourceAccessConfigurationType", "SASL_SCRAM_512_AUTH") end |
.SERVER_ROOT_CA_CERTIFICATE ⇒ AWSCDK::Lambda::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.
60 61 62 |
# File 'lambda/source_access_configuration_type.rb', line 60 def self.SERVER_ROOT_CA_CERTIFICATE() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_lambda.SourceAccessConfigurationType", "SERVER_ROOT_CA_CERTIFICATE") end |
.VIRTUAL_HOST ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
The name of the virtual host in your RabbitMQ broker.
Lambda uses this RabbitMQ host as the event source.
69 70 71 |
# File 'lambda/source_access_configuration_type.rb', line 69 def self.VIRTUAL_HOST() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_lambda.SourceAccessConfigurationType", "VIRTUAL_HOST") end |
.VPC_SECURITY_GROUP ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
The VPC security group used to manage access to your Self-Managed Apache Kafka brokers.
76 77 78 |
# File 'lambda/source_access_configuration_type.rb', line 76 def self.VPC_SECURITY_GROUP() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_lambda.SourceAccessConfigurationType", "VPC_SECURITY_GROUP") end |
.VPC_SUBNET ⇒ AWSCDK::Lambda::SourceAccessConfigurationType
The subnets associated with your VPC.
Lambda connects to these subnets to fetch data from your Self-Managed Apache Kafka cluster.
85 86 87 |
# File 'lambda/source_access_configuration_type.rb', line 85 def self.VPC_SUBNET() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_lambda.SourceAccessConfigurationType", "VPC_SUBNET") end |
Instance Method Details
#type ⇒ String
The key to use in SourceAccessConfigurationProperty.Type property in CloudFormation.
93 94 95 |
# File 'lambda/source_access_configuration_type.rb', line 93 def type() jsii_get_property("type") end |