View source: R/applicationautoscaling_operations.R
applicationautoscaling_put_scaling_policy | R Documentation |
Creates or updates a scaling policy for an Application Auto Scaling scalable target.
See https://www.paws-r-sdk.com/docs/applicationautoscaling_put_scaling_policy/ for full documentation.
applicationautoscaling_put_scaling_policy(
PolicyName,
ServiceNamespace,
ResourceId,
ScalableDimension,
PolicyType = NULL,
StepScalingPolicyConfiguration = NULL,
TargetTrackingScalingPolicyConfiguration = NULL
)
PolicyName |
[required] The name of the scaling policy. You cannot change the name of a scaling policy, but you can delete the original scaling policy and create a new scaling policy with the same settings and a different name. |
ServiceNamespace |
[required] The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use |
ResourceId |
[required] The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
|
ScalableDimension |
[required] The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
|
PolicyType |
The scaling policy type. This parameter is required if you are creating a scaling policy. The following policy types are supported:
For more information, see Target tracking scaling policies and Step scaling policies in the Application Auto Scaling User Guide. |
StepScalingPolicyConfiguration |
A step scaling policy. This parameter is required if you are creating a policy and the policy
type is |
TargetTrackingScalingPolicyConfiguration |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.