Show / Hide Table of Contents

Class NoncurrentVersionTransition

Describes when noncurrent versions transition to a specified storage class.

Inheritance
object
NoncurrentVersionTransition
Implements
INoncurrentVersionTransition
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NoncurrentVersionTransition : INoncurrentVersionTransition
Syntax (vb)
Public Class NoncurrentVersionTransition Implements 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;
            using Amazon.CDK.AWS.S3;

            StorageClass storageClass;

            var noncurrentVersionTransition = new NoncurrentVersionTransition {
                StorageClass = storageClass,
                TransitionAfter = Duration.Minutes(30),

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

Synopsis

Constructors

NoncurrentVersionTransition()

Describes when noncurrent versions transition to a specified storage class.

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.

Constructors

NoncurrentVersionTransition()

Describes when noncurrent versions transition to a specified storage class.

public NoncurrentVersionTransition()
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;
            using Amazon.CDK.AWS.S3;

            StorageClass storageClass;

            var noncurrentVersionTransition = new NoncurrentVersionTransition {
                StorageClass = storageClass,
                TransitionAfter = Duration.Minutes(30),

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

Properties

NoncurrentVersionsToRetain

Indicates the number of noncurrent version objects to be retained.

public double? NoncurrentVersionsToRetain { get; set; }
Property Value

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.

public StorageClass StorageClass { get; set; }
Property Value

StorageClass

Remarks

ExampleMetadata: fixture=_generated

TransitionAfter

Indicates the number of days after creation when objects are transitioned to the specified storage class.

public Duration TransitionAfter { get; set; }
Property Value

Duration

Remarks

Default: - No transition count.

Implements

INoncurrentVersionTransition
Back to top Generated by DocFX