AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::GuardDuty::MalwareProtectionPlan

CfnMalwareProtectionPlan

Creates a new Malware Protection plan for the protected resource. When you create a Malware Protection plan, the [AWS service terms for GuardDuty Malware Protection](https://docs.aws.amazon.com/service-terms/#87._Amazon_GuardDuty) will apply.

Import

import { CfnMalwareProtectionPlan } from 'aws-cdk-lib/aws-guardduty';

Or use the module namespace:

import * as guardduty from 'aws-cdk-lib/aws-guardduty';
// guardduty.CfnMalwareProtectionPlan

Properties

Configuration passed to the constructor as CfnMalwareProtectionPlanProps.

protectedResourceRequired
IResolvable | CFNProtectedResourceProperty

Information about the protected resource. Presently, `S3Bucket` is the only supported protected resource.

roleRequired
string

Amazon Resource Name (ARN) of the IAM role that includes the permissions required to scan and (optionally) add tags to the associated protected resource. To find the ARN of your IAM role, go to the IAM console, and select the role name for details.

actionsOptional
IResolvable | CFNActionsProperty

Specifies the action that is to be applied to the Malware Protection plan resource.

tagsOptional
TagItemProperty[]

The tags to be added to the created Malware Protection plan resource. Each tag consists of a key and an optional value, both of which you need to specify.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter