Class Transition
Describes when an object transitions to a specified storage class.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Transition : Object, ITransition
Syntax (vb)
Public Class Transition
Inherits Object
Implements ITransition
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 transition = new Transition {
StorageClass = storageClass,
// the properties below are optional
TransitionAfter = Duration.Minutes(30),
TransitionDate = new Date()
};
Synopsis
Constructors
Transition() |
Properties
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. |
TransitionDate | Indicates when objects are transitioned to the specified storage class. |
Constructors
Transition()
public Transition()
Properties
StorageClass
The storage class to which you want the object to transition.
public StorageClass StorageClass { get; set; }
Property Value
TransitionAfter
Indicates the number of days after creation when objects are transitioned to the specified storage class.
public Duration TransitionAfter { get; set; }
Property Value
Remarks
Default: - No transition count.
TransitionDate
Indicates when objects are transitioned to the specified storage class.
public Nullable<DateTime> TransitionDate { get; set; }
Property Value
System.Nullable<System.DateTime>
Remarks
The date value must be in ISO 8601 format. The time is always midnight UTC.
Default: - No transition date.