Interface CfnBucket.ITransitionProperty
Specifies when an object transitions to a specified storage class.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITransitionProperty
Syntax (vb)
Public Interface ITransitionProperty
Remarks
For more information about Amazon S3 lifecycle configuration rules, see Transitioning Objects Using Amazon S3 Lifecycle in the Amazon S3 User Guide .
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;
var transitionProperty = new TransitionProperty {
StorageClass = "storageClass",
// the properties below are optional
TransitionDate = new Date(),
TransitionInDays = 123
};
Synopsis
Properties
StorageClass | The storage class to which you want the object to transition. |
TransitionDate | Indicates when objects are transitioned to the specified storage class. |
TransitionInDays | Indicates the number of days after creation when objects are transitioned to the specified storage class. |
Properties
StorageClass
The storage class to which you want the object to transition.
string StorageClass { get; }
Property Value
System.String
Remarks
TransitionDate
Indicates when objects are transitioned to the specified storage class.
virtual object TransitionDate { get; }
Property Value
System.Object
Remarks
The date value must be in ISO 8601 format. The time is always midnight UTC.
TransitionInDays
Indicates the number of days after creation when objects are transitioned to the specified storage class.
virtual Nullable<double> TransitionInDays { get; }
Property Value
System.Nullable<System.Double>
Remarks
The value must be a positive integer.