Class: AWSCDK::Redshift::CfnScheduledAction::PauseClusterMessageProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Redshift::CfnScheduledAction::PauseClusterMessageProperty
- Defined in:
- redshift/cfn_scheduled_action.rb
Overview
Describes a pause cluster operation.
For example, a scheduled action to run the PauseCluster API operation.
Instance Attribute Summary collapse
-
#cluster_identifier ⇒ String
readonly
The identifier of the cluster to be paused.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cluster_identifier:) ⇒ PauseClusterMessageProperty
constructor
A new instance of PauseClusterMessageProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cluster_identifier:) ⇒ PauseClusterMessageProperty
Returns a new instance of PauseClusterMessageProperty.
606 607 608 609 |
# File 'redshift/cfn_scheduled_action.rb', line 606 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 paused.
615 616 617 |
# File 'redshift/cfn_scheduled_action.rb', line 615 def cluster_identifier @cluster_identifier end |
Class Method Details
.jsii_properties ⇒ Object
617 618 619 620 621 |
# File 'redshift/cfn_scheduled_action.rb', line 617 def self.jsii_properties { :cluster_identifier => "clusterIdentifier", } end |
Instance Method Details
#to_jsii ⇒ Object
623 624 625 626 627 628 629 |
# File 'redshift/cfn_scheduled_action.rb', line 623 def to_jsii result = {} result.merge!({ "clusterIdentifier" => @cluster_identifier, }) result.compact end |