Class: AWSCDK::Lambda::CfnEventSourceMapping::SchemaValidationConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lambda::CfnEventSourceMapping::SchemaValidationConfigProperty
- Defined in:
- lambda/cfn_event_source_mapping.rb
Overview
Specific schema validation configuration settings that tell Lambda the message attributes you want to validate and filter using your schema registry.
Instance Attribute Summary collapse
-
#attribute ⇒ String?
readonly
The attributes you want your schema registry to validate and filter for.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attribute: nil) ⇒ SchemaValidationConfigProperty
constructor
A new instance of SchemaValidationConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(attribute: nil) ⇒ SchemaValidationConfigProperty
Returns a new instance of SchemaValidationConfigProperty.
1463 1464 1465 1466 |
# File 'lambda/cfn_event_source_mapping.rb', line 1463 def initialize(attribute: nil) @attribute = attribute Jsii::Type.check_type(@attribute, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attribute") unless @attribute.nil? end |
Instance Attribute Details
#attribute ⇒ String? (readonly)
The attributes you want your schema registry to validate and filter for.
If you selected JSON as the EventRecordFormat , Lambda also deserializes the selected message attributes.
1474 1475 1476 |
# File 'lambda/cfn_event_source_mapping.rb', line 1474 def attribute @attribute end |
Class Method Details
.jsii_properties ⇒ Object
1476 1477 1478 1479 1480 |
# File 'lambda/cfn_event_source_mapping.rb', line 1476 def self.jsii_properties { :attribute => "attribute", } end |
Instance Method Details
#to_jsii ⇒ Object
1482 1483 1484 1485 1486 1487 1488 |
# File 'lambda/cfn_event_source_mapping.rb', line 1482 def to_jsii result = {} result.merge!({ "attribute" => @attribute, }) result.compact end |