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