Class: AWSCDK::Interfaces::AWSGlue::SchemaVersionReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSGlue::SchemaVersionReference
- Defined in:
- interfaces/aws_glue/schema_version_reference.rb
Overview
A reference to a SchemaVersion resource.
Instance Attribute Summary collapse
-
#version_id ⇒ String
readonly
The VersionId of the SchemaVersion resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(version_id:) ⇒ SchemaVersionReference
constructor
A new instance of SchemaVersionReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(version_id:) ⇒ SchemaVersionReference
Returns a new instance of SchemaVersionReference.
8 9 10 11 |
# File 'interfaces/aws_glue/schema_version_reference.rb', line 8 def initialize(version_id:) @version_id = version_id Jsii::Type.check_type(@version_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "versionId") end |
Instance Attribute Details
#version_id ⇒ String (readonly)
The VersionId of the SchemaVersion resource.
16 17 18 |
# File 'interfaces/aws_glue/schema_version_reference.rb', line 16 def version_id @version_id end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_glue/schema_version_reference.rb', line 18 def self.jsii_properties { :version_id => "versionId", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_glue/schema_version_reference.rb', line 24 def to_jsii result = {} result.merge!({ "versionId" => @version_id, }) result.compact end |