-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsapplicationautoscaling_CfnScalableTarget_SuspendedStateProperty.go
31 lines (28 loc) · 1.86 KB
/
awsapplicationautoscaling_CfnScalableTarget_SuspendedStateProperty.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
package awsapplicationautoscaling
// `SuspendedState` is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies whether the scaling activities for a scalable target are in a suspended state.
//
// 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"
//
// suspendedStateProperty := &suspendedStateProperty{
// dynamicScalingInSuspended: jsii.Boolean(false),
// dynamicScalingOutSuspended: jsii.Boolean(false),
// scheduledScalingSuspended: jsii.Boolean(false),
// }
//
type CfnScalableTarget_SuspendedStateProperty struct {
// Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.
//
// Set the value to `true` if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is `false` .
DynamicScalingInSuspended interface{} `field:"optional" json:"dynamicScalingInSuspended" yaml:"dynamicScalingInSuspended"`
// Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.
//
// Set the value to `true` if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is `false` .
DynamicScalingOutSuspended interface{} `field:"optional" json:"dynamicScalingOutSuspended" yaml:"dynamicScalingOutSuspended"`
// Whether scheduled scaling is suspended.
//
// Set the value to `true` if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is `false` .
ScheduledScalingSuspended interface{} `field:"optional" json:"scheduledScalingSuspended" yaml:"scheduledScalingSuspended"`
}