Class CfnDirectoryBucket.LifecycleConfigurationProperty
Container for lifecycle rules. You can add as many as 1000 rules.
Inherited Members
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 .
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 .
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; }