v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1492542448.2 KB

Creates or updates a conformance pack. A conformance pack is a collection of Config rules that can be easily deployed in an account and a region and across an organization. For information on how many conformance packs you can have per account, see Service Limits in the Config Developer Guide.

This API creates a service-linked role AWSServiceRoleForConfigConforms in your account. The service-linked role is created only when the role does not exist in your account.

You must specify only one of the follow parameters: TemplateS3Uri, TemplateBody or TemplateSSMDocumentDetails.

post/#X-Amz-Target=StarlingDoveService.PutConformancePack

Headers

X-Amz-Target'StarlingDoveService.PutConformancePack' required

Request body

ConformancePackNamestring required

The unique name of the conformance pack you want to deploy.

TemplateS3Uristring
<p>The location of the file containing the template body (<code>s3://bucketname/prefix</code>). 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. </p> <note> <p>You must have access to read Amazon S3 bucket.</p> </note>
TemplateBodystring
<p>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.</p> <note> <p>You can use a YAML template with two resource types: Config rule (<code>AWS::Config::ConfigRule</code>) and remediation action (<code>AWS::Config::RemediationConfiguration</code>).</p> </note>
DeliveryS3Bucketstring
<p>The name of the Amazon S3 bucket where Config stores conformance pack templates.</p> <note> <p>This field is optional.</p> </note>
DeliveryS3KeyPrefixstring
<p>The prefix for the Amazon S3 bucket. </p> <note> <p>This field is optional.</p> </note>

Response

Success

ConformancePackArnstring

ARN of the conformance pack.