Class: AWSCDK::DataZone::CfnDataSource::RedshiftServerlessStorageProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_zone/cfn_data_source.rb

Overview

The details of the Amazon Redshift Serverless workgroup storage.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(workgroup_name:) ⇒ RedshiftServerlessStorageProperty

Returns a new instance of RedshiftServerlessStorageProperty.

Parameters:

  • workgroup_name (String)

    The name of the Amazon Redshift Serverless workgroup.



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_nameString (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_propertiesObject



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_jsiiObject



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