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. If you want to use an SSM document from another Region or account, you must provide the ARN.
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. If you want to use an SSM document from another Region or account, you must provide the ARN.
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 ==.