Class: AWSCDK::Lambda::CfnEventSourceMapping::SchemaRegistryAccessConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lambda::CfnEventSourceMapping::SchemaRegistryAccessConfigProperty
- Defined in:
- lambda/cfn_event_source_mapping.rb
Overview
Specific access configuration settings that tell Lambda how to authenticate with your schema registry.
If you're working with an AWS Glue schema registry, don't provide authentication details in this object. Instead, ensure that your execution role has the required permissions for Lambda to access your cluster.
If you're working with a Confluent schema registry, choose the authentication method in the Type field, and provide the AWS Secrets Manager secret ARN in the URI field.
Instance Attribute Summary collapse
-
#type ⇒ String?
readonly
The type of authentication Lambda uses to access your schema registry.
-
#uri ⇒ String?
readonly
The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: nil, uri: nil) ⇒ SchemaRegistryAccessConfigProperty
constructor
A new instance of SchemaRegistryAccessConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type: nil, uri: nil) ⇒ SchemaRegistryAccessConfigProperty
Returns a new instance of SchemaRegistryAccessConfigProperty.
1352 1353 1354 1355 1356 1357 |
# File 'lambda/cfn_event_source_mapping.rb', line 1352 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 Lambda uses to access your schema registry.
1363 1364 1365 |
# File 'lambda/cfn_event_source_mapping.rb', line 1363 def type @type end |
#uri ⇒ String? (readonly)
The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.
1368 1369 1370 |
# File 'lambda/cfn_event_source_mapping.rb', line 1368 def uri @uri end |
Class Method Details
.jsii_properties ⇒ Object
1370 1371 1372 1373 1374 1375 |
# File 'lambda/cfn_event_source_mapping.rb', line 1370 def self.jsii_properties { :type => "type", :uri => "uri", } end |
Instance Method Details
#to_jsii ⇒ Object
1377 1378 1379 1380 1381 1382 1383 1384 |
# File 'lambda/cfn_event_source_mapping.rb', line 1377 def to_jsii result = {} result.merge!({ "type" => @type, "uri" => @uri, }) result.compact end |