Class CfnBucket.RuleProperty
A container for an Amazon S3 on Outposts bucket lifecycle rule.
Implements
Inherited Members
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
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 |
Constructors
RuleProperty()
A container for an Amazon S3 on Outposts bucket lifecycle rule.
public RuleProperty()
Remarks
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
Remarks
ExpirationDate
Specifies the expiration for the lifecycle of the object by specifying an expiry date.
public string? ExpirationDate { get; set; }
Property Value
Remarks
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
Remarks
Filter
The container for the filter of the lifecycle rule.
public object? Filter { get; set; }
Property Value
Remarks
Id
Unique identifier for the lifecycle rule.
public string? Id { get; set; }
Property Value
Remarks
The value can't be longer than 255 characters.
Status
If Enabled
, the rule is currently being applied.
public string Status { get; set; }
Property Value
Remarks
If Disabled
, the rule is not currently being applied.