[{"data":1,"prerenderedAt":70},["ShallowReactive",2],{"pattern-cloudtrail-eventbridge-lambda-dynamodb-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":30,"level":31,"meta":32,"patternArch":33,"resources":53,"s3URL":6,"services":6,"stem":65,"testing":66,"videoId":6,"__hash__":69},"patterns\u002Fpatterns\u002Fcloudtrail-eventbridge-lambda-dynamodb-sam.json","Remove unexpected BYOIPV6 route advertisements",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fjohn-dwyer.json",{"text":13},[14],"sam deploy","Use Amazon EventBridge and AWS Lambda to respond to AdvertiseByoipCidr events and validate if the address space should be advertised.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fcloudtrail-eventbridge-lambda-dynamodb-sam","serverless-patterns\u002Fcloudtrail-eventbridge-lambda-dynamodb-sam","cloudtrail-eventbridge-lambda-dynamodb-sam","template.yaml",{"headline":25,"text":26},"How it works",[27,28,29],"This sample project demonstrates how to use Amazon EventBridge and AWS Lambda to respond to AWS CloudTrail events. In this example, any \u003Ccode>AdvertiseByoipCidr\u003C\u002Fcode> call triggers a Lambda function to run and validate whether or not the address space is expected to be advertised by checking for the address space in a list of allowed CIDRs in a DynamoDB table.","If the address space is not permitted to be advertised, the Lambda will publish a message to a SNS Topic to notify an administrator that an unexpected CIDR was advertised and will automatically remove the advertisement of the CIDR.","This pattern deploys an EventBridge rule, a Lambda function, a DynamoDB table and a SNS topic.","Python","200",{},{"icon1":34,"icon2":39,"icon3":42,"line1":46,"line2":50},{"x":35,"y":36,"service":37,"label":38},20,50,"cloudtrail","Amazon CloudTrail",{"x":36,"y":36,"service":40,"label":41},"eventbridge","Amazon EventBridge",{"x":43,"y":36,"service":44,"label":45},80,"lambda","AWS Lambda",{"from":47,"to":48,"label":49},"icon1","icon2","rule triggered",{"from":48,"to":51,"label":52},"icon3","",{"bullets":54},[55,58,60,62],{"text":56,"link":57},"Bring Your IPv6 Address Space to Amazon VPC IP Address Manager","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fnetworking-and-content-delivery\u002Fbring-your-ipv6-address-space-to-amazon-vpc-ip-address-manager-ipam\u002F",{"text":41,"link":59},"https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-what-is.html",{"text":45,"link":61},"https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwelcome.html",{"text":63,"link":64},"Amazon VPC IP Address Manager (IPAM)","https:\u002F\u002Fdocs.aws.amazon.com\u002Fvpc\u002Flatest\u002Fipam\u002Fwhat-it-is-ipam.html","patterns\u002Fcloudtrail-eventbridge-lambda-dynamodb-sam",{"text":67},[68],"See the GitHub repo for detailed testing instructions.","rSxFljtWCmOJvd2b8pgevV1_RR1lEveVss8O04zDrI8",1778846883833]