Interface INoncurrentVersionTransition
Describes when noncurrent versions transition to a specified storage class.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public interface INoncurrentVersionTransition
Syntax (vb)
Public Interface INoncurrentVersionTransition
Remarks
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;
using Amazon.CDK;
StorageClass storageClass;
NoncurrentVersionTransition noncurrentVersionTransition = new NoncurrentVersionTransition {
StorageClass = storageClass,
TransitionAfter = Duration.Minutes(30),
// the properties below are optional
NoncurrentVersionsToRetain = 123
};
Synopsis
Properties
NoncurrentVersionsToRetain | Indicates the number of noncurrent version objects to be retained. |
StorageClass | The storage class to which you want the object to transition. |
TransitionAfter | Indicates the number of days after creation when objects are transitioned to the specified storage class. |
Properties
NoncurrentVersionsToRetain
Indicates the number of noncurrent version objects to be retained.
virtual Nullable<double> NoncurrentVersionsToRetain { get; }
Property Value
System.Nullable<System.Double>
Remarks
Can be up to 100 noncurrent versions retained.
Default: - No noncurrent version retained.
StorageClass
The storage class to which you want the object to transition.
StorageClass StorageClass { get; }
Property Value
TransitionAfter
Indicates the number of days after creation when objects are transitioned to the specified storage class.
Duration TransitionAfter { get; }
Property Value
Remarks
Default: - No transition count.