Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Last active November 6, 2020 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuyasugano/f8897da1cdbffaab335b032481de9ff4 to your computer and use it in GitHub Desktop.
Save yuyasugano/f8897da1cdbffaab335b032481de9ff4 to your computer and use it in GitHub Desktop.
s3 cross region replication replication configuration
ReplicationConfiguration:
Role: !GetAtt CrossRegionReplicationRole.Arn
Rules:
-
Destination:
Bucket:
!Join
- ""
-
- "arn:aws:s3:::"
- !Sub "${ReplicationBucketName}-${Environment}-bucket"
StorageClass: STANDARD
Id: Rule1
Prefix: ""
Status: Enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment