[][src]Struct rusoto_application_autoscaling::ScheduledAction

pub struct ScheduledAction {
    pub creation_time: f64,
    pub end_time: Option<f64>,
    pub resource_id: String,
    pub scalable_dimension: Option<String>,
    pub scalable_target_action: Option<ScalableTargetAction>,
    pub schedule: String,
    pub scheduled_action_arn: String,
    pub scheduled_action_name: String,
    pub service_namespace: String,
    pub start_time: Option<f64>,
}

Represents a scheduled action.

Fields

creation_time: f64

The date and time that the scheduled action was created.

end_time: Option<f64>

The date and time that the action is scheduled to end.

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: Option<String>

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

scalable_target_action: Option<ScalableTargetAction>

The new minimum and maximum capacity. You can set both values or just one. During the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity.

schedule: String

The schedule for this action. The following formats are supported:

At expressions are useful for one-time schedules. Specify the time, in UTC.

For rate expressions, value is a positive integer and unit is minute | minutes | hour | hours | day | days.

For more information about cron expressions, see Cron Expressions in the Amazon CloudWatch Events User Guide.

scheduled_action_arn: String

The Amazon Resource Name (ARN) of the scheduled action.

scheduled_action_name: String

The name of the scheduled action.

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.

start_time: Option<f64>

The date and time that the action is scheduled to begin.

Trait Implementations

impl PartialEq<ScheduledAction> for ScheduledAction[src]

impl Default for ScheduledAction[src]

impl Clone for ScheduledAction[src]

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

Performs copy-assignment from source. Read more

impl Debug for ScheduledAction[src]

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

Auto Trait Implementations

impl Send for ScheduledAction

impl Sync for ScheduledAction

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