Struct aws_sdk_auditmanager::types::Control
source · #[non_exhaustive]pub struct Control {Show 15 fields
pub arn: Option<String>,
pub id: Option<String>,
pub type: Option<ControlType>,
pub name: Option<String>,
pub description: Option<String>,
pub testing_information: Option<String>,
pub action_plan_title: Option<String>,
pub action_plan_instructions: Option<String>,
pub control_sources: Option<String>,
pub control_mapping_sources: Option<Vec<ControlMappingSource>>,
pub created_at: Option<DateTime>,
pub last_updated_at: Option<DateTime>,
pub created_by: Option<String>,
pub last_updated_by: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
A control in Audit Manager.
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.arn: Option<String>
The Amazon Resource Name (ARN) of the control.
id: Option<String>
The unique identifier for the control.
type: Option<ControlType>
Specifies whether the control is a standard control or a custom control.
name: Option<String>
The name of the control.
description: Option<String>
The description of the control.
testing_information: Option<String>
The steps that you should follow to determine if the control has been satisfied.
action_plan_title: Option<String>
The title of the action plan for remediating the control.
action_plan_instructions: Option<String>
The recommended actions to carry out if the control isn't fulfilled.
control_sources: Option<String>
The data source types that determine where Audit Manager collects evidence from for the control.
control_mapping_sources: Option<Vec<ControlMappingSource>>
The data mapping sources for the control.
created_at: Option<DateTime>
The time when the control was created.
last_updated_at: Option<DateTime>
The time when the control was most recently updated.
created_by: Option<String>
The user or role that created the control.
last_updated_by: Option<String>
The user or role that most recently updated the control.
The tags associated with the control.
Implementations§
source§impl Control
impl Control
sourcepub fn type(&self) -> Option<&ControlType>
pub fn type(&self) -> Option<&ControlType>
Specifies whether the control is a standard control or a custom control.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the control.
sourcepub fn testing_information(&self) -> Option<&str>
pub fn testing_information(&self) -> Option<&str>
The steps that you should follow to determine if the control has been satisfied.
sourcepub fn action_plan_title(&self) -> Option<&str>
pub fn action_plan_title(&self) -> Option<&str>
The title of the action plan for remediating the control.
sourcepub fn action_plan_instructions(&self) -> Option<&str>
pub fn action_plan_instructions(&self) -> Option<&str>
The recommended actions to carry out if the control isn't fulfilled.
sourcepub fn control_sources(&self) -> Option<&str>
pub fn control_sources(&self) -> Option<&str>
The data source types that determine where Audit Manager collects evidence from for the control.
sourcepub fn control_mapping_sources(&self) -> &[ControlMappingSource]
pub fn control_mapping_sources(&self) -> &[ControlMappingSource]
The data mapping sources for the control.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .control_mapping_sources.is_none()
.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the control was created.
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
The time when the control was most recently updated.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The user or role that created the control.
sourcepub fn last_updated_by(&self) -> Option<&str>
pub fn last_updated_by(&self) -> Option<&str>
The user or role that most recently updated the control.
The tags associated with the control.