Module Values.PutOrganizationConformancePackResponseSource

Deploys conformance packs across member accounts in an Amazon Web Services Organization. For information on how many organization conformance packs and how many Config rules you can have per account, see Service Limits in the Config Developer Guide. Only a management account and a delegated administrator can call this API. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. An organization can have up to 3 delegated administrators. When you use PutOrganizationConformancePack to deploy conformance packs across member accounts, the operation can create Config rules and remediation actions without requiring config:PutConfigRule or config:PutRemediationConfigurations permissions in member account IAM policies. This API uses the AWSServiceRoleForConfigConforms service-linked role in each member account to create conformance pack resources. This service-linked role includes the permissions to create Config rules and remediation configurations, even if member account IAM policies explicitly deny these actions. This API enables organization service access for config-multiaccountsetup.amazonaws.com through the EnableAWSServiceAccess action and creates a service-linked role AWSServiceRoleForConfigMultiAccountSetup in the management or delegated administrator account of your organization. The service-linked role is created only when the role does not exist in the caller account. To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization register-delegate-admin for config-multiaccountsetup.amazonaws.com. Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization. You must specify either the TemplateS3Uri or the TemplateBody parameter, but not both. If you provide both Config uses the TemplateS3Uri parameter and ignores the TemplateBody parameter. Config sets the state of a conformance pack to CREATE_IN_PROGRESS and UPDATE_IN_PROGRESS until the conformance pack is created or updated. You cannot update a conformance pack while it is in this state.

Sourcetype nonrec t = {
  1. organizationConformancePackArn : StringWithCharLimit256.t option;
    (*

    ARN of the organization conformance pack.

    *)
}
Sourcetype nonrec error = [
  1. | `InsufficientPermissionsException of InsufficientPermissionsException.t
  2. | `MaxNumberOfOrganizationConformancePacksExceededException of MaxNumberOfOrganizationConformancePacksExceededException.t
  3. | `NoAvailableOrganizationException of NoAvailableOrganizationException.t
  4. | `OrganizationAccessDeniedException of OrganizationAccessDeniedException.t
  5. | `OrganizationAllFeaturesNotEnabledException of OrganizationAllFeaturesNotEnabledException.t
  6. | `OrganizationConformancePackTemplateValidationException of OrganizationConformancePackTemplateValidationException.t
  7. | `ResourceInUseException of ResourceInUseException.t
  8. | `ValidationException of ValidationException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?organizationConformancePackArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InsufficientPermissionsException of unit | `MaxNumberOfOrganizationConformancePacksExceededException of unit | `NoAvailableOrganizationException of unit | `OrganizationAccessDeniedException of unit | `OrganizationAllFeaturesNotEnabledException of unit | `OrganizationConformancePackTemplateValidationException of unit | `ResourceInUseException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InsufficientPermissionsException of unit | `MaxNumberOfOrganizationConformancePacksExceededException of unit | `NoAvailableOrganizationException of unit | `OrganizationAccessDeniedException of unit | `OrganizationAllFeaturesNotEnabledException of unit | `OrganizationConformancePackTemplateValidationException of unit | `ResourceInUseException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of StringWithCharLimit256.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t