AWS SDK for C++  1.8.51
AWS SDK for C++
Public Member Functions | List of all members
Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest Class Reference

#include <PutScalingPolicyRequest.h>

+ Inheritance diagram for Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest:

Public Member Functions

 PutScalingPolicyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetPolicyName () const
 
bool PolicyNameHasBeenSet () const
 
void SetPolicyName (const Aws::String &value)
 
void SetPolicyName (Aws::String &&value)
 
void SetPolicyName (const char *value)
 
PutScalingPolicyRequestWithPolicyName (const Aws::String &value)
 
PutScalingPolicyRequestWithPolicyName (Aws::String &&value)
 
PutScalingPolicyRequestWithPolicyName (const char *value)
 
const ServiceNamespaceGetServiceNamespace () const
 
bool ServiceNamespaceHasBeenSet () const
 
void SetServiceNamespace (const ServiceNamespace &value)
 
void SetServiceNamespace (ServiceNamespace &&value)
 
PutScalingPolicyRequestWithServiceNamespace (const ServiceNamespace &value)
 
PutScalingPolicyRequestWithServiceNamespace (ServiceNamespace &&value)
 
const Aws::StringGetResourceId () const
 
bool ResourceIdHasBeenSet () const
 
void SetResourceId (const Aws::String &value)
 
void SetResourceId (Aws::String &&value)
 
void SetResourceId (const char *value)
 
PutScalingPolicyRequestWithResourceId (const Aws::String &value)
 
PutScalingPolicyRequestWithResourceId (Aws::String &&value)
 
PutScalingPolicyRequestWithResourceId (const char *value)
 
const ScalableDimensionGetScalableDimension () const
 
bool ScalableDimensionHasBeenSet () const
 
void SetScalableDimension (const ScalableDimension &value)
 
void SetScalableDimension (ScalableDimension &&value)
 
PutScalingPolicyRequestWithScalableDimension (const ScalableDimension &value)
 
PutScalingPolicyRequestWithScalableDimension (ScalableDimension &&value)
 
const PolicyTypeGetPolicyType () const
 
bool PolicyTypeHasBeenSet () const
 
void SetPolicyType (const PolicyType &value)
 
void SetPolicyType (PolicyType &&value)
 
PutScalingPolicyRequestWithPolicyType (const PolicyType &value)
 
PutScalingPolicyRequestWithPolicyType (PolicyType &&value)
 
const StepScalingPolicyConfigurationGetStepScalingPolicyConfiguration () const
 
bool StepScalingPolicyConfigurationHasBeenSet () const
 
void SetStepScalingPolicyConfiguration (const StepScalingPolicyConfiguration &value)
 
void SetStepScalingPolicyConfiguration (StepScalingPolicyConfiguration &&value)
 
PutScalingPolicyRequestWithStepScalingPolicyConfiguration (const StepScalingPolicyConfiguration &value)
 
PutScalingPolicyRequestWithStepScalingPolicyConfiguration (StepScalingPolicyConfiguration &&value)
 
const TargetTrackingScalingPolicyConfigurationGetTargetTrackingScalingPolicyConfiguration () const
 
bool TargetTrackingScalingPolicyConfigurationHasBeenSet () const
 
void SetTargetTrackingScalingPolicyConfiguration (const TargetTrackingScalingPolicyConfiguration &value)
 
void SetTargetTrackingScalingPolicyConfiguration (TargetTrackingScalingPolicyConfiguration &&value)
 
PutScalingPolicyRequestWithTargetTrackingScalingPolicyConfiguration (const TargetTrackingScalingPolicyConfiguration &value)
 
PutScalingPolicyRequestWithTargetTrackingScalingPolicyConfiguration (TargetTrackingScalingPolicyConfiguration &&value)
 
- Public Member Functions inherited from Aws::ApplicationAutoScaling::ApplicationAutoScalingRequest
virtual ~ApplicationAutoScalingRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 26 of file PutScalingPolicyRequest.h.

Constructor & Destructor Documentation

◆ PutScalingPolicyRequest()

Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::PutScalingPolicyRequest ( )

Member Function Documentation

◆ GetPolicyName()

const Aws::String& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::GetPolicyName ( ) const
inline

The name of the scaling policy.

Definition at line 45 of file PutScalingPolicyRequest.h.

◆ GetPolicyType()

const PolicyType& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::GetPolicyType ( ) const
inline

The policy type. This parameter is required if you are creating a scaling policy.

The following policy types are supported:

TargetTrackingScaling—Not supported for Amazon EMR

StepScaling—Not supported for DynamoDB, Amazon Comprehend, Lambda, or Amazon Keyspaces (for Apache Cassandra).

For more information, see Target Tracking Scaling Policies and Step Scaling Policies in the Application Auto Scaling User Guide.

Definition at line 699 of file PutScalingPolicyRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetResourceId()

const Aws::String& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::GetResourceId ( ) const
inline

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

  • ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp.

  • Spot Fleet request

    • The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.

  • EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.

  • AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.

  • DynamoDB table - The resource type is table and the unique identifier is the table name. Example: table/my-table.

  • DynamoDB global secondary index - The resource type is index and the unique identifier is the index name. Example: table/my-table/index/my-table-index.

  • Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster.

  • Amazon SageMaker endpoint variant - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering.

  • Custom resources are not supported with a resource type. This parameter must specify the OutputValue from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.

  • Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE.

  • Lambda provisioned concurrency - The resource type is function and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST. Example: function:my-function:prod or function:my-function:1.

  • Amazon Keyspaces table - The resource type is table and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable.

Definition at line 167 of file PutScalingPolicyRequest.h.

◆ GetScalableDimension()

const ScalableDimension& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::GetScalableDimension ( ) const
inline

The scalable dimension. This string consists of the service namespace, resource type, and scaling property.

  • ecs:service:DesiredCount - The desired task count of an ECS service.

  • ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet request.

  • elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.

  • appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.

  • dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table.

  • dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table.

  • dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index.

  • dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index.

  • rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.

  • sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.

  • custom-resource:ResourceType:Property - The scalable dimension for a custom resource provided by your own application or service.

  • comprehend:document-classifier-endpoint:DesiredInferenceUnits - The number of inference units for an Amazon Comprehend document classification endpoint.

  • lambda:function:ProvisionedConcurrency

    • The provisioned concurrency for a Lambda function.

  • cassandra:table:ReadCapacityUnits - The provisioned read capacity for an Amazon Keyspaces table.

  • cassandra:table:WriteCapacityUnits - The provisioned write capacity for an Amazon Keyspaces table.

Definition at line 505 of file PutScalingPolicyRequest.h.

◆ GetServiceNamespace()

const ServiceNamespace& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::GetServiceNamespace ( ) const
inline

The namespace of the AWS service that provides the resource. For a resource provided by your own application or service, use custom-resource instead.

Definition at line 88 of file PutScalingPolicyRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 35 of file PutScalingPolicyRequest.h.

◆ GetStepScalingPolicyConfiguration()

const StepScalingPolicyConfiguration& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::GetStepScalingPolicyConfiguration ( ) const
inline

A step scaling policy.

This parameter is required if you are creating a policy and the policy type is StepScaling.

Definition at line 771 of file PutScalingPolicyRequest.h.

◆ GetTargetTrackingScalingPolicyConfiguration()

const TargetTrackingScalingPolicyConfiguration& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::GetTargetTrackingScalingPolicyConfiguration ( ) const
inline

A target tracking scaling policy. Includes support for predefined or customized metrics.

This parameter is required if you are creating a policy and the policy type is TargetTrackingScaling.

Definition at line 809 of file PutScalingPolicyRequest.h.

◆ PolicyNameHasBeenSet()

bool Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::PolicyNameHasBeenSet ( ) const
inline

The name of the scaling policy.

Definition at line 50 of file PutScalingPolicyRequest.h.

◆ PolicyTypeHasBeenSet()

bool Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::PolicyTypeHasBeenSet ( ) const
inline

The policy type. This parameter is required if you are creating a scaling policy.

The following policy types are supported:

TargetTrackingScaling—Not supported for Amazon EMR

StepScaling—Not supported for DynamoDB, Amazon Comprehend, Lambda, or Amazon Keyspaces (for Apache Cassandra).

For more information, see Target Tracking Scaling Policies and Step Scaling Policies in the Application Auto Scaling User Guide.

Definition at line 712 of file PutScalingPolicyRequest.h.

◆ ResourceIdHasBeenSet()

bool Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::ResourceIdHasBeenSet ( ) const
inline

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

  • ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp.

  • Spot Fleet request

    • The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.

  • EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.

  • AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.

  • DynamoDB table - The resource type is table and the unique identifier is the table name. Example: table/my-table.

  • DynamoDB global secondary index - The resource type is index and the unique identifier is the index name. Example: table/my-table/index/my-table-index.

  • Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster.

  • Amazon SageMaker endpoint variant - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering.

  • Custom resources are not supported with a resource type. This parameter must specify the OutputValue from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.

  • Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE.

  • Lambda provisioned concurrency - The resource type is function and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST. Example: function:my-function:prod or function:my-function:1.

  • Amazon Keyspaces table - The resource type is table and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable.

Definition at line 210 of file PutScalingPolicyRequest.h.

◆ ScalableDimensionHasBeenSet()

bool Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::ScalableDimensionHasBeenSet ( ) const
inline

The scalable dimension. This string consists of the service namespace, resource type, and scaling property.

  • ecs:service:DesiredCount - The desired task count of an ECS service.

  • ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet request.

  • elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.

  • appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.

  • dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table.

  • dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table.

  • dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index.

  • dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index.

  • rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.

  • sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.

  • custom-resource:ResourceType:Property - The scalable dimension for a custom resource provided by your own application or service.

  • comprehend:document-classifier-endpoint:DesiredInferenceUnits - The number of inference units for an Amazon Comprehend document classification endpoint.

  • lambda:function:ProvisionedConcurrency

    • The provisioned concurrency for a Lambda function.

  • cassandra:table:ReadCapacityUnits - The provisioned read capacity for an Amazon Keyspaces table.

  • cassandra:table:WriteCapacityUnits - The provisioned write capacity for an Amazon Keyspaces table.

Definition at line 541 of file PutScalingPolicyRequest.h.

◆ SerializePayload()

Aws::String Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ ServiceNamespaceHasBeenSet()

bool Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::ServiceNamespaceHasBeenSet ( ) const
inline

The namespace of the AWS service that provides the resource. For a resource provided by your own application or service, use custom-resource instead.

Definition at line 95 of file PutScalingPolicyRequest.h.

◆ SetPolicyName() [1/3]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetPolicyName ( const Aws::String value)
inline

The name of the scaling policy.

Definition at line 55 of file PutScalingPolicyRequest.h.

◆ SetPolicyName() [2/3]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetPolicyName ( Aws::String &&  value)
inline

The name of the scaling policy.

Definition at line 60 of file PutScalingPolicyRequest.h.

◆ SetPolicyName() [3/3]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetPolicyName ( const char *  value)
inline

The name of the scaling policy.

Definition at line 65 of file PutScalingPolicyRequest.h.

◆ SetPolicyType() [1/2]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetPolicyType ( const PolicyType value)
inline

The policy type. This parameter is required if you are creating a scaling policy.

The following policy types are supported:

TargetTrackingScaling—Not supported for Amazon EMR

StepScaling—Not supported for DynamoDB, Amazon Comprehend, Lambda, or Amazon Keyspaces (for Apache Cassandra).

For more information, see Target Tracking Scaling Policies and Step Scaling Policies in the Application Auto Scaling User Guide.

Definition at line 725 of file PutScalingPolicyRequest.h.

◆ SetPolicyType() [2/2]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetPolicyType ( PolicyType &&  value)
inline

The policy type. This parameter is required if you are creating a scaling policy.

The following policy types are supported:

TargetTrackingScaling—Not supported for Amazon EMR

StepScaling—Not supported for DynamoDB, Amazon Comprehend, Lambda, or Amazon Keyspaces (for Apache Cassandra).

For more information, see Target Tracking Scaling Policies and Step Scaling Policies in the Application Auto Scaling User Guide.

Definition at line 738 of file PutScalingPolicyRequest.h.

◆ SetResourceId() [1/3]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetResourceId ( const Aws::String value)
inline

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

  • ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp.

  • Spot Fleet request

    • The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.

  • EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.

  • AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.

  • DynamoDB table - The resource type is table and the unique identifier is the table name. Example: table/my-table.

  • DynamoDB global secondary index - The resource type is index and the unique identifier is the index name. Example: table/my-table/index/my-table-index.

  • Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster.

  • Amazon SageMaker endpoint variant - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering.

  • Custom resources are not supported with a resource type. This parameter must specify the OutputValue from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.

  • Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE.

  • Lambda provisioned concurrency - The resource type is function and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST. Example: function:my-function:prod or function:my-function:1.

  • Amazon Keyspaces table - The resource type is table and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable.

Definition at line 253 of file PutScalingPolicyRequest.h.

◆ SetResourceId() [2/3]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetResourceId ( Aws::String &&  value)
inline

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

  • ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp.

  • Spot Fleet request

    • The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.

  • EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.

  • AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.

  • DynamoDB table - The resource type is table and the unique identifier is the table name. Example: table/my-table.

  • DynamoDB global secondary index - The resource type is index and the unique identifier is the index name. Example: table/my-table/index/my-table-index.

  • Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster.

  • Amazon SageMaker endpoint variant - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering.

  • Custom resources are not supported with a resource type. This parameter must specify the OutputValue from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.

  • Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE.

  • Lambda provisioned concurrency - The resource type is function and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST. Example: function:my-function:prod or function:my-function:1.

  • Amazon Keyspaces table - The resource type is table and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable.

Definition at line 296 of file PutScalingPolicyRequest.h.

◆ SetResourceId() [3/3]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetResourceId ( const char *  value)
inline

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

  • ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp.

  • Spot Fleet request

    • The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.

  • EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.

  • AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.

  • DynamoDB table - The resource type is table and the unique identifier is the table name. Example: table/my-table.

  • DynamoDB global secondary index - The resource type is index and the unique identifier is the index name. Example: table/my-table/index/my-table-index.

  • Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster.

  • Amazon SageMaker endpoint variant - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering.

  • Custom resources are not supported with a resource type. This parameter must specify the OutputValue from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.

  • Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE.

  • Lambda provisioned concurrency - The resource type is function and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST. Example: function:my-function:prod or function:my-function:1.

  • Amazon Keyspaces table - The resource type is table and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable.

Definition at line 339 of file PutScalingPolicyRequest.h.

◆ SetScalableDimension() [1/2]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetScalableDimension ( const ScalableDimension value)
inline

The scalable dimension. This string consists of the service namespace, resource type, and scaling property.

  • ecs:service:DesiredCount - The desired task count of an ECS service.

  • ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet request.

  • elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.

  • appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.

  • dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table.

  • dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table.

  • dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index.

  • dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index.

  • rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.

  • sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.

  • custom-resource:ResourceType:Property - The scalable dimension for a custom resource provided by your own application or service.

  • comprehend:document-classifier-endpoint:DesiredInferenceUnits - The number of inference units for an Amazon Comprehend document classification endpoint.

  • lambda:function:ProvisionedConcurrency

    • The provisioned concurrency for a Lambda function.

  • cassandra:table:ReadCapacityUnits - The provisioned read capacity for an Amazon Keyspaces table.

  • cassandra:table:WriteCapacityUnits - The provisioned write capacity for an Amazon Keyspaces table.

Definition at line 577 of file PutScalingPolicyRequest.h.

◆ SetScalableDimension() [2/2]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetScalableDimension ( ScalableDimension &&  value)
inline

The scalable dimension. This string consists of the service namespace, resource type, and scaling property.

  • ecs:service:DesiredCount - The desired task count of an ECS service.

  • ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet request.

  • elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.

  • appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.

  • dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table.

  • dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table.

  • dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index.

  • dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index.

  • rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.

  • sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.

  • custom-resource:ResourceType:Property - The scalable dimension for a custom resource provided by your own application or service.

  • comprehend:document-classifier-endpoint:DesiredInferenceUnits - The number of inference units for an Amazon Comprehend document classification endpoint.

  • lambda:function:ProvisionedConcurrency

    • The provisioned concurrency for a Lambda function.

  • cassandra:table:ReadCapacityUnits - The provisioned read capacity for an Amazon Keyspaces table.

  • cassandra:table:WriteCapacityUnits - The provisioned write capacity for an Amazon Keyspaces table.

Definition at line 613 of file PutScalingPolicyRequest.h.

◆ SetServiceNamespace() [1/2]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetServiceNamespace ( const ServiceNamespace value)
inline

The namespace of the AWS service that provides the resource. For a resource provided by your own application or service, use custom-resource instead.

Definition at line 102 of file PutScalingPolicyRequest.h.

◆ SetServiceNamespace() [2/2]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetServiceNamespace ( ServiceNamespace &&  value)
inline

The namespace of the AWS service that provides the resource. For a resource provided by your own application or service, use custom-resource instead.

Definition at line 109 of file PutScalingPolicyRequest.h.

◆ SetStepScalingPolicyConfiguration() [1/2]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetStepScalingPolicyConfiguration ( const StepScalingPolicyConfiguration value)
inline

A step scaling policy.

This parameter is required if you are creating a policy and the policy type is StepScaling.

Definition at line 783 of file PutScalingPolicyRequest.h.

◆ SetStepScalingPolicyConfiguration() [2/2]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetStepScalingPolicyConfiguration ( StepScalingPolicyConfiguration &&  value)
inline

A step scaling policy.

This parameter is required if you are creating a policy and the policy type is StepScaling.

Definition at line 789 of file PutScalingPolicyRequest.h.

◆ SetTargetTrackingScalingPolicyConfiguration() [1/2]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetTargetTrackingScalingPolicyConfiguration ( const TargetTrackingScalingPolicyConfiguration value)
inline

A target tracking scaling policy. Includes support for predefined or customized metrics.

This parameter is required if you are creating a policy and the policy type is TargetTrackingScaling.

Definition at line 823 of file PutScalingPolicyRequest.h.

◆ SetTargetTrackingScalingPolicyConfiguration() [2/2]

void Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::SetTargetTrackingScalingPolicyConfiguration ( TargetTrackingScalingPolicyConfiguration &&  value)
inline

A target tracking scaling policy. Includes support for predefined or customized metrics.

This parameter is required if you are creating a policy and the policy type is TargetTrackingScaling.

Definition at line 830 of file PutScalingPolicyRequest.h.

◆ StepScalingPolicyConfigurationHasBeenSet()

bool Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::StepScalingPolicyConfigurationHasBeenSet ( ) const
inline

A step scaling policy.

This parameter is required if you are creating a policy and the policy type is StepScaling.

Definition at line 777 of file PutScalingPolicyRequest.h.

◆ TargetTrackingScalingPolicyConfigurationHasBeenSet()

bool Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::TargetTrackingScalingPolicyConfigurationHasBeenSet ( ) const
inline

A target tracking scaling policy. Includes support for predefined or customized metrics.

This parameter is required if you are creating a policy and the policy type is TargetTrackingScaling.

Definition at line 816 of file PutScalingPolicyRequest.h.

◆ WithPolicyName() [1/3]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithPolicyName ( const Aws::String value)
inline

The name of the scaling policy.

Definition at line 70 of file PutScalingPolicyRequest.h.

◆ WithPolicyName() [2/3]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithPolicyName ( Aws::String &&  value)
inline

The name of the scaling policy.

Definition at line 75 of file PutScalingPolicyRequest.h.

◆ WithPolicyName() [3/3]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithPolicyName ( const char *  value)
inline

The name of the scaling policy.

Definition at line 80 of file PutScalingPolicyRequest.h.

◆ WithPolicyType() [1/2]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithPolicyType ( const PolicyType value)
inline

The policy type. This parameter is required if you are creating a scaling policy.

The following policy types are supported:

TargetTrackingScaling—Not supported for Amazon EMR

StepScaling—Not supported for DynamoDB, Amazon Comprehend, Lambda, or Amazon Keyspaces (for Apache Cassandra).

For more information, see Target Tracking Scaling Policies and Step Scaling Policies in the Application Auto Scaling User Guide.

Definition at line 751 of file PutScalingPolicyRequest.h.

◆ WithPolicyType() [2/2]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithPolicyType ( PolicyType &&  value)
inline

The policy type. This parameter is required if you are creating a scaling policy.

The following policy types are supported:

TargetTrackingScaling—Not supported for Amazon EMR

StepScaling—Not supported for DynamoDB, Amazon Comprehend, Lambda, or Amazon Keyspaces (for Apache Cassandra).

For more information, see Target Tracking Scaling Policies and Step Scaling Policies in the Application Auto Scaling User Guide.

Definition at line 764 of file PutScalingPolicyRequest.h.

◆ WithResourceId() [1/3]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithResourceId ( const Aws::String value)
inline

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

  • ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp.

  • Spot Fleet request

    • The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.

  • EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.

  • AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.

  • DynamoDB table - The resource type is table and the unique identifier is the table name. Example: table/my-table.

  • DynamoDB global secondary index - The resource type is index and the unique identifier is the index name. Example: table/my-table/index/my-table-index.

  • Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster.

  • Amazon SageMaker endpoint variant - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering.

  • Custom resources are not supported with a resource type. This parameter must specify the OutputValue from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.

  • Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE.

  • Lambda provisioned concurrency - The resource type is function and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST. Example: function:my-function:prod or function:my-function:1.

  • Amazon Keyspaces table - The resource type is table and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable.

Definition at line 382 of file PutScalingPolicyRequest.h.

◆ WithResourceId() [2/3]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithResourceId ( Aws::String &&  value)
inline

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

  • ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp.

  • Spot Fleet request

    • The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.

  • EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.

  • AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.

  • DynamoDB table - The resource type is table and the unique identifier is the table name. Example: table/my-table.

  • DynamoDB global secondary index - The resource type is index and the unique identifier is the index name. Example: table/my-table/index/my-table-index.

  • Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster.

  • Amazon SageMaker endpoint variant - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering.

  • Custom resources are not supported with a resource type. This parameter must specify the OutputValue from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.

  • Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE.

  • Lambda provisioned concurrency - The resource type is function and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST. Example: function:my-function:prod or function:my-function:1.

  • Amazon Keyspaces table - The resource type is table and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable.

Definition at line 425 of file PutScalingPolicyRequest.h.

◆ WithResourceId() [3/3]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithResourceId ( const char *  value)
inline

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

  • ECS service - The resource type is service and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp.

  • Spot Fleet request

    • The resource type is spot-fleet-request and the unique identifier is the Spot Fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.

  • EMR cluster - The resource type is instancegroup and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.

  • AppStream 2.0 fleet - The resource type is fleet and the unique identifier is the fleet name. Example: fleet/sample-fleet.

  • DynamoDB table - The resource type is table and the unique identifier is the table name. Example: table/my-table.

  • DynamoDB global secondary index - The resource type is index and the unique identifier is the index name. Example: table/my-table/index/my-table-index.

  • Aurora DB cluster - The resource type is cluster and the unique identifier is the cluster name. Example: cluster:my-db-cluster.

  • Amazon SageMaker endpoint variant - The resource type is variant and the unique identifier is the resource ID. Example: endpoint/my-end-point/variant/KMeansClustering.

  • Custom resources are not supported with a resource type. This parameter must specify the OutputValue from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our GitHub repository.

  • Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE.

  • Lambda provisioned concurrency - The resource type is function and the unique identifier is the function name with a function version or alias name suffix that is not $LATEST. Example: function:my-function:prod or function:my-function:1.

  • Amazon Keyspaces table - The resource type is table and the unique identifier is the table name. Example: keyspace/mykeyspace/table/mytable.

Definition at line 468 of file PutScalingPolicyRequest.h.

◆ WithScalableDimension() [1/2]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithScalableDimension ( const ScalableDimension value)
inline

The scalable dimension. This string consists of the service namespace, resource type, and scaling property.

  • ecs:service:DesiredCount - The desired task count of an ECS service.

  • ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet request.

  • elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.

  • appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.

  • dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table.

  • dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table.

  • dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index.

  • dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index.

  • rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.

  • sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.

  • custom-resource:ResourceType:Property - The scalable dimension for a custom resource provided by your own application or service.

  • comprehend:document-classifier-endpoint:DesiredInferenceUnits - The number of inference units for an Amazon Comprehend document classification endpoint.

  • lambda:function:ProvisionedConcurrency

    • The provisioned concurrency for a Lambda function.

  • cassandra:table:ReadCapacityUnits - The provisioned read capacity for an Amazon Keyspaces table.

  • cassandra:table:WriteCapacityUnits - The provisioned write capacity for an Amazon Keyspaces table.

Definition at line 649 of file PutScalingPolicyRequest.h.

◆ WithScalableDimension() [2/2]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithScalableDimension ( ScalableDimension &&  value)
inline

The scalable dimension. This string consists of the service namespace, resource type, and scaling property.

  • ecs:service:DesiredCount - The desired task count of an ECS service.

  • ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot Fleet request.

  • elasticmapreduce:instancegroup:InstanceCount - The instance count of an EMR Instance Group.

  • appstream:fleet:DesiredCapacity - The desired capacity of an AppStream 2.0 fleet.

  • dynamodb:table:ReadCapacityUnits - The provisioned read capacity for a DynamoDB table.

  • dynamodb:table:WriteCapacityUnits - The provisioned write capacity for a DynamoDB table.

  • dynamodb:index:ReadCapacityUnits - The provisioned read capacity for a DynamoDB global secondary index.

  • dynamodb:index:WriteCapacityUnits - The provisioned write capacity for a DynamoDB global secondary index.

  • rds:cluster:ReadReplicaCount - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.

  • sagemaker:variant:DesiredInstanceCount - The number of EC2 instances for an Amazon SageMaker model endpoint variant.

  • custom-resource:ResourceType:Property - The scalable dimension for a custom resource provided by your own application or service.

  • comprehend:document-classifier-endpoint:DesiredInferenceUnits - The number of inference units for an Amazon Comprehend document classification endpoint.

  • lambda:function:ProvisionedConcurrency

    • The provisioned concurrency for a Lambda function.

  • cassandra:table:ReadCapacityUnits - The provisioned read capacity for an Amazon Keyspaces table.

  • cassandra:table:WriteCapacityUnits - The provisioned write capacity for an Amazon Keyspaces table.

Definition at line 685 of file PutScalingPolicyRequest.h.

◆ WithServiceNamespace() [1/2]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithServiceNamespace ( const ServiceNamespace value)
inline

The namespace of the AWS service that provides the resource. For a resource provided by your own application or service, use custom-resource instead.

Definition at line 116 of file PutScalingPolicyRequest.h.

◆ WithServiceNamespace() [2/2]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithServiceNamespace ( ServiceNamespace &&  value)
inline

The namespace of the AWS service that provides the resource. For a resource provided by your own application or service, use custom-resource instead.

Definition at line 123 of file PutScalingPolicyRequest.h.

◆ WithStepScalingPolicyConfiguration() [1/2]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithStepScalingPolicyConfiguration ( const StepScalingPolicyConfiguration value)
inline

A step scaling policy.

This parameter is required if you are creating a policy and the policy type is StepScaling.

Definition at line 795 of file PutScalingPolicyRequest.h.

◆ WithStepScalingPolicyConfiguration() [2/2]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithStepScalingPolicyConfiguration ( StepScalingPolicyConfiguration &&  value)
inline

A step scaling policy.

This parameter is required if you are creating a policy and the policy type is StepScaling.

Definition at line 801 of file PutScalingPolicyRequest.h.

◆ WithTargetTrackingScalingPolicyConfiguration() [1/2]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithTargetTrackingScalingPolicyConfiguration ( const TargetTrackingScalingPolicyConfiguration value)
inline

A target tracking scaling policy. Includes support for predefined or customized metrics.

This parameter is required if you are creating a policy and the policy type is TargetTrackingScaling.

Definition at line 837 of file PutScalingPolicyRequest.h.

◆ WithTargetTrackingScalingPolicyConfiguration() [2/2]

PutScalingPolicyRequest& Aws::ApplicationAutoScaling::Model::PutScalingPolicyRequest::WithTargetTrackingScalingPolicyConfiguration ( TargetTrackingScalingPolicyConfiguration &&  value)
inline

A target tracking scaling policy. Includes support for predefined or customized metrics.

This parameter is required if you are creating a policy and the policy type is TargetTrackingScaling.

Definition at line 844 of file PutScalingPolicyRequest.h.


The documentation for this class was generated from the following file: