Show / Hide Table of Contents

Class CfnBucket.RuleProperty

A container for an Amazon S3 on Outposts bucket lifecycle rule.

Inheritance
object
CfnBucket.RuleProperty
Implements
CfnBucket.IRuleProperty
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.S3Outposts
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBucket.RuleProperty : CfnBucket.IRuleProperty
Syntax (vb)
Public Class CfnBucket.RuleProperty Implements CfnBucket.IRuleProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.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.S3Outposts;

             var filter;

             var ruleProperty = new RuleProperty {
                 Status = "status",

                 // the properties below are optional
                 AbortIncompleteMultipartUpload = new AbortIncompleteMultipartUploadProperty {
                     DaysAfterInitiation = 123
                 },
                 ExpirationDate = "expirationDate",
                 ExpirationInDays = 123,
                 Filter = filter,
                 Id = "id"
             };

Synopsis

Constructors

RuleProperty()

A container for an Amazon S3 on Outposts bucket lifecycle rule.

Properties

AbortIncompleteMultipartUpload

The container for the abort incomplete multipart upload rule.

ExpirationDate

Specifies the expiration for the lifecycle of the object by specifying an expiry date.

ExpirationInDays

Specifies the expiration for the lifecycle of the object in the form of days that the object has been in the S3 on Outposts bucket.

Filter

The container for the filter of the lifecycle rule.

Id

Unique identifier for the lifecycle rule.

Status

If Enabled , the rule is currently being applied.

Constructors

RuleProperty()

A container for an Amazon S3 on Outposts bucket lifecycle rule.

public RuleProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.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.S3Outposts;

             var filter;

             var ruleProperty = new RuleProperty {
                 Status = "status",

                 // the properties below are optional
                 AbortIncompleteMultipartUpload = new AbortIncompleteMultipartUploadProperty {
                     DaysAfterInitiation = 123
                 },
                 ExpirationDate = "expirationDate",
                 ExpirationInDays = 123,
                 Filter = filter,
                 Id = "id"
             };

Properties

AbortIncompleteMultipartUpload

The container for the abort incomplete multipart upload rule.

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-abortincompletemultipartupload

ExpirationDate

Specifies the expiration for the lifecycle of the object by specifying an expiry date.

public string? ExpirationDate { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-expirationdate

ExpirationInDays

Specifies the expiration for the lifecycle of the object in the form of days that the object has been in the S3 on Outposts bucket.

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

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-expirationindays

Filter

The container for the filter of the lifecycle rule.

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-filter

Id

Unique identifier for the lifecycle rule.

public string? Id { get; set; }
Property Value

string

Remarks

The value can't be longer than 255 characters.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-id

Status

If Enabled , the rule is currently being applied.

public string Status { get; set; }
Property Value

string

Remarks

If Disabled , the rule is not currently being applied.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-status

Implements

CfnBucket.IRuleProperty
Back to top Generated by DocFX