Skip to content

Commit c291c44

Browse files
authoredDec 6, 2021
feat(s3): add GLACIER_IR storage class (#17829)
Add S3 Glacier Instant Retrieval storage class that announced by [this blog](https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-s3-glacier-instant-retrieval-storage-class/). It is also described in the [CloudFormation documentation](https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html). ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 0f40af1 commit c291c44

File tree

1 file changed

+11
-0
lines changed
  • packages/@aws-cdk/aws-s3/lib

1 file changed

+11
-0
lines changed
 

‎packages/@aws-cdk/aws-s3/lib/rule.ts

+11
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,17 @@ export class StorageClass {
184184
*/
185185
public static readonly GLACIER = new StorageClass('GLACIER');
186186

187+
/**
188+
* Storage class for long-term archival that can be accessed in a few milliseconds.
189+
*
190+
* It is ideal for data that is accessed once or twice per quarter, and
191+
* that requires immediate access. Data stored in the GLACIER_IR storage class
192+
* has a minimum storage duration period of 90 days and can be accessed in
193+
* as milliseconds. If you delete an object before the 90-day minimum,
194+
* you are charged for 90 days.
195+
*/
196+
public static readonly GLACIER_INSTANT_RETRIEVAL = new StorageClass('GLACIER_IR');
197+
187198
/**
188199
* Use for archiving data that rarely needs to be accessed. Data stored in the
189200
* DEEP_ARCHIVE storage class has a minimum storage duration period of 180

0 commit comments

Comments
 (0)
Please sign in to comment.