Struct aws_sdk_ec2::input::create_instance_event_window_input::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for CreateInstanceEventWindowInput
Implementations
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Appends an item to time_ranges
.
To override the contents of this collection use set_time_ranges
.
The time range for the event window. If you specify a time range, you can't specify a cron expression.
The time range for the event window. If you specify a time range, you can't specify a cron expression.
The cron expression for the event window, for example, * 0-4,20-23 * * 1,5
. If
you specify a cron expression, you can't specify a time range.
Constraints:
-
Only hour and day of the week values are supported.
-
For day of the week values, you can specify either integers
0
through6
, or alternative single valuesSUN
throughSAT
. -
The minute, month, and year must be specified by
*
. -
The hour value must be one or a multiple range, for example,
0-4
or0-4,20-23
. -
Each hour range must be >= 2 hours, for example,
0-2
or20-23
. -
The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.
For more information about cron expressions, see cron on the Wikipedia website.
The cron expression for the event window, for example, * 0-4,20-23 * * 1,5
. If
you specify a cron expression, you can't specify a time range.
Constraints:
-
Only hour and day of the week values are supported.
-
For day of the week values, you can specify either integers
0
through6
, or alternative single valuesSUN
throughSAT
. -
The minute, month, and year must be specified by
*
. -
The hour value must be one or a multiple range, for example,
0-4
or0-4,20-23
. -
Each hour range must be >= 2 hours, for example,
0-2
or20-23
. -
The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.
For more information about cron expressions, see cron on the Wikipedia website.
Appends an item to tag_specifications
.
To override the contents of this collection use set_tag_specifications
.
The tags to apply to the event window.
The tags to apply to the event window.
Consumes the builder and constructs a CreateInstanceEventWindowInput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more