Values.CreateMalwareProtectionPlanRequestSourceCreates 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.
type nonrec t = {clientToken : ClientToken.t option;The idempotency token for the create request.
*)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.
*)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.
*)actions : MalwareProtectionPlanActions.t option;Information about whether the tags will be added to the S3 object after scanning.
*)}val make :
?clientToken:??? ->
?actions:??? ->
?tags:??? ->
role:String_.t ->
protectedResource:CreateProtectedResource.t ->
unit ->
tval 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 ]