interface CfnMalwareProtectionPlanProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.GuardDuty.CfnMalwareProtectionPlanProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsguardduty#CfnMalwareProtectionPlanProps |
![]() | software.amazon.awscdk.services.guardduty.CfnMalwareProtectionPlanProps |
![]() | aws_cdk.aws_guardduty.CfnMalwareProtectionPlanProps |
![]() | aws-cdk-lib » aws_guardduty » CfnMalwareProtectionPlanProps |
Properties for defining a CfnMalwareProtectionPlan
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_guardduty as guardduty } from 'aws-cdk-lib';
const cfnMalwareProtectionPlanProps: guardduty.CfnMalwareProtectionPlanProps = {
protectedResource: {
s3Bucket: {
bucketName: 'bucketName',
objectPrefixes: ['objectPrefixes'],
},
},
role: 'role',
// the properties below are optional
actions: {
tagging: {
status: 'status',
},
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
protected | IResolvable | CFNProtected | Information about the protected resource. |
role | 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. |
actions? | IResolvable | CFNActions | Specifies the action that is to be applied to the Malware Protection plan resource. |
tags? | Tag [] | The tags to be added to the created Malware Protection plan resource. |
protectedResource
Type:
IResolvable
|
CFNProtected
Information about the protected resource.
Presently, S3Bucket
is the only supported protected resource.
role
Type:
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.
actions?
Type:
IResolvable
|
CFNActions
(optional)
Specifies the action that is to be applied to the Malware Protection plan resource.
tags?
Type:
Tag
[]
(optional)
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.