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