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