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