Interface ITransition
Describes when an object transitions to a specified storage class.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITransition
Syntax (vb)
Public Interface 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
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. |
Properties
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.
virtual Duration TransitionAfter { get; }
Property Value
Remarks
Default: - No transition count.
TransitionDate
Indicates when objects are transitioned to the specified storage class.
virtual Nullable<DateTime> TransitionDate { get; }
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.