#[non_exhaustive]pub struct CreateScheduledAuditInput {
pub frequency: Option<AuditFrequency>,
pub day_of_month: Option<String>,
pub day_of_week: Option<DayOfWeek>,
pub target_check_names: Option<Vec<String>>,
pub scheduled_audit_name: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.frequency: Option<AuditFrequency>
How often the scheduled audit takes place, either DAILY
, WEEKLY
, BIWEEKLY
or MONTHLY
. The start time of each audit is determined by the system.
day_of_month: Option<String>
The day of the month on which the scheduled audit takes place. This can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to MONTHLY
. If days 29 to 31 are specified, and the month doesn't have that many days, the audit takes place on the LAST
day of the month.
day_of_week: Option<DayOfWeek>
The day of the week on which the scheduled audit takes place, either SUN
, MON
, TUE
, WED
, THU
, FRI
, or SAT
. This field is required if the frequency
parameter is set to WEEKLY
or BIWEEKLY
.
target_check_names: Option<Vec<String>>
Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
scheduled_audit_name: Option<String>
The name you want to give to the scheduled audit. (Max. 128 chars)
Metadata that can be used to manage the scheduled audit.
Implementations§
source§impl CreateScheduledAuditInput
impl CreateScheduledAuditInput
sourcepub fn frequency(&self) -> Option<&AuditFrequency>
pub fn frequency(&self) -> Option<&AuditFrequency>
How often the scheduled audit takes place, either DAILY
, WEEKLY
, BIWEEKLY
or MONTHLY
. The start time of each audit is determined by the system.
sourcepub fn day_of_month(&self) -> Option<&str>
pub fn day_of_month(&self) -> Option<&str>
The day of the month on which the scheduled audit takes place. This can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to MONTHLY
. If days 29 to 31 are specified, and the month doesn't have that many days, the audit takes place on the LAST
day of the month.
sourcepub fn day_of_week(&self) -> Option<&DayOfWeek>
pub fn day_of_week(&self) -> Option<&DayOfWeek>
The day of the week on which the scheduled audit takes place, either SUN
, MON
, TUE
, WED
, THU
, FRI
, or SAT
. This field is required if the frequency
parameter is set to WEEKLY
or BIWEEKLY
.
sourcepub fn target_check_names(&self) -> &[String]
pub fn target_check_names(&self) -> &[String]
Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .target_check_names.is_none()
.
sourcepub fn scheduled_audit_name(&self) -> Option<&str>
pub fn scheduled_audit_name(&self) -> Option<&str>
The name you want to give to the scheduled audit. (Max. 128 chars)
Metadata that can be used to manage the scheduled audit.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateScheduledAuditInput
impl CreateScheduledAuditInput
sourcepub fn builder() -> CreateScheduledAuditInputBuilder
pub fn builder() -> CreateScheduledAuditInputBuilder
Creates a new builder-style object to manufacture CreateScheduledAuditInput
.
Trait Implementations§
source§impl Clone for CreateScheduledAuditInput
impl Clone for CreateScheduledAuditInput
source§fn clone(&self) -> CreateScheduledAuditInput
fn clone(&self) -> CreateScheduledAuditInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateScheduledAuditInput
impl Debug for CreateScheduledAuditInput
source§impl PartialEq for CreateScheduledAuditInput
impl PartialEq for CreateScheduledAuditInput
source§fn eq(&self, other: &CreateScheduledAuditInput) -> bool
fn eq(&self, other: &CreateScheduledAuditInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateScheduledAuditInput
Auto Trait Implementations§
impl Freeze for CreateScheduledAuditInput
impl RefUnwindSafe for CreateScheduledAuditInput
impl Send for CreateScheduledAuditInput
impl Sync for CreateScheduledAuditInput
impl Unpin for CreateScheduledAuditInput
impl UnwindSafe for CreateScheduledAuditInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more