Class: AWSCDK::Interfaces::AWSGlue::SchemaVersionMetadataReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSGlue::SchemaVersionMetadataReference
- Defined in:
- interfaces/aws_glue/schema_version_metadata_reference.rb
Overview
A reference to a SchemaVersionMetadata resource.
Instance Attribute Summary collapse
-
#key ⇒ String
readonly
The Key of the SchemaVersionMetadata resource.
-
#schema_version_id ⇒ String
readonly
The SchemaVersionId of the SchemaVersionMetadata resource.
-
#value ⇒ String
readonly
The Value of the SchemaVersionMetadata resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, schema_version_id:, value:) ⇒ SchemaVersionMetadataReference
constructor
A new instance of SchemaVersionMetadataReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, schema_version_id:, value:) ⇒ SchemaVersionMetadataReference
Returns a new instance of SchemaVersionMetadataReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_glue/schema_version_metadata_reference.rb', line 10 def initialize(key:, schema_version_id:, value:) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @schema_version_id = schema_version_id Jsii::Type.check_type(@schema_version_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "schemaVersionId") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#key ⇒ String (readonly)
The Key of the SchemaVersionMetadata resource.
22 23 24 |
# File 'interfaces/aws_glue/schema_version_metadata_reference.rb', line 22 def key @key end |
#schema_version_id ⇒ String (readonly)
The SchemaVersionId of the SchemaVersionMetadata resource.
26 27 28 |
# File 'interfaces/aws_glue/schema_version_metadata_reference.rb', line 26 def schema_version_id @schema_version_id end |
#value ⇒ String (readonly)
The Value of the SchemaVersionMetadata resource.
30 31 32 |
# File 'interfaces/aws_glue/schema_version_metadata_reference.rb', line 30 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_glue/schema_version_metadata_reference.rb', line 32 def self.jsii_properties { :key => "key", :schema_version_id => "schemaVersionId", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_glue/schema_version_metadata_reference.rb', line 40 def to_jsii result = {} result.merge!({ "key" => @key, "schemaVersionId" => @schema_version_id, "value" => @value, }) result.compact end |