How should I use CloudFormat and Lambda Function to create tables and indexes for DocumentDB and achieve S3 bucket to bucket replication

0

Questions such as titles,Can you tell me the process or give me some templates,thanks! how to real-time monitoring of A bucket, copying files to B bucket while adding them to A bucket ,and when I build a new environment I want copy A bucket's object to B bucket. and how to create tables and indexes for DocumentDB by CloudFormat and Lambda Function.I can hardly find any information for this two questions.

profile picture
Dgk
질문됨 10달 전202회 조회
1개 답변
0

Hiya , do the following:

Create a CloudFormat template that defines the resources you need, such as the DocumentDB cluster, the S3 buckets, and the Lambda function. Upload the CloudFormat template to Amazon S3. Create a new Lambda function that uses the change streams API to read changes from the DocumentDB cluster and write them to the S3 bucket. Configure the Lambda function to be triggered by Amazon EventBridge. Deploy the CloudFormat template. Once the CloudFormat template is deployed, the Lambda function will start reading changes from the DocumentDB cluster and writing them to the S3 bucket. The S3 bucket to bucket replication will be achieved automatically.

profile picture
답변함 10달 전
  • thanks for you answer,I want know how to real-time monitoring of A bucket, copying files to B bucket while adding them to A bucket ,and when I build a new environment I want copy A bucket's object to B bucket. and how to create tables and indexes for DocumentDB by CloudFormat and Lambda Function.I can hardly find any information for this two questions.

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

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

질문 답변하기에 대한 가이드라인

관련 콘텐츠