Skip to content

Instantly share code, notes, and snippets.

@allanchua101
Created August 24, 2020 09:35
Show Gist options
  • Save allanchua101/7e26821a1265027ad583be67ec216420 to your computer and use it in GitHub Desktop.
Save allanchua101/7e26821a1265027ad583be67ec216420 to your computer and use it in GitHub Desktop.
LifecycleConfiguration:
Rules:
- Id: SetToStandardIAAfterAYear
Status: Enabled
Transitions:
- TransitionInDays: "365"
StorageClass: STANDARD_IA
- Id: SetToGlacierAfterThreeYears
Status: Enabled
Transitions:
- TransitionInDays: "1095"
StorageClass: GLACIER
- Id: DeleteArtifactsAfterSevenYears
Status: "Enabled"
ExpirationInDays: 2555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment