Class BucketLifecycleRuleArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Oss.Inputs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class BucketLifecycleRuleArgs : ResourceArgs
Constructors
View SourceBucketLifecycleRuleArgs()
Declaration
public BucketLifecycleRuleArgs()
Properties
View SourceEnabled
Specifies lifecycle rule status.
Declaration
public Input<bool> Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Expirations
Specifies a period in the object's expire (documented below).
Declaration
public InputList<BucketLifecycleRuleExpirationArgs> Expirations { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<BucketLifecycleRuleExpirationArgs> |
Id
Unique identifier for the rule. If omitted, OSS bucket will assign a unique name.
Declaration
public Input<string> Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Prefix
Object key prefix identifying one or more objects to which the rule applies.
Declaration
public Input<string> Prefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Transitions
Specifies the time when an object is converted to the IA or archive storage class during a valid life cycle. (documented below).
Declaration
public InputList<BucketLifecycleRuleTransitionArgs> Transitions { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<BucketLifecycleRuleTransitionArgs> |