Values.CreateConfigurationPolicyResponseSourceCreates a configuration policy with the defined configuration. Only the Security Hub CSPM delegated administrator can invoke this operation from the home Region.
type nonrec t = {arn : NonEmptyString.t option;The Amazon Resource Name (ARN) of the configuration policy.
*)id : NonEmptyString.t option;The universally unique identifier (UUID) of the configuration policy.
*)name : NonEmptyString.t option;The name of the configuration policy.
*)description : NonEmptyString.t option;The description of the configuration policy.
*)updatedAt : Timestamp.t option;The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.
*)createdAt : Timestamp.t option;The date and time, in UTC and ISO 8601 format, that the configuration policy was created.
*)configurationPolicy : Policy.t option;An object that defines how Security Hub CSPM is configured. It includes whether Security Hub CSPM is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the request included a list of security controls that are enabled in the configuration policy, Security Hub CSPM disables all other controls (including newly released controls). If the request included a list of security controls that are disabled in the configuration policy, Security Hub CSPM enables all other controls (including newly released controls).
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalException of InternalException.t| `InvalidAccessException of InvalidAccessException.t| `InvalidInputException of InvalidInputException.t| `LimitExceededException of LimitExceededException.t| `ResourceConflictException of ResourceConflictException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalException of InternalException.t
| `InvalidAccessException of InvalidAccessException.t
| `InvalidInputException of InvalidInputException.t
| `LimitExceededException of LimitExceededException.t
| `ResourceConflictException of ResourceConflictException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalException of InternalException.t
| `InvalidAccessException of InvalidAccessException.t
| `InvalidInputException of InvalidInputException.t
| `LimitExceededException of LimitExceededException.t
| `ResourceConflictException of ResourceConflictException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `String of NonEmptyString.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of Boolean.t
| `List of [> `String of NonEmptyString.t ] list
| `Structure of
(string
* [> `List of
[> `String of NonEmptyString.t
| `Structure of
(string
* [> `Map of
([> `String of NonEmptyString.t ]
* [> `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Boolean of
Boolean.t
| `Double of
Double.t
| `Integer of
Integer.t
| `List of
[> `Integer of
Integer.t
| `String of
NonEmptyString.t ]
list
| `String of
NonEmptyString.t ])
list ])
list ])
list
| `String of NonEmptyString.t ])
list ]
list ])
list ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]