Interface CfnScheduledAction.ScheduledActionTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScheduledAction.ScheduledActionTypeProperty.Jsii$Proxy
- Enclosing class:
CfnScheduledAction
@Stability(Stable)
public static interface CfnScheduledAction.ScheduledActionTypeProperty
extends software.amazon.jsii.JsiiSerializable
The action type that specifies an Amazon Redshift API operation that is supported by the Amazon Redshift scheduler.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.redshift.*;
ScheduledActionTypeProperty scheduledActionTypeProperty = ScheduledActionTypeProperty.builder()
.pauseCluster(PauseClusterMessageProperty.builder()
.clusterIdentifier("clusterIdentifier")
.build())
.resizeCluster(ResizeClusterMessageProperty.builder()
.clusterIdentifier("clusterIdentifier")
// the properties below are optional
.classic(false)
.clusterType("clusterType")
.nodeType("nodeType")
.numberOfNodes(123)
.build())
.resumeCluster(ResumeClusterMessageProperty.builder()
.clusterIdentifier("clusterIdentifier")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnScheduledAction.ScheduledActionTypePropertystatic final classAn implementation forCfnScheduledAction.ScheduledActionTypeProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPauseCluster
An action that runs aPauseClusterAPI operation.- See Also:
-
getResizeCluster
An action that runs aResizeClusterAPI operation.- See Also:
-
getResumeCluster
An action that runs aResumeClusterAPI operation.- See Also:
-
builder
-