Class: AWSCDK::DataZone::CfnDataSource::RedshiftServerlessStorageProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnDataSource::RedshiftServerlessStorageProperty
- Defined in:
- data_zone/cfn_data_source.rb
Overview
The details of the Amazon Redshift Serverless workgroup storage.
Instance Attribute Summary collapse
-
#workgroup_name ⇒ String
readonly
The name of the Amazon Redshift Serverless workgroup.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(workgroup_name:) ⇒ RedshiftServerlessStorageProperty
constructor
A new instance of RedshiftServerlessStorageProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(workgroup_name:) ⇒ RedshiftServerlessStorageProperty
Returns a new instance of RedshiftServerlessStorageProperty.
1130 1131 1132 1133 |
# File 'data_zone/cfn_data_source.rb', line 1130 def initialize(workgroup_name:) @workgroup_name = workgroup_name Jsii::Type.check_type(@workgroup_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "workgroupName") end |
Instance Attribute Details
#workgroup_name ⇒ String (readonly)
The name of the Amazon Redshift Serverless workgroup.
1139 1140 1141 |
# File 'data_zone/cfn_data_source.rb', line 1139 def workgroup_name @workgroup_name end |
Class Method Details
.jsii_properties ⇒ Object
1141 1142 1143 1144 1145 |
# File 'data_zone/cfn_data_source.rb', line 1141 def self.jsii_properties { :workgroup_name => "workgroupName", } end |
Instance Method Details
#to_jsii ⇒ Object
1147 1148 1149 1150 1151 1152 1153 |
# File 'data_zone/cfn_data_source.rb', line 1147 def to_jsii result = {} result.merge!({ "workgroupName" => @workgroup_name, }) result.compact end |