Module Values.CreateConfigurationPolicyRequestSource

Creates a configuration policy with the defined configuration. Only the Security Hub CSPM delegated administrator can invoke this operation from the home Region.

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

    The name of the configuration policy. Alphanumeric characters and the following ASCII characters are permitted: -, ., !, *, /.

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

    The description of the configuration policy.

    *)
  3. configurationPolicy : Policy.t;
    (*

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

    *)
  4. tags : TagMap.t option;
    (*

    User-defined tags associated with a configuration policy. For more information, see Tagging Security Hub CSPM resources in the Security Hub CSPM user guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?tags:??? -> name:NonEmptyString.t -> configurationPolicy:Policy.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `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 ]) 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