Class BucketObjectLockConfigurationRuleDefaultRetentionArgs
Inheritance
System.Object
BucketObjectLockConfigurationRuleDefaultRetentionArgs
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.Aws.S3.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class BucketObjectLockConfigurationRuleDefaultRetentionArgs : ResourceArgs
Constructors
View SourceBucketObjectLockConfigurationRuleDefaultRetentionArgs()
Declaration
public BucketObjectLockConfigurationRuleDefaultRetentionArgs()
Properties
View SourceDays
The number of days that you want to specify for the default retention period.
Declaration
public Input<int> Days { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Mode
The default Object Lock retention mode you want to apply to new objects placed in this bucket. Valid values are GOVERNANCE and COMPLIANCE.
Declaration
public Input<string> Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Years
The number of years that you want to specify for the default retention period.
Declaration
public Input<int> Years { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |