-
Notifications
You must be signed in to change notification settings - Fork 936
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
15d4b60
commit bc96b0c
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"title": "Check S3 Object Tag Compliance Using CloudTrail, Lambda and Dynamo", | ||
"description": "Creates a CloudTrail trail to track S3 object creation events, and checks for the required tags on those objects to determine compliance", | ||
"language": "TypeScript", | ||
"level": "200", | ||
"framework": "CDK", | ||
"introBox": { | ||
"headline": "How it works", | ||
"text": [ | ||
"This pattern demonstrates how to use CloudTrail events to check the tags of S3 objects that have been created. The S3 objects are stored in a DynamoDB table", | ||
"which then gets sent to Lambda to check if the required tags are present. Compliance is updated on the DynamoDB table in the attribute is_compliant (true/false).", | ||
"Further actions can be taken based on the results of the compliance check at the user's discretion." | ||
] | ||
}, | ||
"gitHub": { | ||
"template": { | ||
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/cloudtrail-lambda-dynamo-cdk", | ||
"templateURL": "serverless-patterns/cloudtrail-lambda-dynamo-cdk", | ||
"projectFolder": "cloudtrail-lambda-dynamo-cdk/src", | ||
"templateFile": "cloudtrail-lambda-dynamo-cdk/src/lib/tag-compliance-stack.ts" | ||
} | ||
}, | ||
"resources": { | ||
"bullets": [ | ||
{ | ||
"text": "S3 Object Tagging", | ||
"link": "https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html" | ||
} | ||
] | ||
}, | ||
"deploy": { | ||
"text": [ | ||
"cdk deploy" | ||
] | ||
}, | ||
"testing": { | ||
"text": [ | ||
"See the Github repo for detailed testing instructions." | ||
] | ||
}, | ||
"cleanup": { | ||
"text": [ | ||
"Delete the stack: <code>cdk destroy</code>" | ||
] | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Mia Alarcon Chong", | ||
"image": "", | ||
"bio": "AWS Cloud Application Developer", | ||
"linkedin": "mialarcon" | ||
} | ||
] | ||
} |