Struct aws_sdk_config::types::TemplateSsmDocumentDetails
source · #[non_exhaustive]pub struct TemplateSsmDocumentDetails {
pub document_name: String,
pub document_version: Option<String>,
}Expand description
This API allows you to create a conformance pack template with an Amazon Web Services Systems Manager document (SSM document). To deploy a conformance pack using an SSM document, first create an SSM document with conformance pack content, and then provide the DocumentName in the PutConformancePack API. You can also provide the DocumentVersion.
The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document.
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.document_name: StringThe name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, Config checks only your account and Amazon Web Services Region for the SSM document.
document_version: Option<String>The version of the SSM document to use to create a conformance pack. By default, Config uses the latest version.
This field is optional.
Implementations§
source§impl TemplateSsmDocumentDetails
impl TemplateSsmDocumentDetails
sourcepub fn document_name(&self) -> &str
pub fn document_name(&self) -> &str
The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, Config checks only your account and Amazon Web Services Region for the SSM document.
sourcepub fn document_version(&self) -> Option<&str>
pub fn document_version(&self) -> Option<&str>
The version of the SSM document to use to create a conformance pack. By default, Config uses the latest version.
This field is optional.
source§impl TemplateSsmDocumentDetails
impl TemplateSsmDocumentDetails
sourcepub fn builder() -> TemplateSsmDocumentDetailsBuilder
pub fn builder() -> TemplateSsmDocumentDetailsBuilder
Creates a new builder-style object to manufacture TemplateSsmDocumentDetails.
Trait Implementations§
source§impl Clone for TemplateSsmDocumentDetails
impl Clone for TemplateSsmDocumentDetails
source§fn clone(&self) -> TemplateSsmDocumentDetails
fn clone(&self) -> TemplateSsmDocumentDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TemplateSsmDocumentDetails
impl Debug for TemplateSsmDocumentDetails
source§impl PartialEq for TemplateSsmDocumentDetails
impl PartialEq for TemplateSsmDocumentDetails
source§fn eq(&self, other: &TemplateSsmDocumentDetails) -> bool
fn eq(&self, other: &TemplateSsmDocumentDetails) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TemplateSsmDocumentDetails
Auto Trait Implementations§
impl Freeze for TemplateSsmDocumentDetails
impl RefUnwindSafe for TemplateSsmDocumentDetails
impl Send for TemplateSsmDocumentDetails
impl Sync for TemplateSsmDocumentDetails
impl Unpin for TemplateSsmDocumentDetails
impl UnwindSafe for TemplateSsmDocumentDetails
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