PutConformancePackRequest
¶
Source code in docs_src/capo_config_service/types/put_conformance_pack_request.py
conformance_pack_input_parameters
instance-attribute
¶
conformance_pack_input_parameters: NotRequired[ConformancePackInputParameters]
A list of ConformancePackInputParameter objects. Custom conformance packs can have at most 60 input parameters. Managed conformance packs can have at most 330 input parameters.
conformance_pack_name
instance-attribute
¶
conformance_pack_name: ConformancePackName
The unique name of the conformance pack you want to deploy.
delivery_s3_bucket
instance-attribute
¶
delivery_s3_bucket: NotRequired[DeliveryS3Bucket]
The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional.
delivery_s3_key_prefix
instance-attribute
¶
delivery_s3_key_prefix: NotRequired[DeliveryS3KeyPrefix]
The prefix for the Amazon S3 bucket.
This field is optional.
scope
instance-attribute
¶
scope: NotRequired[ConformancePackScope]
An object of type ConformancePackScope that defines which resources can trigger an evaluation for Config rules in the conformance pack. The scope can include a tag key and optional tag value. Specify a scope to constrain the resources that can trigger an evaluation for rules in the conformance pack. If you do not specify a scope, all rules in the conformance pack are unscoped.
This field is optional and is supported only for managed conformance packs. If you specify a scope, you must also specify Source.
source
instance-attribute
¶
source: NotRequired[ConformancePackSource]
An object of type ConformancePackSource, which contains the identifier of the managed conformance pack that you want to deploy. If you specify a source, Config creates a managed conformance pack. Managed conformance packs are predefined collections of Config rules that are created and maintained by Amazon Web Services.
If you specify a source, you cannot specify TemplateS3Uri, TemplateBody, TemplateSSMDocumentDetails, DeliveryS3Bucket, or DeliveryS3KeyPrefix. You cannot convert an existing conformance pack between a managed conformance pack and a custom conformance pack. You also cannot change the source of an existing managed conformance pack.
tags
instance-attribute
¶
tags: NotRequired[TagsList]
The tags for the conformance pack. Each tag consists of a key and an optional value, both of which you define.
template_body
instance-attribute
¶
template_body: NotRequired[TemplateBody]
A string that contains 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).
template_s3_uri
instance-attribute
¶
template_s3_uri: NotRequired[TemplateS3Uri]
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. In addition, in order to ensure a successful deployment, the template object must not be in an archived storage class if this parameter is passed.
template_ssm_document_details
instance-attribute
¶
template_ssm_document_details: NotRequired[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.