Skip to content

prachikhanna84/AmazonSimpleStorageServiceCopyAutomation

Repository files navigation

Amazon Simple Storage Service Single account or cross account automation using AWS CloudFormation

Use this AWS CloudFormation template to create the complete infrastructure to copy contents from source Amazon S3 provided by the user to target Amazon S3 bucket created in user account.

Amazon S3 Copy Automation Architecture

Resources created by cloudformation

  • Target Amazon S3 bucket
  • AWS Identity and Access Management (IAM) role for AWS Lambda to access/put objects in the target Amazon S3 bucket
  • AWS Lambda function to copy the contents from source to target bucket
  • Amazon CloudWatch log for AWS Lambda function log tracking
  • CloudFormation custom resource to trigger the AWS Lambda

Pre-requisites to use this CloudFormation template

  • AWS Account
  • Source Amazon S3 bucket
  • access to execute the CloudFormation template

how to use the CloudFormation

  • execute the CloudFormation template in AWS account
  • all the resources mention will be created by CloudFormation template
  • object from source bucket will be copied

Debugging

  • AWS Lambda logs are published in CloudWatch logs

Contributing

Contributions are more than welcome. This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opensource-codeofconduct@amazon.com with any additional questions or comments.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

Releases

No releases published

Packages

No packages published