Module Values.CreateMalwareProtectionPlanRequestSource

Creates a new Malware Protection plan for the protected resource. When you create a Malware Protection plan, the Amazon Web Services service terms for GuardDuty Malware Protection apply. For more information, see Amazon Web Services service terms for GuardDuty Malware Protection.

Sourcetype nonrec t = {
  1. clientToken : ClientToken.t option;
    (*

    The idempotency token for the create request.

    *)
  2. role : String_.t;
    (*

    Amazon Resource Name (ARN) of the IAM role that has the permissions to scan and add tags to the associated protected resource.

    *)
  3. protectedResource : CreateProtectedResource.t;
    (*

    Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource.

    *)
  4. actions : MalwareProtectionPlanActions.t option;
    (*

    Information about whether the tags will be added to the S3 object after scanning.

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

    Tags added to the Malware Protection plan resource.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?actions:??? -> ?tags:??? -> role:String_.t -> protectedResource:CreateProtectedResource.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ClientToken.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list | `String of String_.t ]) 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