Creates or updates a conformance pack. A conformance pack is a collection of AWS Config rules that can be easily deployed in an account and a region and across AWS Organization.
configservice_put_conformance_pack(ConformancePackName, TemplateS3Uri,
TemplateBody, DeliveryS3Bucket, DeliveryS3KeyPrefix,
ConformancePackInputParameters)
[required] Name of the conformance pack you want to create.
Location of file containing the template body
(s3://bucketname/prefix
). The uri must point to the 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.
A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with one resource type, that is, config rule and a remediation action.
[required] AWS Config stores intermediate files while processing conformance pack template.
The prefix for the Amazon S3 bucket.
A list of ConformancePackInputParameter
objects.
svc$put_conformance_pack( ConformancePackName = "string", TemplateS3Uri = "string", TemplateBody = "string", DeliveryS3Bucket = "string", DeliveryS3KeyPrefix = "string", ConformancePackInputParameters = list( list( ParameterName = "string", ParameterValue = "string" ) ) )
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. AWS Config verifies the existence of
role with GetRole
action.
You must specify either the TemplateS3Uri
or the TemplateBody
parameter, but not both. If you provide both AWS Config uses the
TemplateS3Uri
parameter and ignores the TemplateBody
parameter.