pub struct ScheduledUpdateGroupActionRequest {
pub desired_capacity: Option<i64>,
pub end_time: Option<String>,
pub max_size: Option<i64>,
pub min_size: Option<i64>,
pub recurrence: Option<String>,
pub scheduled_action_name: String,
pub start_time: Option<String>,
pub time_zone: Option<String>,
}
Expand description
Describes information used for one or more scheduled scaling action updates in a BatchPutScheduledUpdateGroupAction operation.
Fields
desired_capacity: Option<i64>
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.
end_time: Option<String>
The date and time for the recurring schedule to end, in UTC.
max_size: Option<i64>
The maximum size of the Auto Scaling group.
min_size: Option<i64>
The minimum size of the Auto Scaling group.
recurrence: Option<String>
The recurring schedule for the action, in Unix cron syntax format. This format consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, "30 0 1 1,6,12 *"
). For more information about this format, see Crontab.
When StartTime
and EndTime
are specified with Recurrence
, they form the boundaries of when the recurring action starts and stops.
Cron expressions use Universal Coordinated Time (UTC) by default.
scheduled_action_name: String
The name of the scaling action.
start_time: Option<String>
The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for example, "2019-06-01T00:00:00Z"
).
If you specify Recurrence
and StartTime
, Amazon EC2 Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence.
If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error message.
time_zone: Option<String>
Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.
Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as Etc/GMT+9
or Pacific/Tahiti
). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Trait Implementations
sourceimpl Clone for ScheduledUpdateGroupActionRequest
impl Clone for ScheduledUpdateGroupActionRequest
sourcefn clone(&self) -> ScheduledUpdateGroupActionRequest
fn clone(&self) -> ScheduledUpdateGroupActionRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for ScheduledUpdateGroupActionRequest
impl Default for ScheduledUpdateGroupActionRequest
sourcefn default() -> ScheduledUpdateGroupActionRequest
fn default() -> ScheduledUpdateGroupActionRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ScheduledUpdateGroupActionRequest> for ScheduledUpdateGroupActionRequest
impl PartialEq<ScheduledUpdateGroupActionRequest> for ScheduledUpdateGroupActionRequest
sourcefn eq(&self, other: &ScheduledUpdateGroupActionRequest) -> bool
fn eq(&self, other: &ScheduledUpdateGroupActionRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ScheduledUpdateGroupActionRequest) -> bool
fn ne(&self, other: &ScheduledUpdateGroupActionRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for ScheduledUpdateGroupActionRequest
Auto Trait Implementations
impl RefUnwindSafe for ScheduledUpdateGroupActionRequest
impl Send for ScheduledUpdateGroupActionRequest
impl Sync for ScheduledUpdateGroupActionRequest
impl Unpin for ScheduledUpdateGroupActionRequest
impl UnwindSafe for ScheduledUpdateGroupActionRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more