Table of Contents

Class PutLifecycleConfigurationRequest

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

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

string

Configuration

The lifecycle configuration to be applied.

public LifecycleConfiguration Configuration { get; set; }

Property Value

LifecycleConfiguration

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; }

Property Value

string