Class: AWSCDK::Lambda::CfnEventSourceMapping::SourceAccessConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lambda::CfnEventSourceMapping::SourceAccessConfigurationProperty
- Defined in:
- lambda/cfn_event_source_mapping.rb
Overview
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
Instance Attribute Summary collapse
-
#type ⇒ String?
readonly
The type of authentication protocol, VPC components, or virtual host for your event source.
-
#uri ⇒ String?
readonly
The value for your chosen configuration in
Type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: nil, uri: nil) ⇒ SourceAccessConfigurationProperty
constructor
A new instance of SourceAccessConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type: nil, uri: nil) ⇒ SourceAccessConfigurationProperty
Returns a new instance of SourceAccessConfigurationProperty.
1577 1578 1579 1580 1581 1582 |
# File 'lambda/cfn_event_source_mapping.rb', line 1577 def initialize(type: nil, uri: nil) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? @uri = uri Jsii::Type.check_type(@uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "uri") unless @uri.nil? end |
Instance Attribute Details
#type ⇒ String? (readonly)
The type of authentication protocol, VPC components, or virtual host for your event source. For example: "Type":"SASL_SCRAM_512_AUTH" .
BASIC_AUTH– (Amazon MQ) The AWS Secrets Manager secret that stores your broker credentials.BASIC_AUTH– (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.VPC_SUBNET– (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.VPC_SECURITY_GROUP– (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.SASL_SCRAM_256_AUTH– (Self-managed Apache Kafka) 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– (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.VIRTUAL_HOST–- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call.CLIENT_CERTIFICATE_TLS_AUTH– (Amazon MSK, self-managed Apache Kafka) 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.SERVER_ROOT_CA_CERTIFICATE– (Self-managed Apache Kafka) 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.
1598 1599 1600 |
# File 'lambda/cfn_event_source_mapping.rb', line 1598 def type @type end |
#uri ⇒ String? (readonly)
The value for your chosen configuration in Type .
For example: "URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName" .
1605 1606 1607 |
# File 'lambda/cfn_event_source_mapping.rb', line 1605 def uri @uri end |
Class Method Details
.jsii_properties ⇒ Object
1607 1608 1609 1610 1611 1612 |
# File 'lambda/cfn_event_source_mapping.rb', line 1607 def self.jsii_properties { :type => "type", :uri => "uri", } end |
Instance Method Details
#to_jsii ⇒ Object
1614 1615 1616 1617 1618 1619 1620 1621 |
# File 'lambda/cfn_event_source_mapping.rb', line 1614 def to_jsii result = {} result.merge!({ "type" => @type, "uri" => @uri, }) result.compact end |