pub struct PutScheduledUpdateGroupActionType {
pub auto_scaling_group_name: String,
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: Option<String>,
pub time_zone: Option<String>,
}
Fields
auto_scaling_group_name: String
The name of the Auto Scaling group.
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. It can scale beyond this capacity if you add more scaling conditions.
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 this action. 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 this scaling action.
start_time: Option<String>
The date and time for this 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 your action in the past, Amazon EC2 Auto Scaling returns an error message.
time: Option<String>
This parameter is no longer used.
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 PutScheduledUpdateGroupActionType
impl Clone for PutScheduledUpdateGroupActionType
sourcefn clone(&self) -> PutScheduledUpdateGroupActionType
fn clone(&self) -> PutScheduledUpdateGroupActionType
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 PutScheduledUpdateGroupActionType
impl Default for PutScheduledUpdateGroupActionType
sourcefn default() -> PutScheduledUpdateGroupActionType
fn default() -> PutScheduledUpdateGroupActionType
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PutScheduledUpdateGroupActionType> for PutScheduledUpdateGroupActionType
impl PartialEq<PutScheduledUpdateGroupActionType> for PutScheduledUpdateGroupActionType
sourcefn eq(&self, other: &PutScheduledUpdateGroupActionType) -> bool
fn eq(&self, other: &PutScheduledUpdateGroupActionType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PutScheduledUpdateGroupActionType) -> bool
fn ne(&self, other: &PutScheduledUpdateGroupActionType) -> bool
This method tests for !=
.
impl StructuralPartialEq for PutScheduledUpdateGroupActionType
Auto Trait Implementations
impl RefUnwindSafe for PutScheduledUpdateGroupActionType
impl Send for PutScheduledUpdateGroupActionType
impl Sync for PutScheduledUpdateGroupActionType
impl Unpin for PutScheduledUpdateGroupActionType
impl UnwindSafe for PutScheduledUpdateGroupActionType
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