Show / Hide Table of Contents

Class CfnBucket.TransitionProperty

Specifies when an object transitions to a specified storage class.

Inheritance
object
CfnBucket.TransitionProperty
Implements
CfnBucket.ITransitionProperty
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 CfnBucket.TransitionProperty : CfnBucket.ITransitionProperty
Syntax (vb)
Public Class CfnBucket.TransitionProperty Implements CfnBucket.ITransitionProperty
Remarks

For more information about Amazon S3 lifecycle configuration rules, see Transitioning Objects Using Amazon S3 Lifecycle in the Amazon S3 User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html

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

Constructors

TransitionProperty()

Specifies when an object transitions to a specified storage class.

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.

Constructors

TransitionProperty()

Specifies when an object transitions to a specified storage class.

public TransitionProperty()
Remarks

For more information about Amazon S3 lifecycle configuration rules, see Transitioning Objects Using Amazon S3 Lifecycle in the Amazon S3 User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html

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
             };

Properties

StorageClass

The storage class to which you want the object to transition.

public string StorageClass { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html#cfn-s3-bucket-transition-storageclass

TransitionDate

Indicates when objects are transitioned to the specified storage class.

public object? TransitionDate { get; set; }
Property Value

object

Remarks

The date value must be in ISO 8601 format. The time is always midnight UTC.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html#cfn-s3-bucket-transition-transitiondate

Type union: either System.DateTime or IResolvable

TransitionInDays

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

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

double?

Remarks

If the specified storage class is INTELLIGENT_TIERING , GLACIER_IR , GLACIER , or DEEP_ARCHIVE , valid values are 0 or positive integers. If the specified storage class is STANDARD_IA or ONEZONE_IA , valid values are positive integers greater than 30 . Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see Constraints and considerations for transitions in the Amazon S3 User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html#cfn-s3-bucket-transition-transitionindays

Implements

CfnBucket.ITransitionProperty
Back to top Generated by DocFX