Class: AWSCDK::DataZone::CfnConnection::RedshiftStoragePropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnConnection::RedshiftStoragePropertiesProperty
- Defined in:
- data_zone/cfn_connection.rb
Overview
The Amazon Redshift storage properties.
Instance Attribute Summary collapse
-
#cluster_name ⇒ String?
readonly
The cluster name in the Amazon Redshift storage properties.
-
#workgroup_name ⇒ String?
readonly
The workgroup name in the Amazon Redshift storage properties.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cluster_name: nil, workgroup_name: nil) ⇒ RedshiftStoragePropertiesProperty
constructor
A new instance of RedshiftStoragePropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cluster_name: nil, workgroup_name: nil) ⇒ RedshiftStoragePropertiesProperty
Returns a new instance of RedshiftStoragePropertiesProperty.
1942 1943 1944 1945 1946 1947 |
# File 'data_zone/cfn_connection.rb', line 1942 def initialize(cluster_name: nil, workgroup_name: nil) @cluster_name = cluster_name Jsii::Type.check_type(@cluster_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterName") unless @cluster_name.nil? @workgroup_name = workgroup_name Jsii::Type.check_type(@workgroup_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "workgroupName") unless @workgroup_name.nil? end |
Instance Attribute Details
#cluster_name ⇒ String? (readonly)
The cluster name in the Amazon Redshift storage properties.
1953 1954 1955 |
# File 'data_zone/cfn_connection.rb', line 1953 def cluster_name @cluster_name end |
#workgroup_name ⇒ String? (readonly)
The workgroup name in the Amazon Redshift storage properties.
1958 1959 1960 |
# File 'data_zone/cfn_connection.rb', line 1958 def workgroup_name @workgroup_name end |
Class Method Details
.jsii_properties ⇒ Object
1960 1961 1962 1963 1964 1965 |
# File 'data_zone/cfn_connection.rb', line 1960 def self.jsii_properties { :cluster_name => "clusterName", :workgroup_name => "workgroupName", } end |
Instance Method Details
#to_jsii ⇒ Object
1967 1968 1969 1970 1971 1972 1973 1974 |
# File 'data_zone/cfn_connection.rb', line 1967 def to_jsii result = {} result.merge!({ "clusterName" => @cluster_name, "workgroupName" => @workgroup_name, }) result.compact end |