Class: AWSCDK::DataZone::CfnDataSource::RedshiftClusterStorageProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnDataSource::RedshiftClusterStorageProperty
- Defined in:
- data_zone/cfn_data_source.rb
Overview
The details of the Amazon Redshift cluster storage.
Instance Attribute Summary collapse
-
#cluster_name ⇒ String
readonly
The name of an Amazon Redshift cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cluster_name:) ⇒ RedshiftClusterStorageProperty
constructor
A new instance of RedshiftClusterStorageProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cluster_name:) ⇒ RedshiftClusterStorageProperty
Returns a new instance of RedshiftClusterStorageProperty.
1001 1002 1003 1004 |
# File 'data_zone/cfn_data_source.rb', line 1001 def initialize(cluster_name:) @cluster_name = cluster_name Jsii::Type.check_type(@cluster_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterName") end |
Instance Attribute Details
#cluster_name ⇒ String (readonly)
The name of an Amazon Redshift cluster.
1010 1011 1012 |
# File 'data_zone/cfn_data_source.rb', line 1010 def cluster_name @cluster_name end |
Class Method Details
.jsii_properties ⇒ Object
1012 1013 1014 1015 1016 |
# File 'data_zone/cfn_data_source.rb', line 1012 def self.jsii_properties { :cluster_name => "clusterName", } end |
Instance Method Details
#to_jsii ⇒ Object
1018 1019 1020 1021 1022 1023 1024 |
# File 'data_zone/cfn_data_source.rb', line 1018 def to_jsii result = {} result.merge!({ "clusterName" => @cluster_name, }) result.compact end |