Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With the current release, you can suspend and later resume any of the…
… following scaling actions in Application Auto Scaling: scheduled scaling actions, dynamic scaling in actions, dynamic scaling out actions. This release of Amazon Elastic Container Service (Amazon ECS) introduces support for including Docker container IDs in the API response when describing and stopping tasks. This enables customers to easily map containers to the tasks they are associated with. Adds a "MaximumBatchingWindowInSeconds" parameter to event source mapping api's. Usable by Dynamodb and Kinesis event sources. Amazon ElastiCache for Redis now supports encryption at rest using customer managed customer master keys (CMKs) in AWS Key Management Service (KMS). Amazon ElastiCache now supports cluster names upto 40 characters for replicationGoups and upto 50 characters for cacheClusters. Introducing pipeline execution trigger details in ListPipelineExecutions API.
- Loading branch information
aws-sdk-cpp-automation
committed
Aug 29, 2019
1 parent
3eebcc3
commit d77abf6
Showing
63 changed files
with
2,452 additions
and
618 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
157 changes: 157 additions & 0 deletions
157
...pp-sdk-application-autoscaling/include/aws/application-autoscaling/model/SuspendedState.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
/* | ||
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h> | ||
|
||
namespace Aws | ||
{ | ||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
class JsonView; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace ApplicationAutoScaling | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p>Specifies whether the scaling activities for a scalable target are in a | ||
* suspended state. </p><p><h3>See Also:</h3> <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/SuspendedState">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class AWS_APPLICATIONAUTOSCALING_API SuspendedState | ||
{ | ||
public: | ||
SuspendedState(); | ||
SuspendedState(Aws::Utils::Json::JsonView jsonValue); | ||
SuspendedState& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
/** | ||
* <p>Whether scale in by a target tracking scaling policy or a step scaling policy | ||
* is suspended. Set the value to <code>true</code> if you don't want Application | ||
* Auto Scaling to remove capacity when a scaling policy is triggered. The default | ||
* is <code>false</code>. </p> | ||
*/ | ||
inline bool GetDynamicScalingInSuspended() const{ return m_dynamicScalingInSuspended; } | ||
|
||
/** | ||
* <p>Whether scale in by a target tracking scaling policy or a step scaling policy | ||
* is suspended. Set the value to <code>true</code> if you don't want Application | ||
* Auto Scaling to remove capacity when a scaling policy is triggered. The default | ||
* is <code>false</code>. </p> | ||
*/ | ||
inline bool DynamicScalingInSuspendedHasBeenSet() const { return m_dynamicScalingInSuspendedHasBeenSet; } | ||
|
||
/** | ||
* <p>Whether scale in by a target tracking scaling policy or a step scaling policy | ||
* is suspended. Set the value to <code>true</code> if you don't want Application | ||
* Auto Scaling to remove capacity when a scaling policy is triggered. The default | ||
* is <code>false</code>. </p> | ||
*/ | ||
inline void SetDynamicScalingInSuspended(bool value) { m_dynamicScalingInSuspendedHasBeenSet = true; m_dynamicScalingInSuspended = value; } | ||
|
||
/** | ||
* <p>Whether scale in by a target tracking scaling policy or a step scaling policy | ||
* is suspended. Set the value to <code>true</code> if you don't want Application | ||
* Auto Scaling to remove capacity when a scaling policy is triggered. The default | ||
* is <code>false</code>. </p> | ||
*/ | ||
inline SuspendedState& WithDynamicScalingInSuspended(bool value) { SetDynamicScalingInSuspended(value); return *this;} | ||
|
||
|
||
/** | ||
* <p>Whether scale out by a target tracking scaling policy or a step scaling | ||
* policy is suspended. Set the value to <code>true</code> if you don't want | ||
* Application Auto Scaling to add capacity when a scaling policy is triggered. The | ||
* default is <code>false</code>. </p> | ||
*/ | ||
inline bool GetDynamicScalingOutSuspended() const{ return m_dynamicScalingOutSuspended; } | ||
|
||
/** | ||
* <p>Whether scale out by a target tracking scaling policy or a step scaling | ||
* policy is suspended. Set the value to <code>true</code> if you don't want | ||
* Application Auto Scaling to add capacity when a scaling policy is triggered. The | ||
* default is <code>false</code>. </p> | ||
*/ | ||
inline bool DynamicScalingOutSuspendedHasBeenSet() const { return m_dynamicScalingOutSuspendedHasBeenSet; } | ||
|
||
/** | ||
* <p>Whether scale out by a target tracking scaling policy or a step scaling | ||
* policy is suspended. Set the value to <code>true</code> if you don't want | ||
* Application Auto Scaling to add capacity when a scaling policy is triggered. The | ||
* default is <code>false</code>. </p> | ||
*/ | ||
inline void SetDynamicScalingOutSuspended(bool value) { m_dynamicScalingOutSuspendedHasBeenSet = true; m_dynamicScalingOutSuspended = value; } | ||
|
||
/** | ||
* <p>Whether scale out by a target tracking scaling policy or a step scaling | ||
* policy is suspended. Set the value to <code>true</code> if you don't want | ||
* Application Auto Scaling to add capacity when a scaling policy is triggered. The | ||
* default is <code>false</code>. </p> | ||
*/ | ||
inline SuspendedState& WithDynamicScalingOutSuspended(bool value) { SetDynamicScalingOutSuspended(value); return *this;} | ||
|
||
|
||
/** | ||
* <p>Whether scheduled scaling is suspended. Set the value to <code>true</code> if | ||
* you don't want Application Auto Scaling to add or remove capacity by initiating | ||
* scheduled actions. The default is <code>false</code>. </p> | ||
*/ | ||
inline bool GetScheduledScalingSuspended() const{ return m_scheduledScalingSuspended; } | ||
|
||
/** | ||
* <p>Whether scheduled scaling is suspended. Set the value to <code>true</code> if | ||
* you don't want Application Auto Scaling to add or remove capacity by initiating | ||
* scheduled actions. The default is <code>false</code>. </p> | ||
*/ | ||
inline bool ScheduledScalingSuspendedHasBeenSet() const { return m_scheduledScalingSuspendedHasBeenSet; } | ||
|
||
/** | ||
* <p>Whether scheduled scaling is suspended. Set the value to <code>true</code> if | ||
* you don't want Application Auto Scaling to add or remove capacity by initiating | ||
* scheduled actions. The default is <code>false</code>. </p> | ||
*/ | ||
inline void SetScheduledScalingSuspended(bool value) { m_scheduledScalingSuspendedHasBeenSet = true; m_scheduledScalingSuspended = value; } | ||
|
||
/** | ||
* <p>Whether scheduled scaling is suspended. Set the value to <code>true</code> if | ||
* you don't want Application Auto Scaling to add or remove capacity by initiating | ||
* scheduled actions. The default is <code>false</code>. </p> | ||
*/ | ||
inline SuspendedState& WithScheduledScalingSuspended(bool value) { SetScheduledScalingSuspended(value); return *this;} | ||
|
||
private: | ||
|
||
bool m_dynamicScalingInSuspended; | ||
bool m_dynamicScalingInSuspendedHasBeenSet; | ||
|
||
bool m_dynamicScalingOutSuspended; | ||
bool m_dynamicScalingOutSuspendedHasBeenSet; | ||
|
||
bool m_scheduledScalingSuspended; | ||
bool m_scheduledScalingSuspendedHasBeenSet; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace ApplicationAutoScaling | ||
} // namespace Aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.