Show / Hide Table of Contents

Class CfnDirectoryBucket.LifecycleConfigurationProperty

Container for lifecycle rules. You can add as many as 1000 rules.

Inheritance
object
CfnDirectoryBucket.LifecycleConfigurationProperty
Implements
CfnDirectoryBucket.ILifecycleConfigurationProperty
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.S3Express
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDirectoryBucket.LifecycleConfigurationProperty : CfnDirectoryBucket.ILifecycleConfigurationProperty
Syntax (vb)
Public Class CfnDirectoryBucket.LifecycleConfigurationProperty Implements CfnDirectoryBucket.ILifecycleConfigurationProperty
Remarks

For more information see, Creating and managing a lifecycle configuration for directory buckets in the Amazon S3 User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-directorybucket-lifecycleconfiguration.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.S3Express;

             var lifecycleConfigurationProperty = new LifecycleConfigurationProperty {
                 Rules = new [] { new RuleProperty {
                     Status = "status",

                     // the properties below are optional
                     AbortIncompleteMultipartUpload = new AbortIncompleteMultipartUploadProperty {
                         DaysAfterInitiation = 123
                     },
                     ExpirationInDays = 123,
                     Id = "id",
                     ObjectSizeGreaterThan = "objectSizeGreaterThan",
                     ObjectSizeLessThan = "objectSizeLessThan",
                     Prefix = "prefix"
                 } }
             };

Synopsis

Constructors

LifecycleConfigurationProperty()

Container for lifecycle rules. You can add as many as 1000 rules.

Properties

Rules

A lifecycle rule for individual objects in an Amazon S3 Express bucket.

Constructors

LifecycleConfigurationProperty()

Container for lifecycle rules. You can add as many as 1000 rules.

public LifecycleConfigurationProperty()
Remarks

For more information see, Creating and managing a lifecycle configuration for directory buckets in the Amazon S3 User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-directorybucket-lifecycleconfiguration.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.S3Express;

             var lifecycleConfigurationProperty = new LifecycleConfigurationProperty {
                 Rules = new [] { new RuleProperty {
                     Status = "status",

                     // the properties below are optional
                     AbortIncompleteMultipartUpload = new AbortIncompleteMultipartUploadProperty {
                         DaysAfterInitiation = 123
                     },
                     ExpirationInDays = 123,
                     Id = "id",
                     ObjectSizeGreaterThan = "objectSizeGreaterThan",
                     ObjectSizeLessThan = "objectSizeLessThan",
                     Prefix = "prefix"
                 } }
             };

Properties

Rules

A lifecycle rule for individual objects in an Amazon S3 Express bucket.

public object Rules { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-directorybucket-lifecycleconfiguration.html#cfn-s3express-directorybucket-lifecycleconfiguration-rules

Type union: either IResolvable or (either IResolvable or CfnDirectoryBucket.IRuleProperty)[]

Implements

CfnDirectoryBucket.ILifecycleConfigurationProperty
Back to top Generated by DocFX