Struct aws_sdk_config::input::PutConformancePackInput
source · #[non_exhaustive]pub struct PutConformancePackInput { /* private fields */ }Implementations§
source§impl PutConformancePackInput
impl PutConformancePackInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutConformancePack, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutConformancePack, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutConformancePack>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutConformancePackInput.
source§impl PutConformancePackInput
impl PutConformancePackInput
sourcepub fn conformance_pack_name(&self) -> Option<&str>
pub fn conformance_pack_name(&self) -> Option<&str>
The unique name of the conformance pack you want to deploy.
sourcepub fn template_s3_uri(&self) -> Option<&str>
pub fn template_s3_uri(&self) -> Option<&str>
The location of the file containing the template body (s3://bucketname/prefix). The uri must point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same Region as the conformance pack.
You must have access to read Amazon S3 bucket.
sourcepub fn template_body(&self) -> Option<&str>
pub fn template_body(&self) -> Option<&str>
A string containing the full conformance pack template body. The structure containing the template body has a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule) and remediation action (AWS::Config::RemediationConfiguration).
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
) -> Option<&[ConformancePackInputParameter]>
pub fn conformance_pack_input_parameters(
&self
) -> Option<&[ConformancePackInputParameter]>
A list of ConformancePackInputParameter objects.
sourcepub fn template_ssm_document_details(
&self
) -> Option<&TemplateSsmDocumentDetails>
pub fn template_ssm_document_details(
&self
) -> Option<&TemplateSsmDocumentDetails>
An object of type TemplateSSMDocumentDetails, which contains the name or the 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.
Trait Implementations§
source§impl Clone for PutConformancePackInput
impl Clone for PutConformancePackInput
source§fn clone(&self) -> PutConformancePackInput
fn clone(&self) -> PutConformancePackInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PutConformancePackInput
impl Debug for PutConformancePackInput
source§impl PartialEq<PutConformancePackInput> for PutConformancePackInput
impl PartialEq<PutConformancePackInput> for PutConformancePackInput
source§fn eq(&self, other: &PutConformancePackInput) -> bool
fn eq(&self, other: &PutConformancePackInput) -> bool
self and other values to be equal, and is used
by ==.