[][src]Struct rusoto_application_autoscaling::ScalingPolicy

pub struct ScalingPolicy {
    pub alarms: Option<Vec<Alarm>>,
    pub creation_time: f64,
    pub policy_arn: String,
    pub policy_name: String,
    pub policy_type: 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>,
}

Represents a scaling policy to use with Application Auto Scaling.

Fields

alarms: Option<Vec<Alarm>>

The CloudWatch alarms associated with the scaling policy.

creation_time: f64

The Unix timestamp for when the scaling policy was created.

policy_arn: String

The Amazon Resource Name (ARN) of the scaling policy.

policy_name: String

The name of the scaling policy.

policy_type: String

The scaling policy type.

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.

target_tracking_scaling_policy_configuration: Option<TargetTrackingScalingPolicyConfiguration>

A target tracking scaling policy.

Trait Implementations

impl PartialEq<ScalingPolicy> for ScalingPolicy[src]

impl Default for ScalingPolicy[src]

impl Clone for ScalingPolicy[src]

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

Performs copy-assignment from source. Read more

impl Debug for ScalingPolicy[src]

impl<'de> Deserialize<'de> for ScalingPolicy[src]

Auto Trait Implementations

impl Send for ScalingPolicy

impl Sync for ScalingPolicy

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self