From the user guide, I don't see Macie in the list of supported CloudFormation resources. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html Does this mean that you cannot create Macie resources through CloudFormation templates?
Asked
Active
Viewed 542 times
2
-
I think you can set up EC2 with script to configure AWS Macie. I haven't tried it before so I might be wrong. – kkesley Nov 15 '18 at 22:04
-
1Can you elaborate a little more? Is it through boto3? – Chang Lee Nov 16 '18 at 16:06
3 Answers
1
Unfortunately, Cloudformation supports only few functions of Macie. At the moment (November 2021), Cloudformation only supports the following actions:
AWS::Macie::CustomDataIdentifier
defines a custom data identifierAWS::Macie::FindingsFilter
defines a filter on the jobs' resultsAWS::Macie::Session
represents the Amazon Macie service and configuration settings for an account.
Cloudformation is still missing the core functionality of Macie which is the creation of jobs (based whether on a defined data identifier or a custom one). I hope it will be added soon to CloudFormation.

mahmoud mehdi
- 1,493
- 1
- 19
- 28
0
It looks like you can configure Macie with CloudFormation according to the official docs: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Macie.html

ojcorzog
- 1
-1
No, it's not supported. There's not much to configure with Macie, it just runs. Amazon explicitly states that Macie doesn't accept custom regexes, for example, unlike Google DLP.

OmahaJoe
- 11
- 4
-
1This answer is incorrect. Macie can be configured using CloudFormation like it is explained in another answer – BinaryButterfly Nov 25 '21 at 11:58