Smaws_Client_ConfigService.PutConformancePack
val request :
Smaws_Lib.Context.t ->
put_conformance_pack_request ->
(put_conformance_pack_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConformancePackTemplateValidationException of
conformance_pack_template_validation_exception
| `InsufficientPermissionsException of insufficient_permissions_exception
| `InvalidParameterValueException of invalid_parameter_value_exception
| `MaxNumberOfConformancePacksExceededException of
max_number_of_conformance_packs_exceeded_exception
| `ResourceInUseException of resource_in_use_exception ])
Stdlib.result
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
.