내용으로 건너뛰기

How do I enable Amazon GuardDuty Malware Production for Amazon S3 via Cloudformation or CDK

0

Good afternoon,

I note that the recently released Amazon GuardDuty feature of Malware Production for Amazon S3 can be enabled via the Console (https://docs.aws.amazon.com/guardduty/latest/ug/enable-malware-protection-s3-bucket.html). It also possible to enable this feature via Cloudformation or CDK?

Thxs in advance, Adrian

1개 답변
0

Here is a link to the CloudFormation documentation for GuardDuty Malware Protection

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-malwareprotectionplan.html

{
  "Type" : "AWS::GuardDuty::MalwareProtectionPlan",
  "Properties" : {
      "Actions" : CFNActions,
      "ProtectedResource" : CFNProtectedResource,
      "Role" : String,
      "Tags" : [ TagItem, ... ]
    }
}

In your case, you are wanting to protect S3 so the code would look like the following to specify the S3 Bucket.

{
  "Type" : "AWS::GuardDuty::MalwareProtectionPlan",
  "Properties" : {
      "Actions" : CFNActions,
      "ProtectedResource" : {
          "S3Bucket" : S3Bucket
      },
      "Role" : String,
      "Tags" : [ TagItem, ... ]
    }
}

Hope this helps!

AWS
전문가

답변함 2년 전

전문가

검토됨 2년 전

  • Cool. I'll give that a shot. Thxs

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.