Module Values_1.CreateMitigationActionRequestSource

Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only certain types of mitigation actions can be applied to specific check names. For more information, see Mitigation actions. Each mitigation action can apply only one type of change. Requires permission to access the CreateMitigationAction action.

Sourcetype nonrec t = {
  1. actionName : Values_0.MitigationActionName.t;
    (*

    A friendly name for the action. Choose a friendly name that accurately describes the action (for example, EnableLoggingAction).

    *)
  2. roleArn : Values_0.RoleArn.t;
    (*

    The ARN of the IAM role that is used to apply the mitigation action.

    *)
  3. actionParams : Values_0.MitigationActionParams.t;
    (*

    Defines the type of action and the parameters for that action.

    *)
  4. tags : Values_0.TagList.t option;
    (*

    Metadata that can be used to manage the mitigation action.

    *)
}
Sourceval context_ : string
Sourceval make : ?tags:??? -> actionName:Values_0.MitigationActionName.t -> roleArn:Values_0.RoleArn.t -> actionParams:Values_0.MitigationActionParams.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.MitigationActionName.t | `Structure of (string * [> `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `String of string ] list | `String of string ]) 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