Module Values.GetConfigurationPolicyResponseSource

Provides information about a configuration policy. Only the Security Hub CSPM delegated administrator can invoke this operation from the home Region.

Sourcetype nonrec t = {
  1. arn : NonEmptyString.t option;
    (*

    The ARN of the configuration policy.

    *)
  2. id : NonEmptyString.t option;
    (*

    The UUID of the configuration policy.

    *)
  3. name : NonEmptyString.t option;
    (*

    The name of the configuration policy.

    *)
  4. description : NonEmptyString.t option;
    (*

    The description of the configuration policy.

    *)
  5. updatedAt : Timestamp.t option;
    (*

    The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.

    *)
  6. createdAt : Timestamp.t option;
    (*

    The date and time, in UTC and ISO 8601 format, that the configuration policy was created.

    *)
  7. 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 policy includes a list of security controls that are enabled, Security Hub CSPM disables all other controls (including newly released controls). If the policy includes a list of security controls that are disabled, Security Hub CSPM enables all other controls (including newly released controls).

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalException of InternalException.t
  3. | `InvalidAccessException of InvalidAccessException.t
  4. | `InvalidInputException of InvalidInputException.t
  5. | `LimitExceededException of LimitExceededException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?arn:??? -> ?id:??? -> ?name:??? -> ?description:??? -> ?updatedAt:??? -> ?createdAt:??? -> ?configurationPolicy:??? -> unit -> t
Sourceval 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 | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval 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 | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
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