Skip to content

Guardduty  >  Operations  >  get_malware_protection_plan

get_malware_protection_plan

Operation

get_malware_protection_plan async

get_malware_protection_plan(input: GetMalwareProtectionPlanInput, plugins: list[Plugin] | None = None) -> GetMalwareProtectionPlanOutput

Retrieves the Malware Protection plan details associated with a Malware Protection plan ID.

Parameters:

Name Type Description Default
input GetMalwareProtectionPlanInput

An instance of GetMalwareProtectionPlanInput.

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
GetMalwareProtectionPlanOutput

An instance of GetMalwareProtectionPlanOutput.

Input

GetMalwareProtectionPlanInput dataclass

Dataclass for GetMalwareProtectionPlanInput structure.

Attributes

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

A unique identifier associated with Malware Protection plan resource.

Output

GetMalwareProtectionPlanOutput dataclass

Dataclass for GetMalwareProtectionPlanOutput 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.

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

Amazon Resource Name (ARN) of the protected resource.

created_at class-attribute instance-attribute
created_at: datetime | None = None

The timestamp when the Malware Protection plan resource was created.

protected_resource class-attribute instance-attribute
protected_resource: CreateProtectedResource | 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 that includes the permissions to scan and add tags to the associated protected resource.

status class-attribute instance-attribute
status: MalwareProtectionPlanStatus | None = None

Malware Protection plan status.

status_reasons class-attribute instance-attribute
status_reasons: list[MalwareProtectionPlanStatusReason] | None = None

Information about the issue code and message associated to the status of your Malware Protection plan.

tags class-attribute instance-attribute
tags: dict[str, str] | None = None

Tags added to the Malware Protection plan resource.