Class PutLifecycleConfigurationRequest
Container for the parameters to the PutLifecycleConfiguration operation.
Sets lifecycle configuration for your bucket. If a lifecycle configuration exists, it replaces it.
public class PutLifecycleConfigurationRequest : AmazonWebServiceRequest
- Inheritance
-
PutLifecycleConfigurationRequest
Constructors
PutLifecycleConfigurationRequest()
public PutLifecycleConfigurationRequest()
Properties
BucketName
The name of the bucket to have the lifecycle configuration applied.
public string BucketName { get; set; }
Property Value
Configuration
The lifecycle configuration to be applied.
public LifecycleConfiguration Configuration { get; set; }
Property Value
ExpectedBucketOwner
The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
public string ExpectedBucketOwner { get; set; }