Class BucketState
Inherited Members
Namespace: Pulumi.Aws.S3
Assembly: Pulumi.Aws.dll
Syntax
public sealed class BucketState : ResourceArgs
Constructors
View SourceBucketState()
Declaration
public BucketState()
Properties
View SourceAccelerationStatus
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> |
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> |
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> |
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> |
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> |
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> |
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> |
CorsRules
A rule of Cross-Origin Resource Sharing (documented below).
Declaration
public InputList<BucketCorsRuleGetArgs> CorsRules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<BucketCorsRuleGetArgs> |
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> |
Grants
An ACL policy grant (documented below). Conflicts with acl.
Declaration
public InputList<BucketGrantGetArgs> Grants { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<BucketGrantGetArgs> |
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> |
LifecycleRules
A configuration of object lifecycle management (documented below).
Declaration
public InputList<BucketLifecycleRuleGetArgs> LifecycleRules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<BucketLifecycleRuleGetArgs> |
Loggings
A settings of bucket logging (documented below).
Declaration
public InputList<BucketLoggingGetArgs> Loggings { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<BucketLoggingGetArgs> |
ObjectLockConfiguration
A configuration of S3 object locking (documented below)
Declaration
public Input<BucketObjectLockConfigurationGetArgs> ObjectLockConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<BucketObjectLockConfigurationGetArgs> |
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> |
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> |
ReplicationConfiguration
A configuration of replication configuration (documented below).
Declaration
public Input<BucketReplicationConfigurationGetArgs> ReplicationConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<BucketReplicationConfigurationGetArgs> |
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> |
ServerSideEncryptionConfiguration
A configuration of server-side encryption configuration (documented below)
Declaration
public Input<BucketServerSideEncryptionConfigurationGetArgs> ServerSideEncryptionConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<BucketServerSideEncryptionConfigurationGetArgs> |
Tags
A mapping of tags to assign to the bucket.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
Versioning
A state of versioning (documented below)
Declaration
public Input<BucketVersioningGetArgs> Versioning { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<BucketVersioningGetArgs> |
Website
A website object (documented below).
Declaration
public Input<BucketWebsiteGetArgs> Website { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<BucketWebsiteGetArgs> |
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> |
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> |