Struct aws_sdk_config::types::ConformancePackDetail
source · #[non_exhaustive]pub struct ConformancePackDetail {
pub conformance_pack_name: String,
pub conformance_pack_arn: String,
pub conformance_pack_id: String,
pub delivery_s3_bucket: Option<String>,
pub delivery_s3_key_prefix: Option<String>,
pub conformance_pack_input_parameters: Option<Vec<ConformancePackInputParameter>>,
pub last_update_requested_time: Option<DateTime>,
pub created_by: Option<String>,
pub template_ssm_document_details: Option<TemplateSsmDocumentDetails>,
}Expand description
Returns details of a conformance pack. A conformance pack is a collection of Config rules and remediation actions that can be easily deployed in an account and a region.
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.conformance_pack_name: StringName of the conformance pack.
conformance_pack_arn: StringAmazon Resource Name (ARN) of the conformance pack.
conformance_pack_id: StringID of the conformance pack.
delivery_s3_bucket: Option<String>The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional.
delivery_s3_key_prefix: Option<String>The prefix for the Amazon S3 bucket.
This field is optional.
conformance_pack_input_parameters: Option<Vec<ConformancePackInputParameter>>A list of ConformancePackInputParameter objects.
last_update_requested_time: Option<DateTime>The last time a conformation pack update was requested.
created_by: Option<String>The Amazon Web Services service that created the conformance pack.
template_ssm_document_details: Option<TemplateSsmDocumentDetails>An object that contains the name or Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.
Implementations§
source§impl ConformancePackDetail
impl ConformancePackDetail
sourcepub fn conformance_pack_name(&self) -> &str
pub fn conformance_pack_name(&self) -> &str
Name of the conformance pack.
sourcepub fn conformance_pack_arn(&self) -> &str
pub fn conformance_pack_arn(&self) -> &str
Amazon Resource Name (ARN) of the conformance pack.
sourcepub fn conformance_pack_id(&self) -> &str
pub fn conformance_pack_id(&self) -> &str
ID of the conformance pack.
sourcepub fn delivery_s3_bucket(&self) -> Option<&str>
pub fn delivery_s3_bucket(&self) -> Option<&str>
The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional.
sourcepub fn delivery_s3_key_prefix(&self) -> Option<&str>
pub fn delivery_s3_key_prefix(&self) -> Option<&str>
The prefix for the Amazon S3 bucket.
This field is optional.
sourcepub fn conformance_pack_input_parameters(
&self,
) -> &[ConformancePackInputParameter]
pub fn conformance_pack_input_parameters( &self, ) -> &[ConformancePackInputParameter]
A list of ConformancePackInputParameter objects.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .conformance_pack_input_parameters.is_none().
sourcepub fn last_update_requested_time(&self) -> Option<&DateTime>
pub fn last_update_requested_time(&self) -> Option<&DateTime>
The last time a conformation pack update was requested.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The Amazon Web Services service that created the conformance pack.
sourcepub fn template_ssm_document_details(
&self,
) -> Option<&TemplateSsmDocumentDetails>
pub fn template_ssm_document_details( &self, ) -> Option<&TemplateSsmDocumentDetails>
An object that contains the name or Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.
source§impl ConformancePackDetail
impl ConformancePackDetail
sourcepub fn builder() -> ConformancePackDetailBuilder
pub fn builder() -> ConformancePackDetailBuilder
Creates a new builder-style object to manufacture ConformancePackDetail.
Trait Implementations§
source§impl Clone for ConformancePackDetail
impl Clone for ConformancePackDetail
source§fn clone(&self) -> ConformancePackDetail
fn clone(&self) -> ConformancePackDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConformancePackDetail
impl Debug for ConformancePackDetail
source§impl PartialEq for ConformancePackDetail
impl PartialEq for ConformancePackDetail
source§fn eq(&self, other: &ConformancePackDetail) -> bool
fn eq(&self, other: &ConformancePackDetail) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConformancePackDetail
Auto Trait Implementations§
impl Freeze for ConformancePackDetail
impl RefUnwindSafe for ConformancePackDetail
impl Send for ConformancePackDetail
impl Sync for ConformancePackDetail
impl Unpin for ConformancePackDetail
impl UnwindSafe for ConformancePackDetail
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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