Show / Hide Table of Contents

Interface CfnDirectoryBucketPropsMixin.ILifecycleConfigurationProperty

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

Namespace: Amazon.CDK.Mixins.Preview.AWS.S3Express.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnDirectoryBucketPropsMixin.ILifecycleConfigurationProperty
Syntax (vb)
Public Interface CfnDirectoryBucketPropsMixin.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.Mixins.Preview.AWS.S3Express.Mixins;

             var lifecycleConfigurationProperty = new LifecycleConfigurationProperty {
                 Rules = new [] { new RuleProperty {
                     AbortIncompleteMultipartUpload = new AbortIncompleteMultipartUploadProperty {
                         DaysAfterInitiation = 123
                     },
                     ExpirationInDays = 123,
                     Id = "id",
                     ObjectSizeGreaterThan = "objectSizeGreaterThan",
                     ObjectSizeLessThan = "objectSizeLessThan",
                     Prefix = "prefix",
                     Status = "status"
                 } }
             };

Synopsis

Properties

Rules

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

Properties

Rules

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

object? Rules { get; }
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 CfnDirectoryBucketPropsMixin.IRuleProperty)[]

Back to top Generated by DocFX