[][src]Struct rusoto_application_autoscaling::PutScalingPolicyRequest

pub struct PutScalingPolicyRequest {
    pub policy_name: String,
    pub policy_type: Option<String>,
    pub resource_id: String,
    pub scalable_dimension: String,
    pub service_namespace: String,
    pub step_scaling_policy_configuration: Option<StepScalingPolicyConfiguration>,
    pub target_tracking_scaling_policy_configuration: Option<TargetTrackingScalingPolicyConfiguration>,
}

Fields

policy_name: String

The name of the scaling policy.

policy_type: Option<String>

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

For information on which services do not support StepScaling or TargetTrackingScaling, see the information about Limits in Step Scaling Policies and Target Tracking Scaling Policies in the Application Auto Scaling User Guide.

resource_id: String

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

scalable_dimension: String

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

service_namespace: String

The namespace of the AWS service that provides the resource or custom-resource for a resource provided by your own application or service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.

step_scaling_policy_configuration: Option<StepScalingPolicyConfiguration>

A step scaling policy.

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

target_tracking_scaling_policy_configuration: Option<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 TargetTrackingScaling.

Trait Implementations

impl PartialEq<PutScalingPolicyRequest> for PutScalingPolicyRequest[src]

impl Default for PutScalingPolicyRequest[src]

impl Clone for PutScalingPolicyRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PutScalingPolicyRequest[src]

impl Serialize for PutScalingPolicyRequest[src]

Auto Trait Implementations

impl Send for PutScalingPolicyRequest

impl Sync for PutScalingPolicyRequest

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self