-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnCluster_ScalingActionProperty.go
40 lines (37 loc) · 1.75 KB
/
CfnCluster_ScalingActionProperty.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
package awsemr
// `ScalingAction` is a subproperty of the `ScalingRule` property type.
//
// `ScalingAction` determines the type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
//
// 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"
//
// scalingActionProperty := &ScalingActionProperty{
// SimpleScalingPolicyConfiguration: &SimpleScalingPolicyConfigurationProperty{
// ScalingAdjustment: jsii.Number(123),
//
// // the properties below are optional
// AdjustmentType: jsii.String("adjustmentType"),
// CoolDown: jsii.Number(123),
// },
//
// // the properties below are optional
// Market: jsii.String("market"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-scalingaction.html
//
type CfnCluster_ScalingActionProperty struct {
// The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-scalingaction.html#cfn-emr-cluster-scalingaction-simplescalingpolicyconfiguration
//
SimpleScalingPolicyConfiguration interface{} `field:"required" json:"simpleScalingPolicyConfiguration" yaml:"simpleScalingPolicyConfiguration"`
// Not available for instance groups.
//
// Instance groups use the market type specified for the group.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-scalingaction.html#cfn-emr-cluster-scalingaction-market
//
Market *string `field:"optional" json:"market" yaml:"market"`
}