Interface CfnBucket.IRuleProperty
A container for an Amazon S3 on Outposts bucket lifecycle rule.
Namespace: Amazon.CDK.AWS.S3Outposts
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRuleProperty
Syntax (vb)
Public Interface 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
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 |
Properties
AbortIncompleteMultipartUpload
The container for the abort incomplete multipart upload rule.
virtual object AbortIncompleteMultipartUpload { get; }
Property Value
System.Object
Remarks
ExpirationDate
Specifies the expiration for the lifecycle of the object by specifying an expiry date.
virtual string ExpirationDate { get; }
Property Value
System.String
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.
virtual Nullable<double> ExpirationInDays { get; }
Property Value
System.Nullable<System.Double>
Remarks
Filter
The container for the filter of the lifecycle rule.
virtual object Filter { get; }
Property Value
System.Object
Remarks
Id
Unique identifier for the lifecycle rule.
virtual string Id { get; }
Property Value
System.String
Remarks
The value can't be longer than 255 characters.
Status
If Enabled
, the rule is currently being applied.
string Status { get; }
Property Value
System.String
Remarks
If Disabled
, the rule is not currently being applied.