Show / Hide Table of Contents

Interface CfnBucket.INoncurrentVersionTransitionProperty

Container for the transition rule that describes when noncurrent objects transition to the STANDARD_IA , ONEZONE_IA , INTELLIGENT_TIERING , GLACIER_IR , GLACIER , or DEEP_ARCHIVE storage class.

Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public interface INoncurrentVersionTransitionProperty
Syntax (vb)
Public Interface INoncurrentVersionTransitionProperty
Remarks

If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA , ONEZONE_IA , INTELLIGENT_TIERING , GLACIER_IR , GLACIER , or DEEP_ARCHIVE storage class at a specific period in the object's lifetime.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;

NoncurrentVersionTransitionProperty noncurrentVersionTransitionProperty = new NoncurrentVersionTransitionProperty {
    StorageClass = "storageClass",
    TransitionInDays = 123,

    // the properties below are optional
    NewerNoncurrentVersions = 123
};

Synopsis

Properties

NewerNoncurrentVersions

Specifies how many noncurrent versions Amazon S3 will retain.

StorageClass

The class of storage used to store the object.

TransitionInDays

Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action.

Properties

NewerNoncurrentVersions

Specifies how many noncurrent versions Amazon S3 will retain.

virtual Nullable<double> NewerNoncurrentVersions { get; }
Property Value

System.Nullable<System.Double>

Remarks

If there are this many more recent noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent versions, see Lifecycle configuration elements in the Amazon S3 User Guide .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition-newernoncurrentversions

StorageClass

The class of storage used to store the object.

string StorageClass { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition-storageclass

TransitionInDays

Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action.

double TransitionInDays { get; }
Property Value

System.Double

Remarks

For information about the noncurrent days calculations, see How Amazon S3 Calculates How Long an Object Has Been Noncurrent in the Amazon S3 User Guide .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition-transitionindays

Back to top Generated by DocFX