Skip to content

Guardduty  >  Operations  >  update_malware_protection_plan

update_malware_protection_plan

Operation

update_malware_protection_plan async

update_malware_protection_plan(input: UpdateMalwareProtectionPlanInput, plugins: list[Plugin] | None = None) -> UpdateMalwareProtectionPlanOutput

Updates an existing Malware Protection plan resource.

Parameters:

Name Type Description Default
input UpdateMalwareProtectionPlanInput

An instance of UpdateMalwareProtectionPlanInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
UpdateMalwareProtectionPlanOutput

An instance of UpdateMalwareProtectionPlanOutput.

Input

UpdateMalwareProtectionPlanInput dataclass

Dataclass for UpdateMalwareProtectionPlanInput structure.

Attributes

actions class-attribute instance-attribute
actions: MalwareProtectionPlanActions | None = None

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

malware_protection_plan_id class-attribute instance-attribute
malware_protection_plan_id: str | None = None

A unique identifier associated with the Malware Protection plan.

protected_resource class-attribute instance-attribute
protected_resource: UpdateProtectedResource | None = None

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

role class-attribute instance-attribute
role: str | None = None

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

Output

UpdateMalwareProtectionPlanOutput dataclass

Dataclass for UpdateMalwareProtectionPlanOutput structure.