/
CfnScheduledAction_ScheduledActionTypeProperty.go
45 lines (42 loc) · 2.17 KB
/
CfnScheduledAction_ScheduledActionTypeProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package awsredshift
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// scheduledActionTypeProperty := &ScheduledActionTypeProperty{
// PauseCluster: &PauseClusterMessageProperty{
// ClusterIdentifier: jsii.String("clusterIdentifier"),
// },
// ResizeCluster: &ResizeClusterMessageProperty{
// ClusterIdentifier: jsii.String("clusterIdentifier"),
//
// // the properties below are optional
// Classic: jsii.Boolean(false),
// ClusterType: jsii.String("clusterType"),
// NodeType: jsii.String("nodeType"),
// NumberOfNodes: jsii.Number(123),
// },
// ResumeCluster: &ResumeClusterMessageProperty{
// ClusterIdentifier: jsii.String("clusterIdentifier"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-scheduledactiontype.html
//
type CfnScheduledAction_ScheduledActionTypeProperty struct {
// An action that runs a `PauseCluster` API operation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-scheduledactiontype.html#cfn-redshift-scheduledaction-scheduledactiontype-pausecluster
//
PauseCluster interface{} `field:"optional" json:"pauseCluster" yaml:"pauseCluster"`
// An action that runs a `ResizeCluster` API operation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-scheduledactiontype.html#cfn-redshift-scheduledaction-scheduledactiontype-resizecluster
//
ResizeCluster interface{} `field:"optional" json:"resizeCluster" yaml:"resizeCluster"`
// An action that runs a `ResumeCluster` API operation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-scheduledactiontype.html#cfn-redshift-scheduledaction-scheduledactiontype-resumecluster
//
ResumeCluster interface{} `field:"optional" json:"resumeCluster" yaml:"resumeCluster"`
}