Class: AWSCDK::Redshift::CfnScheduledAction::ResumeClusterMessageProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Redshift::CfnScheduledAction::ResumeClusterMessageProperty
- Defined in:
- redshift/cfn_scheduled_action.rb
Overview
Describes a resume cluster operation.
For example, a scheduled action to run the ResumeCluster API operation.
Instance Attribute Summary collapse
-
#cluster_identifier ⇒ String
readonly
The identifier of the cluster to be resumed.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cluster_identifier:) ⇒ ResumeClusterMessageProperty
constructor
A new instance of ResumeClusterMessageProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cluster_identifier:) ⇒ ResumeClusterMessageProperty
Returns a new instance of ResumeClusterMessageProperty.
722 723 724 725 |
# File 'redshift/cfn_scheduled_action.rb', line 722 def initialize(cluster_identifier:) @cluster_identifier = cluster_identifier Jsii::Type.check_type(@cluster_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterIdentifier") end |
Instance Attribute Details
#cluster_identifier ⇒ String (readonly)
The identifier of the cluster to be resumed.
731 732 733 |
# File 'redshift/cfn_scheduled_action.rb', line 731 def cluster_identifier @cluster_identifier end |
Class Method Details
.jsii_properties ⇒ Object
733 734 735 736 737 |
# File 'redshift/cfn_scheduled_action.rb', line 733 def self.jsii_properties { :cluster_identifier => "clusterIdentifier", } end |
Instance Method Details
#to_jsii ⇒ Object
739 740 741 742 743 744 745 |
# File 'redshift/cfn_scheduled_action.rb', line 739 def to_jsii result = {} result.merge!({ "clusterIdentifier" => @cluster_identifier, }) result.compact end |