Show / Hide Table of Contents

Class BucketState

Inheritance
System.Object
InputArgs
ResourceArgs
BucketState
Inherited Members
ResourceArgs.Empty
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
Assembly: Pulumi.Aws.dll
Syntax
public sealed class BucketState : ResourceArgs

Constructors

View Source

BucketState()

Declaration
public BucketState()

Properties

View Source

AccelerationStatus

Sets the accelerate configuration of an existing bucket. Can be Enabled or Suspended.

Declaration
public Input<string> AccelerationStatus { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Acl

The canned ACL to apply. Defaults to "private". Conflicts with grant.

Declaration
public Input<string> Acl { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Arn

The ARN of the bucket. Will be of format arn:aws:s3:::bucketname.

Declaration
public Input<string> Arn { get; set; }
Property Value
Type Description
Input<System.String>
View Source

BucketDomainName

The bucket domain name. Will be of format bucketname.s3.amazonaws.com.

Declaration
public Input<string> BucketDomainName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

BucketName

The name of the bucket. If omitted, this provider will assign a random, unique name.

Declaration
public Input<string> BucketName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

BucketPrefix

Creates a unique bucket name beginning with the specified prefix. Conflicts with bucket.

Declaration
public Input<string> BucketPrefix { get; set; }
Property Value
Type Description
Input<System.String>
View Source

BucketRegionalDomainName

The bucket region-specific domain name. The bucket domain name including the region name, please refer here for format. Note: The AWS CloudFront allows specifying S3 region-specific endpoint when creating S3 origin, it will prevent redirect issues from CloudFront to S3 Origin URL.

Declaration
public Input<string> BucketRegionalDomainName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

CorsRules

A rule of Cross-Origin Resource Sharing (documented below).

Declaration
public InputList<BucketCorsRuleGetArgs> CorsRules { get; set; }
Property Value
Type Description
InputList<BucketCorsRuleGetArgs>
View Source

ForceDestroy

A boolean that indicates all objects (including any locked objects) should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable.

Declaration
public Input<bool> ForceDestroy { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Grants

An ACL policy grant (documented below). Conflicts with acl.

Declaration
public InputList<BucketGrantGetArgs> Grants { get; set; }
Property Value
Type Description
InputList<BucketGrantGetArgs>
View Source

HostedZoneId

The Route 53 Hosted Zone ID for this bucket's region.

Declaration
public Input<string> HostedZoneId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

LifecycleRules

A configuration of object lifecycle management (documented below).

Declaration
public InputList<BucketLifecycleRuleGetArgs> LifecycleRules { get; set; }
Property Value
Type Description
InputList<BucketLifecycleRuleGetArgs>
View Source

Loggings

A settings of bucket logging (documented below).

Declaration
public InputList<BucketLoggingGetArgs> Loggings { get; set; }
Property Value
Type Description
InputList<BucketLoggingGetArgs>
View Source

ObjectLockConfiguration

A configuration of S3 object locking (documented below)

Declaration
public Input<BucketObjectLockConfigurationGetArgs> ObjectLockConfiguration { get; set; }
Property Value
Type Description
Input<BucketObjectLockConfigurationGetArgs>
View Source

Policy

A valid bucket policy JSON document. Note that if the policy document is not specific enough (but still valid), the provider may view the policy as constantly changing in a pulumi up / preview / update. In this case, please make sure you use the verbose/specific version of the policy.

Declaration
public Input<string> Policy { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Region

If specified, the AWS region this bucket should reside in. Otherwise, the region used by the callee.

Declaration
public Input<string> Region { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ReplicationConfiguration

A configuration of replication configuration (documented below).

Declaration
public Input<BucketReplicationConfigurationGetArgs> ReplicationConfiguration { get; set; }
Property Value
Type Description
Input<BucketReplicationConfigurationGetArgs>
View Source

RequestPayer

Specifies who should bear the cost of Amazon S3 data transfer. Can be either BucketOwner or Requester. By default, the owner of the S3 bucket would incur the costs of any data transfer. See Requester Pays Buckets developer guide for more information.

Declaration
public Input<string> RequestPayer { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ServerSideEncryptionConfiguration

A configuration of server-side encryption configuration (documented below)

Declaration
public Input<BucketServerSideEncryptionConfigurationGetArgs> ServerSideEncryptionConfiguration { get; set; }
Property Value
Type Description
Input<BucketServerSideEncryptionConfigurationGetArgs>
View Source

Tags

A mapping of tags to assign to the bucket.

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

Versioning

A state of versioning (documented below)

Declaration
public Input<BucketVersioningGetArgs> Versioning { get; set; }
Property Value
Type Description
Input<BucketVersioningGetArgs>
View Source

Website

A website object (documented below).

Declaration
public Input<BucketWebsiteGetArgs> Website { get; set; }
Property Value
Type Description
Input<BucketWebsiteGetArgs>
View Source

WebsiteDomain

The domain of the website endpoint, if the bucket is configured with a website. If not, this will be an empty string. This is used to create Route 53 alias records.

Declaration
public Input<string> WebsiteDomain { get; set; }
Property Value
Type Description
Input<System.String>
View Source

WebsiteEndpoint

The website endpoint, if the bucket is configured with a website. If not, this will be an empty string.

Declaration
public Input<string> WebsiteEndpoint { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.