Bucket

Provides a resource to create a oss bucket and set its attribution.

NOTE: The bucket namespace is shared by all users of the OSS system. Please set bucket name as unique as possible.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var bucket_acl = new AliCloud.Oss.Bucket("bucket-acl", new AliCloud.Oss.BucketArgs
        {
            Acl = "private",
            Bucket = "bucket-170309-acl",
        });
    }

}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

bucket_acl = alicloud.oss.Bucket("bucket-acl",
    acl="private",
    bucket="bucket-170309-acl")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const bucket_acl = new alicloud.oss.Bucket("bucket-acl", {
    acl: "private",
    bucket: "bucket-170309-acl",
});

Create a Bucket Resource

new Bucket(name: string, args?: BucketArgs, opts?: CustomResourceOptions);
def Bucket(resource_name, opts=None, acl=None, bucket=None, cors_rules=None, force_destroy=None, lifecycle_rules=None, logging=None, logging_isenable=None, policy=None, referer_config=None, server_side_encryption_rule=None, storage_class=None, tags=None, versioning=None, website=None, __props__=None);
func NewBucket(ctx *Context, name string, args *BucketArgs, opts ...ResourceOption) (*Bucket, error)
public Bucket(string name, BucketArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args BucketArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args BucketArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BucketArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Bucket Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Bucket resource accepts the following input properties:

Acl string

The canned ACL to apply. Can be “private”, “public-read” and “public-read-write”. Defaults to “private”.

BucketName string
CorsRules List<Pulumi.AliCloud.Oss.Inputs.BucketCorsRuleArgs>

A rule of Cross-Origin Resource Sharing (documented below). The items of core rule are no more than 10 for every OSS bucket.

ForceDestroy bool

A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. Defaults to “false”.

LifecycleRules List<Pulumi.AliCloud.Oss.Inputs.BucketLifecycleRuleArgs>

A configuration of object lifecycle management (documented below).

Logging Pulumi.AliCloud.Oss.Inputs.BucketLoggingArgs

A Settings of bucket logging (documented below).

LoggingIsenable bool

The flag of using logging enable container. Defaults true.

Deprecated: Deprecated from 1.37.0. When logging is set, the bucket logging will be able.

Policy string

Json format text of bucket policy bucket policy management.

RefererConfig Pulumi.AliCloud.Oss.Inputs.BucketRefererConfigArgs

The configuration of referer (documented below).

ServerSideEncryptionRule Pulumi.AliCloud.Oss.Inputs.BucketServerSideEncryptionRuleArgs

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

StorageClass string

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

Tags Dictionary<string, object>

A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.

Versioning Pulumi.AliCloud.Oss.Inputs.BucketVersioningArgs

A state of versioning (documented below).

Website Pulumi.AliCloud.Oss.Inputs.BucketWebsiteArgs

A website object(documented below).

Acl string

The canned ACL to apply. Can be “private”, “public-read” and “public-read-write”. Defaults to “private”.

Bucket string
CorsRules []BucketCorsRule

A rule of Cross-Origin Resource Sharing (documented below). The items of core rule are no more than 10 for every OSS bucket.

ForceDestroy bool

A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. Defaults to “false”.

LifecycleRules []BucketLifecycleRule

A configuration of object lifecycle management (documented below).

Logging BucketLogging

A Settings of bucket logging (documented below).

LoggingIsenable bool

The flag of using logging enable container. Defaults true.

Deprecated: Deprecated from 1.37.0. When logging is set, the bucket logging will be able.

Policy string

Json format text of bucket policy bucket policy management.

RefererConfig BucketRefererConfig

The configuration of referer (documented below).

ServerSideEncryptionRule BucketServerSideEncryptionRule

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

StorageClass string

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

Tags map[string]interface{}

A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.

Versioning BucketVersioning

A state of versioning (documented below).

Website BucketWebsite

A website object(documented below).

acl string

The canned ACL to apply. Can be “private”, “public-read” and “public-read-write”. Defaults to “private”.

bucket string
corsRules BucketCorsRule[]

A rule of Cross-Origin Resource Sharing (documented below). The items of core rule are no more than 10 for every OSS bucket.

forceDestroy boolean

A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. Defaults to “false”.

lifecycleRules BucketLifecycleRule[]

A configuration of object lifecycle management (documented below).

logging BucketLogging

A Settings of bucket logging (documented below).

loggingIsenable boolean

The flag of using logging enable container. Defaults true.

Deprecated: Deprecated from 1.37.0. When logging is set, the bucket logging will be able.

policy string

Json format text of bucket policy bucket policy management.

refererConfig BucketRefererConfig

The configuration of referer (documented below).

serverSideEncryptionRule BucketServerSideEncryptionRule

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

storageClass string

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

tags {[key: string]: any}

A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.

versioning BucketVersioning

A state of versioning (documented below).

website BucketWebsite

A website object(documented below).

acl str

The canned ACL to apply. Can be “private”, “public-read” and “public-read-write”. Defaults to “private”.

bucket str
cors_rules List[BucketCorsRule]

A rule of Cross-Origin Resource Sharing (documented below). The items of core rule are no more than 10 for every OSS bucket.

force_destroy bool

A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. Defaults to “false”.

lifecycle_rules List[BucketLifecycleRule]

A configuration of object lifecycle management (documented below).

logging Dict[BucketLogging]

A Settings of bucket logging (documented below).

logging_isenable bool

The flag of using logging enable container. Defaults true.

Deprecated: Deprecated from 1.37.0. When logging is set, the bucket logging will be able.

policy str

Json format text of bucket policy bucket policy management.

referer_config Dict[BucketRefererConfig]

The configuration of referer (documented below).

server_side_encryption_rule Dict[BucketServerSideEncryptionRule]

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

storage_class str

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

tags Dict[str, Any]

A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.

versioning Dict[BucketVersioning]

A state of versioning (documented below).

website Dict[BucketWebsite]

A website object(documented below).

Outputs

All input properties are implicitly available as output properties. Additionally, the Bucket resource produces the following output properties:

CreationDate string

The creation date of the bucket.

ExtranetEndpoint string

The extranet access endpoint of the bucket.

Id string
The provider-assigned unique ID for this managed resource.
IntranetEndpoint string

The intranet access endpoint of the bucket.

Location string

The location of the bucket.

Owner string

The bucket owner.

CreationDate string

The creation date of the bucket.

ExtranetEndpoint string

The extranet access endpoint of the bucket.

Id string
The provider-assigned unique ID for this managed resource.
IntranetEndpoint string

The intranet access endpoint of the bucket.

Location string

The location of the bucket.

Owner string

The bucket owner.

creationDate string

The creation date of the bucket.

extranetEndpoint string

The extranet access endpoint of the bucket.

id string
The provider-assigned unique ID for this managed resource.
intranetEndpoint string

The intranet access endpoint of the bucket.

location string

The location of the bucket.

owner string

The bucket owner.

creation_date str

The creation date of the bucket.

extranet_endpoint str

The extranet access endpoint of the bucket.

id str
The provider-assigned unique ID for this managed resource.
intranet_endpoint str

The intranet access endpoint of the bucket.

location str

The location of the bucket.

owner str

The bucket owner.

Look up an Existing Bucket Resource

Get an existing Bucket resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: BucketState, opts?: CustomResourceOptions): Bucket
static get(resource_name, id, opts=None, acl=None, bucket=None, cors_rules=None, creation_date=None, extranet_endpoint=None, force_destroy=None, intranet_endpoint=None, lifecycle_rules=None, location=None, logging=None, logging_isenable=None, owner=None, policy=None, referer_config=None, server_side_encryption_rule=None, storage_class=None, tags=None, versioning=None, website=None, __props__=None);
func GetBucket(ctx *Context, name string, id IDInput, state *BucketState, opts ...ResourceOption) (*Bucket, error)
public static Bucket Get(string name, Input<string> id, BucketState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Acl string

The canned ACL to apply. Can be “private”, “public-read” and “public-read-write”. Defaults to “private”.

BucketName string
CorsRules List<Pulumi.AliCloud.Oss.Inputs.BucketCorsRuleArgs>

A rule of Cross-Origin Resource Sharing (documented below). The items of core rule are no more than 10 for every OSS bucket.

CreationDate string

The creation date of the bucket.

ExtranetEndpoint string

The extranet access endpoint of the bucket.

ForceDestroy bool

A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. Defaults to “false”.

IntranetEndpoint string

The intranet access endpoint of the bucket.

LifecycleRules List<Pulumi.AliCloud.Oss.Inputs.BucketLifecycleRuleArgs>

A configuration of object lifecycle management (documented below).

Location string

The location of the bucket.

Logging Pulumi.AliCloud.Oss.Inputs.BucketLoggingArgs

A Settings of bucket logging (documented below).

LoggingIsenable bool

The flag of using logging enable container. Defaults true.

Deprecated: Deprecated from 1.37.0. When logging is set, the bucket logging will be able.

Owner string

The bucket owner.

Policy string

Json format text of bucket policy bucket policy management.

RefererConfig Pulumi.AliCloud.Oss.Inputs.BucketRefererConfigArgs

The configuration of referer (documented below).

ServerSideEncryptionRule Pulumi.AliCloud.Oss.Inputs.BucketServerSideEncryptionRuleArgs

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

StorageClass string

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

Tags Dictionary<string, object>

A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.

Versioning Pulumi.AliCloud.Oss.Inputs.BucketVersioningArgs

A state of versioning (documented below).

Website Pulumi.AliCloud.Oss.Inputs.BucketWebsiteArgs

A website object(documented below).

Acl string

The canned ACL to apply. Can be “private”, “public-read” and “public-read-write”. Defaults to “private”.

Bucket string
CorsRules []BucketCorsRule

A rule of Cross-Origin Resource Sharing (documented below). The items of core rule are no more than 10 for every OSS bucket.

CreationDate string

The creation date of the bucket.

ExtranetEndpoint string

The extranet access endpoint of the bucket.

ForceDestroy bool

A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. Defaults to “false”.

IntranetEndpoint string

The intranet access endpoint of the bucket.

LifecycleRules []BucketLifecycleRule

A configuration of object lifecycle management (documented below).

Location string

The location of the bucket.

Logging BucketLogging

A Settings of bucket logging (documented below).

LoggingIsenable bool

The flag of using logging enable container. Defaults true.

Deprecated: Deprecated from 1.37.0. When logging is set, the bucket logging will be able.

Owner string

The bucket owner.

Policy string

Json format text of bucket policy bucket policy management.

RefererConfig BucketRefererConfig

The configuration of referer (documented below).

ServerSideEncryptionRule BucketServerSideEncryptionRule

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

StorageClass string

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

Tags map[string]interface{}

A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.

Versioning BucketVersioning

A state of versioning (documented below).

Website BucketWebsite

A website object(documented below).

acl string

The canned ACL to apply. Can be “private”, “public-read” and “public-read-write”. Defaults to “private”.

bucket string
corsRules BucketCorsRule[]

A rule of Cross-Origin Resource Sharing (documented below). The items of core rule are no more than 10 for every OSS bucket.

creationDate string

The creation date of the bucket.

extranetEndpoint string

The extranet access endpoint of the bucket.

forceDestroy boolean

A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. Defaults to “false”.

intranetEndpoint string

The intranet access endpoint of the bucket.

lifecycleRules BucketLifecycleRule[]

A configuration of object lifecycle management (documented below).

location string

The location of the bucket.

logging BucketLogging

A Settings of bucket logging (documented below).

loggingIsenable boolean

The flag of using logging enable container. Defaults true.

Deprecated: Deprecated from 1.37.0. When logging is set, the bucket logging will be able.

owner string

The bucket owner.

policy string

Json format text of bucket policy bucket policy management.

refererConfig BucketRefererConfig

The configuration of referer (documented below).

serverSideEncryptionRule BucketServerSideEncryptionRule

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

storageClass string

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

tags {[key: string]: any}

A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.

versioning BucketVersioning

A state of versioning (documented below).

website BucketWebsite

A website object(documented below).

acl str

The canned ACL to apply. Can be “private”, “public-read” and “public-read-write”. Defaults to “private”.

bucket str
cors_rules List[BucketCorsRule]

A rule of Cross-Origin Resource Sharing (documented below). The items of core rule are no more than 10 for every OSS bucket.

creation_date str

The creation date of the bucket.

extranet_endpoint str

The extranet access endpoint of the bucket.

force_destroy bool

A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. Defaults to “false”.

intranet_endpoint str

The intranet access endpoint of the bucket.

lifecycle_rules List[BucketLifecycleRule]

A configuration of object lifecycle management (documented below).

location str

The location of the bucket.

logging Dict[BucketLogging]

A Settings of bucket logging (documented below).

logging_isenable bool

The flag of using logging enable container. Defaults true.

Deprecated: Deprecated from 1.37.0. When logging is set, the bucket logging will be able.

owner str

The bucket owner.

policy str

Json format text of bucket policy bucket policy management.

referer_config Dict[BucketRefererConfig]

The configuration of referer (documented below).

server_side_encryption_rule Dict[BucketServerSideEncryptionRule]

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

storage_class str

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

tags Dict[str, Any]

A mapping of tags to assign to the bucket. The items are no more than 10 for a bucket.

versioning Dict[BucketVersioning]

A state of versioning (documented below).

website Dict[BucketWebsite]

A website object(documented below).

Supporting Types

BucketCorsRule

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AllowedMethods List<string>

Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.

AllowedOrigins List<string>

Specifies which origins are allowed.

AllowedHeaders List<string>

Specifies which headers are allowed.

ExposeHeaders List<string>

Specifies expose header in the response.

MaxAgeSeconds int

Specifies time in seconds that browser can cache the response for a preflight request.

AllowedMethods []string

Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.

AllowedOrigins []string

Specifies which origins are allowed.

AllowedHeaders []string

Specifies which headers are allowed.

ExposeHeaders []string

Specifies expose header in the response.

MaxAgeSeconds int

Specifies time in seconds that browser can cache the response for a preflight request.

allowedMethods string[]

Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.

allowedOrigins string[]

Specifies which origins are allowed.

allowedHeaders string[]

Specifies which headers are allowed.

exposeHeaders string[]

Specifies expose header in the response.

maxAgeSeconds number

Specifies time in seconds that browser can cache the response for a preflight request.

allowedMethods List[str]

Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.

allowedOrigins List[str]

Specifies which origins are allowed.

allowedHeaders List[str]

Specifies which headers are allowed.

exposeHeaders List[str]

Specifies expose header in the response.

maxAgeSeconds float

Specifies time in seconds that browser can cache the response for a preflight request.

BucketLifecycleRule

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Enabled bool

Specifies lifecycle rule status.

Prefix string

Object key prefix identifying one or more objects to which the rule applies.

Expirations List<Pulumi.AliCloud.Oss.Inputs.BucketLifecycleRuleExpirationArgs>

Specifies a period in the object’s expire (documented below).

Id string

Unique identifier for the rule. If omitted, OSS bucket will assign a unique name.

Transitions List<Pulumi.AliCloud.Oss.Inputs.BucketLifecycleRuleTransitionArgs>

Specifies the time when an object is converted to the IA or archive storage class during a valid life cycle. (documented below).

Enabled bool

Specifies lifecycle rule status.

Prefix string

Object key prefix identifying one or more objects to which the rule applies.

Expirations []BucketLifecycleRuleExpiration

Specifies a period in the object’s expire (documented below).

Id string

Unique identifier for the rule. If omitted, OSS bucket will assign a unique name.

Transitions []BucketLifecycleRuleTransition

Specifies the time when an object is converted to the IA or archive storage class during a valid life cycle. (documented below).

enabled boolean

Specifies lifecycle rule status.

prefix string

Object key prefix identifying one or more objects to which the rule applies.

expirations BucketLifecycleRuleExpiration[]

Specifies a period in the object’s expire (documented below).

id string

Unique identifier for the rule. If omitted, OSS bucket will assign a unique name.

transitions BucketLifecycleRuleTransition[]

Specifies the time when an object is converted to the IA or archive storage class during a valid life cycle. (documented below).

enabled bool

Specifies lifecycle rule status.

prefix str

Object key prefix identifying one or more objects to which the rule applies.

expirations List[BucketLifecycleRuleExpiration]

Specifies a period in the object’s expire (documented below).

id str

Unique identifier for the rule. If omitted, OSS bucket will assign a unique name.

transitions List[BucketLifecycleRuleTransition]

Specifies the time when an object is converted to the IA or archive storage class during a valid life cycle. (documented below).

BucketLifecycleRuleExpiration

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Date string

Specifies the date after which you want the corresponding action to take effect. The value obeys ISO8601 format like 2017-03-09.

Days int

Specifies the number of days after object creation when the specific rule action takes effect.

Date string

Specifies the date after which you want the corresponding action to take effect. The value obeys ISO8601 format like 2017-03-09.

Days int

Specifies the number of days after object creation when the specific rule action takes effect.

date string

Specifies the date after which you want the corresponding action to take effect. The value obeys ISO8601 format like 2017-03-09.

days number

Specifies the number of days after object creation when the specific rule action takes effect.

date str

Specifies the date after which you want the corresponding action to take effect. The value obeys ISO8601 format like 2017-03-09.

days float

Specifies the number of days after object creation when the specific rule action takes effect.

BucketLifecycleRuleTransition

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

CreatedBeforeDate string

Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that objects updated before 2002-10-11T00:00:00.000Z are deleted or converted to another storage class, and objects updated after this time (including this time) are not deleted or converted.

Days int

Specifies the number of days after object creation when the specific rule action takes effect.

StorageClass string

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

CreatedBeforeDate string

Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that objects updated before 2002-10-11T00:00:00.000Z are deleted or converted to another storage class, and objects updated after this time (including this time) are not deleted or converted.

Days int

Specifies the number of days after object creation when the specific rule action takes effect.

StorageClass string

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

createdBeforeDate string

Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that objects updated before 2002-10-11T00:00:00.000Z are deleted or converted to another storage class, and objects updated after this time (including this time) are not deleted or converted.

days number

Specifies the number of days after object creation when the specific rule action takes effect.

storageClass string

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

createdBeforeDate str

Specifies the time before which the rules take effect. The date must conform to the ISO8601 format and always be UTC 00:00. For example: 2002-10-11T00:00:00.000Z indicates that objects updated before 2002-10-11T00:00:00.000Z are deleted or converted to another storage class, and objects updated after this time (including this time) are not deleted or converted.

days float

Specifies the number of days after object creation when the specific rule action takes effect.

storage_class str

Specifies the storage class that objects that conform to the rule are converted into. The storage class of the objects in a bucket of the IA storage class can be converted into Archive but cannot be converted into Standard. Values: IA, Archive.

BucketLogging

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

TargetBucket string

The name of the bucket that will receive the log objects.

TargetPrefix string

To specify a key prefix for log objects.

TargetBucket string

The name of the bucket that will receive the log objects.

TargetPrefix string

To specify a key prefix for log objects.

targetBucket string

The name of the bucket that will receive the log objects.

targetPrefix string

To specify a key prefix for log objects.

targetBucket str

The name of the bucket that will receive the log objects.

targetPrefix str

To specify a key prefix for log objects.

BucketRefererConfig

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Referers List<string>

The list of referer.

AllowEmpty bool

Allows referer to be empty. Defaults false.

Referers []string

The list of referer.

AllowEmpty bool

Allows referer to be empty. Defaults false.

referers string[]

The list of referer.

allowEmpty boolean

Allows referer to be empty. Defaults false.

referers List[str]

The list of referer.

allowEmpty bool

Allows referer to be empty. Defaults false.

BucketServerSideEncryptionRule

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

SseAlgorithm string

The server-side encryption algorithm to use. Possible values: AES256 and KMS.

SseAlgorithm string

The server-side encryption algorithm to use. Possible values: AES256 and KMS.

sseAlgorithm string

The server-side encryption algorithm to use. Possible values: AES256 and KMS.

sseAlgorithm str

The server-side encryption algorithm to use. Possible values: AES256 and KMS.

BucketVersioning

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Status string

Specifies the versioning state of a bucket. Valid values: Enabled and Suspended.

Status string

Specifies the versioning state of a bucket. Valid values: Enabled and Suspended.

status string

Specifies the versioning state of a bucket. Valid values: Enabled and Suspended.

status str

Specifies the versioning state of a bucket. Valid values: Enabled and Suspended.

BucketWebsite

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

IndexDocument string

Alicloud OSS returns this index document when requests are made to the root domain or any of the subfolders.

ErrorDocument string

An absolute path to the document to return in case of a 4XX error.

IndexDocument string

Alicloud OSS returns this index document when requests are made to the root domain or any of the subfolders.

ErrorDocument string

An absolute path to the document to return in case of a 4XX error.

indexDocument string

Alicloud OSS returns this index document when requests are made to the root domain or any of the subfolders.

errorDocument string

An absolute path to the document to return in case of a 4XX error.

indexDocument str

Alicloud OSS returns this index document when requests are made to the root domain or any of the subfolders.

errorDocument str

An absolute path to the document to return in case of a 4XX error.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.