1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. oss
  5. Bucket
Alibaba Cloud v3.45.0 published on Monday, Nov 27, 2023 by Pulumi

alicloud.oss.Bucket

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.45.0 published on Monday, Nov 27, 2023 by Pulumi

    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.

    NOTE: Available since v1.2.0.

    Create Bucket Resource

    new Bucket(name: string, args?: BucketArgs, opts?: CustomResourceOptions);
    @overload
    def Bucket(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               access_monitor: Optional[BucketAccessMonitorArgs] = None,
               acl: Optional[str] = None,
               bucket: Optional[str] = None,
               cors_rules: Optional[Sequence[BucketCorsRuleArgs]] = None,
               force_destroy: Optional[bool] = None,
               lifecycle_rule_allow_same_action_overlap: Optional[bool] = None,
               lifecycle_rules: Optional[Sequence[BucketLifecycleRuleArgs]] = None,
               logging: Optional[BucketLoggingArgs] = None,
               logging_isenable: Optional[bool] = None,
               policy: Optional[str] = None,
               redundancy_type: Optional[str] = None,
               referer_config: Optional[BucketRefererConfigArgs] = None,
               server_side_encryption_rule: Optional[BucketServerSideEncryptionRuleArgs] = None,
               storage_class: Optional[str] = None,
               tags: Optional[Mapping[str, Any]] = None,
               transfer_acceleration: Optional[BucketTransferAccelerationArgs] = None,
               versioning: Optional[BucketVersioningArgs] = None,
               website: Optional[BucketWebsiteArgs] = None)
    @overload
    def Bucket(resource_name: str,
               args: Optional[BucketArgs] = None,
               opts: Optional[ResourceOptions] = None)
    func NewBucket(ctx *Context, name string, args *BucketArgs, opts ...ResourceOption) (*Bucket, error)
    public Bucket(string name, BucketArgs? args = null, CustomResourceOptions? opts = null)
    public Bucket(String name, BucketArgs args)
    public Bucket(String name, BucketArgs args, CustomResourceOptions options)
    
    type: alicloud:oss:Bucket
    properties: # The arguments to resource properties.
    options: # 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.
    resource_name str
    The unique name of the resource.
    args BucketArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control 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.
    name String
    The unique name of the resource.
    args BucketArgs
    The arguments to resource properties.
    options 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 Architecture and Concepts docs.

    Inputs

    The Bucket resource accepts the following input properties:

    AccessMonitor Pulumi.AliCloud.Oss.Inputs.BucketAccessMonitor

    A access monitor status of a bucket. See access_monitor below.

    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.BucketCorsRule>

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

    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".

    LifecycleRuleAllowSameActionOverlap bool

    A boolean that indicates lifecycle rules allow prefix overlap.

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

    A configuration of object lifecycle management. See lifecycle_rule below.

    Logging Pulumi.AliCloud.Oss.Inputs.BucketLogging

    A Settings of bucket logging. See logging 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.

    RedundancyType string

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    RefererConfig Pulumi.AliCloud.Oss.Inputs.BucketRefererConfig

    The configuration of referer. See referer_config below.

    ServerSideEncryptionRule Pulumi.AliCloud.Oss.Inputs.BucketServerSideEncryptionRule

    A configuration of server-side encryption. See server_side_encryption_rule below.

    StorageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    Tags Dictionary<string, object>

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

    TransferAcceleration Pulumi.AliCloud.Oss.Inputs.BucketTransferAcceleration

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    Versioning Pulumi.AliCloud.Oss.Inputs.BucketVersioning

    A state of versioning. See versioning below.

    Website Pulumi.AliCloud.Oss.Inputs.BucketWebsite

    A website configuration. See website below.

    AccessMonitor BucketAccessMonitorArgs

    A access monitor status of a bucket. See access_monitor below.

    Acl string

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

    Bucket string
    CorsRules []BucketCorsRuleArgs

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

    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".

    LifecycleRuleAllowSameActionOverlap bool

    A boolean that indicates lifecycle rules allow prefix overlap.

    LifecycleRules []BucketLifecycleRuleArgs

    A configuration of object lifecycle management. See lifecycle_rule below.

    Logging BucketLoggingArgs

    A Settings of bucket logging. See logging 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.

    RedundancyType string

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    RefererConfig BucketRefererConfigArgs

    The configuration of referer. See referer_config below.

    ServerSideEncryptionRule BucketServerSideEncryptionRuleArgs

    A configuration of server-side encryption. See server_side_encryption_rule below.

    StorageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    Tags map[string]interface{}

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

    TransferAcceleration BucketTransferAccelerationArgs

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    Versioning BucketVersioningArgs

    A state of versioning. See versioning below.

    Website BucketWebsiteArgs

    A website configuration. See website below.

    accessMonitor BucketAccessMonitor

    A access monitor status of a bucket. See access_monitor below.

    acl String

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

    bucket String
    corsRules List<BucketCorsRule>

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

    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".

    lifecycleRuleAllowSameActionOverlap Boolean

    A boolean that indicates lifecycle rules allow prefix overlap.

    lifecycleRules List<BucketLifecycleRule>

    A configuration of object lifecycle management. See lifecycle_rule below.

    logging BucketLogging

    A Settings of bucket logging. See logging 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.

    redundancyType String

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    refererConfig BucketRefererConfig

    The configuration of referer. See referer_config below.

    serverSideEncryptionRule BucketServerSideEncryptionRule

    A configuration of server-side encryption. See server_side_encryption_rule below.

    storageClass String

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    tags Map<String,Object>

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

    transferAcceleration BucketTransferAcceleration

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    versioning BucketVersioning

    A state of versioning. See versioning below.

    website BucketWebsite

    A website configuration. See website below.

    accessMonitor BucketAccessMonitor

    A access monitor status of a bucket. See access_monitor 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. The items of core rule are no more than 10 for every OSS bucket. See cors_rule below.

    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".

    lifecycleRuleAllowSameActionOverlap boolean

    A boolean that indicates lifecycle rules allow prefix overlap.

    lifecycleRules BucketLifecycleRule[]

    A configuration of object lifecycle management. See lifecycle_rule below.

    logging BucketLogging

    A Settings of bucket logging. See logging 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.

    redundancyType string

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    refererConfig BucketRefererConfig

    The configuration of referer. See referer_config below.

    serverSideEncryptionRule BucketServerSideEncryptionRule

    A configuration of server-side encryption. See server_side_encryption_rule below.

    storageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    tags {[key: string]: any}

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

    transferAcceleration BucketTransferAcceleration

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    versioning BucketVersioning

    A state of versioning. See versioning below.

    website BucketWebsite

    A website configuration. See website below.

    access_monitor BucketAccessMonitorArgs

    A access monitor status of a bucket. See access_monitor below.

    acl str

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

    bucket str
    cors_rules Sequence[BucketCorsRuleArgs]

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

    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_rule_allow_same_action_overlap bool

    A boolean that indicates lifecycle rules allow prefix overlap.

    lifecycle_rules Sequence[BucketLifecycleRuleArgs]

    A configuration of object lifecycle management. See lifecycle_rule below.

    logging BucketLoggingArgs

    A Settings of bucket logging. See logging 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.

    redundancy_type str

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    referer_config BucketRefererConfigArgs

    The configuration of referer. See referer_config below.

    server_side_encryption_rule BucketServerSideEncryptionRuleArgs

    A configuration of server-side encryption. See server_side_encryption_rule below.

    storage_class str

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    tags Mapping[str, Any]

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

    transfer_acceleration BucketTransferAccelerationArgs

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    versioning BucketVersioningArgs

    A state of versioning. See versioning below.

    website BucketWebsiteArgs

    A website configuration. See website below.

    accessMonitor Property Map

    A access monitor status of a bucket. See access_monitor below.

    acl String

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

    bucket String
    corsRules List<Property Map>

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

    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".

    lifecycleRuleAllowSameActionOverlap Boolean

    A boolean that indicates lifecycle rules allow prefix overlap.

    lifecycleRules List<Property Map>

    A configuration of object lifecycle management. See lifecycle_rule below.

    logging Property Map

    A Settings of bucket logging. See logging 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.

    redundancyType String

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    refererConfig Property Map

    The configuration of referer. See referer_config below.

    serverSideEncryptionRule Property Map

    A configuration of server-side encryption. See server_side_encryption_rule below.

    storageClass String

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    tags Map<Any>

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

    transferAcceleration Property Map

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    versioning Property Map

    A state of versioning. See versioning below.

    website Property Map

    A website configuration. See website 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.

    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.

    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.

    Look up 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
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_monitor: Optional[BucketAccessMonitorArgs] = None,
            acl: Optional[str] = None,
            bucket: Optional[str] = None,
            cors_rules: Optional[Sequence[BucketCorsRuleArgs]] = None,
            creation_date: Optional[str] = None,
            extranet_endpoint: Optional[str] = None,
            force_destroy: Optional[bool] = None,
            intranet_endpoint: Optional[str] = None,
            lifecycle_rule_allow_same_action_overlap: Optional[bool] = None,
            lifecycle_rules: Optional[Sequence[BucketLifecycleRuleArgs]] = None,
            location: Optional[str] = None,
            logging: Optional[BucketLoggingArgs] = None,
            logging_isenable: Optional[bool] = None,
            owner: Optional[str] = None,
            policy: Optional[str] = None,
            redundancy_type: Optional[str] = None,
            referer_config: Optional[BucketRefererConfigArgs] = None,
            server_side_encryption_rule: Optional[BucketServerSideEncryptionRuleArgs] = None,
            storage_class: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None,
            transfer_acceleration: Optional[BucketTransferAccelerationArgs] = None,
            versioning: Optional[BucketVersioningArgs] = None,
            website: Optional[BucketWebsiteArgs] = None) -> Bucket
    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)
    public static Bucket get(String name, Output<String> id, BucketState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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:
    AccessMonitor Pulumi.AliCloud.Oss.Inputs.BucketAccessMonitor

    A access monitor status of a bucket. See access_monitor below.

    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.BucketCorsRule>

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

    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.

    LifecycleRuleAllowSameActionOverlap bool

    A boolean that indicates lifecycle rules allow prefix overlap.

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

    A configuration of object lifecycle management. See lifecycle_rule below.

    Location string

    The location of the bucket.

    Logging Pulumi.AliCloud.Oss.Inputs.BucketLogging

    A Settings of bucket logging. See logging 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.

    RedundancyType string

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    RefererConfig Pulumi.AliCloud.Oss.Inputs.BucketRefererConfig

    The configuration of referer. See referer_config below.

    ServerSideEncryptionRule Pulumi.AliCloud.Oss.Inputs.BucketServerSideEncryptionRule

    A configuration of server-side encryption. See server_side_encryption_rule below.

    StorageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    Tags Dictionary<string, object>

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

    TransferAcceleration Pulumi.AliCloud.Oss.Inputs.BucketTransferAcceleration

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    Versioning Pulumi.AliCloud.Oss.Inputs.BucketVersioning

    A state of versioning. See versioning below.

    Website Pulumi.AliCloud.Oss.Inputs.BucketWebsite

    A website configuration. See website below.

    AccessMonitor BucketAccessMonitorArgs

    A access monitor status of a bucket. See access_monitor below.

    Acl string

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

    Bucket string
    CorsRules []BucketCorsRuleArgs

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

    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.

    LifecycleRuleAllowSameActionOverlap bool

    A boolean that indicates lifecycle rules allow prefix overlap.

    LifecycleRules []BucketLifecycleRuleArgs

    A configuration of object lifecycle management. See lifecycle_rule below.

    Location string

    The location of the bucket.

    Logging BucketLoggingArgs

    A Settings of bucket logging. See logging 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.

    RedundancyType string

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    RefererConfig BucketRefererConfigArgs

    The configuration of referer. See referer_config below.

    ServerSideEncryptionRule BucketServerSideEncryptionRuleArgs

    A configuration of server-side encryption. See server_side_encryption_rule below.

    StorageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    Tags map[string]interface{}

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

    TransferAcceleration BucketTransferAccelerationArgs

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    Versioning BucketVersioningArgs

    A state of versioning. See versioning below.

    Website BucketWebsiteArgs

    A website configuration. See website below.

    accessMonitor BucketAccessMonitor

    A access monitor status of a bucket. See access_monitor below.

    acl String

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

    bucket String
    corsRules List<BucketCorsRule>

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

    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.

    lifecycleRuleAllowSameActionOverlap Boolean

    A boolean that indicates lifecycle rules allow prefix overlap.

    lifecycleRules List<BucketLifecycleRule>

    A configuration of object lifecycle management. See lifecycle_rule below.

    location String

    The location of the bucket.

    logging BucketLogging

    A Settings of bucket logging. See logging 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.

    redundancyType String

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    refererConfig BucketRefererConfig

    The configuration of referer. See referer_config below.

    serverSideEncryptionRule BucketServerSideEncryptionRule

    A configuration of server-side encryption. See server_side_encryption_rule below.

    storageClass String

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    tags Map<String,Object>

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

    transferAcceleration BucketTransferAcceleration

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    versioning BucketVersioning

    A state of versioning. See versioning below.

    website BucketWebsite

    A website configuration. See website below.

    accessMonitor BucketAccessMonitor

    A access monitor status of a bucket. See access_monitor 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. The items of core rule are no more than 10 for every OSS bucket. See cors_rule below.

    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.

    lifecycleRuleAllowSameActionOverlap boolean

    A boolean that indicates lifecycle rules allow prefix overlap.

    lifecycleRules BucketLifecycleRule[]

    A configuration of object lifecycle management. See lifecycle_rule below.

    location string

    The location of the bucket.

    logging BucketLogging

    A Settings of bucket logging. See logging 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.

    redundancyType string

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    refererConfig BucketRefererConfig

    The configuration of referer. See referer_config below.

    serverSideEncryptionRule BucketServerSideEncryptionRule

    A configuration of server-side encryption. See server_side_encryption_rule below.

    storageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    tags {[key: string]: any}

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

    transferAcceleration BucketTransferAcceleration

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    versioning BucketVersioning

    A state of versioning. See versioning below.

    website BucketWebsite

    A website configuration. See website below.

    access_monitor BucketAccessMonitorArgs

    A access monitor status of a bucket. See access_monitor below.

    acl str

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

    bucket str
    cors_rules Sequence[BucketCorsRuleArgs]

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

    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_rule_allow_same_action_overlap bool

    A boolean that indicates lifecycle rules allow prefix overlap.

    lifecycle_rules Sequence[BucketLifecycleRuleArgs]

    A configuration of object lifecycle management. See lifecycle_rule below.

    location str

    The location of the bucket.

    logging BucketLoggingArgs

    A Settings of bucket logging. See logging 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.

    redundancy_type str

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    referer_config BucketRefererConfigArgs

    The configuration of referer. See referer_config below.

    server_side_encryption_rule BucketServerSideEncryptionRuleArgs

    A configuration of server-side encryption. See server_side_encryption_rule below.

    storage_class str

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    tags Mapping[str, Any]

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

    transfer_acceleration BucketTransferAccelerationArgs

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    versioning BucketVersioningArgs

    A state of versioning. See versioning below.

    website BucketWebsiteArgs

    A website configuration. See website below.

    accessMonitor Property Map

    A access monitor status of a bucket. See access_monitor below.

    acl String

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

    bucket String
    corsRules List<Property Map>

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

    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.

    lifecycleRuleAllowSameActionOverlap Boolean

    A boolean that indicates lifecycle rules allow prefix overlap.

    lifecycleRules List<Property Map>

    A configuration of object lifecycle management. See lifecycle_rule below.

    location String

    The location of the bucket.

    logging Property Map

    A Settings of bucket logging. See logging 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.

    redundancyType String

    The redundancy type to enable. Can be "LRS", and "ZRS". Defaults to "LRS".

    refererConfig Property Map

    The configuration of referer. See referer_config below.

    serverSideEncryptionRule Property Map

    A configuration of server-side encryption. See server_side_encryption_rule below.

    storageClass String

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    tags Map<Any>

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

    transferAcceleration Property Map

    A transfer acceleration status of a bucket. See transfer_acceleration below.

    versioning Property Map

    A state of versioning. See versioning below.

    website Property Map

    A website configuration. See website below.

    Supporting Types

    BucketAccessMonitor, BucketAccessMonitorArgs

    Status string

    The access monitor state of a bucket. If you want to manage objects based on the last access time of the objects, specifies the status to Enabled. Valid values: Enabled and Disabled.

    Status string

    The access monitor state of a bucket. If you want to manage objects based on the last access time of the objects, specifies the status to Enabled. Valid values: Enabled and Disabled.

    status String

    The access monitor state of a bucket. If you want to manage objects based on the last access time of the objects, specifies the status to Enabled. Valid values: Enabled and Disabled.

    status string

    The access monitor state of a bucket. If you want to manage objects based on the last access time of the objects, specifies the status to Enabled. Valid values: Enabled and Disabled.

    status str

    The access monitor state of a bucket. If you want to manage objects based on the last access time of the objects, specifies the status to Enabled. Valid values: Enabled and Disabled.

    status String

    The access monitor state of a bucket. If you want to manage objects based on the last access time of the objects, specifies the status to Enabled. Valid values: Enabled and Disabled.

    BucketCorsRule, BucketCorsRuleArgs

    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 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 Integer

    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.

    allowed_methods Sequence[str]

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

    allowed_origins Sequence[str]

    Specifies which origins are allowed.

    allowed_headers Sequence[str]

    Specifies which headers are allowed.

    expose_headers Sequence[str]

    Specifies expose header in the response.

    max_age_seconds int

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

    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 Number

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

    BucketLifecycleRule, BucketLifecycleRuleArgs

    Enabled bool

    Specifies lifecycle rule status.

    AbortMultipartUploads List<Pulumi.AliCloud.Oss.Inputs.BucketLifecycleRuleAbortMultipartUpload>

    Specifies the number of days after initiating a multipart upload when the multipart upload must be completed. See abort_multipart_upload below.

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

    Specifies a period in the object's expire. See expiration below.

    Filter Pulumi.AliCloud.Oss.Inputs.BucketLifecycleRuleFilter

    Configuration block used to identify objects that a Lifecycle rule applies to. See filter below.

    NOTE: At least one of expiration, transitions, abort_multipart_upload, noncurrent_version_expiration and noncurrent_version_transition should be configured.

    Id string

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

    NoncurrentVersionExpirations List<Pulumi.AliCloud.Oss.Inputs.BucketLifecycleRuleNoncurrentVersionExpiration>

    Specifies when noncurrent object versions expire. See noncurrent_version_expiration below.

    NoncurrentVersionTransitions List<Pulumi.AliCloud.Oss.Inputs.BucketLifecycleRuleNoncurrentVersionTransition>

    Specifies when noncurrent object versions transitions. See noncurrent_version_transition below.

    Prefix string

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    Tags Dictionary<string, object>

    Key-value map of resource tags. All of these tags must exist in the object's tag set in order for the rule to apply.

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

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

    Enabled bool

    Specifies lifecycle rule status.

    AbortMultipartUploads []BucketLifecycleRuleAbortMultipartUpload

    Specifies the number of days after initiating a multipart upload when the multipart upload must be completed. See abort_multipart_upload below.

    Expirations []BucketLifecycleRuleExpiration

    Specifies a period in the object's expire. See expiration below.

    Filter BucketLifecycleRuleFilter

    Configuration block used to identify objects that a Lifecycle rule applies to. See filter below.

    NOTE: At least one of expiration, transitions, abort_multipart_upload, noncurrent_version_expiration and noncurrent_version_transition should be configured.

    Id string

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

    NoncurrentVersionExpirations []BucketLifecycleRuleNoncurrentVersionExpiration

    Specifies when noncurrent object versions expire. See noncurrent_version_expiration below.

    NoncurrentVersionTransitions []BucketLifecycleRuleNoncurrentVersionTransition

    Specifies when noncurrent object versions transitions. See noncurrent_version_transition below.

    Prefix string

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    Tags map[string]interface{}

    Key-value map of resource tags. All of these tags must exist in the object's tag set in order for the rule to apply.

    Transitions []BucketLifecycleRuleTransition

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

    enabled Boolean

    Specifies lifecycle rule status.

    abortMultipartUploads List<BucketLifecycleRuleAbortMultipartUpload>

    Specifies the number of days after initiating a multipart upload when the multipart upload must be completed. See abort_multipart_upload below.

    expirations List<BucketLifecycleRuleExpiration>

    Specifies a period in the object's expire. See expiration below.

    filter BucketLifecycleRuleFilter

    Configuration block used to identify objects that a Lifecycle rule applies to. See filter below.

    NOTE: At least one of expiration, transitions, abort_multipart_upload, noncurrent_version_expiration and noncurrent_version_transition should be configured.

    id String

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

    noncurrentVersionExpirations List<BucketLifecycleRuleNoncurrentVersionExpiration>

    Specifies when noncurrent object versions expire. See noncurrent_version_expiration below.

    noncurrentVersionTransitions List<BucketLifecycleRuleNoncurrentVersionTransition>

    Specifies when noncurrent object versions transitions. See noncurrent_version_transition below.

    prefix String

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    tags Map<String,Object>

    Key-value map of resource tags. All of these tags must exist in the object's tag set in order for the rule to apply.

    transitions List<BucketLifecycleRuleTransition>

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

    enabled boolean

    Specifies lifecycle rule status.

    abortMultipartUploads BucketLifecycleRuleAbortMultipartUpload[]

    Specifies the number of days after initiating a multipart upload when the multipart upload must be completed. See abort_multipart_upload below.

    expirations BucketLifecycleRuleExpiration[]

    Specifies a period in the object's expire. See expiration below.

    filter BucketLifecycleRuleFilter

    Configuration block used to identify objects that a Lifecycle rule applies to. See filter below.

    NOTE: At least one of expiration, transitions, abort_multipart_upload, noncurrent_version_expiration and noncurrent_version_transition should be configured.

    id string

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

    noncurrentVersionExpirations BucketLifecycleRuleNoncurrentVersionExpiration[]

    Specifies when noncurrent object versions expire. See noncurrent_version_expiration below.

    noncurrentVersionTransitions BucketLifecycleRuleNoncurrentVersionTransition[]

    Specifies when noncurrent object versions transitions. See noncurrent_version_transition below.

    prefix string

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    tags {[key: string]: any}

    Key-value map of resource tags. All of these tags must exist in the object's tag set in order for the rule to apply.

    transitions BucketLifecycleRuleTransition[]

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

    enabled bool

    Specifies lifecycle rule status.

    abort_multipart_uploads Sequence[BucketLifecycleRuleAbortMultipartUpload]

    Specifies the number of days after initiating a multipart upload when the multipart upload must be completed. See abort_multipart_upload below.

    expirations Sequence[BucketLifecycleRuleExpiration]

    Specifies a period in the object's expire. See expiration below.

    filter BucketLifecycleRuleFilter

    Configuration block used to identify objects that a Lifecycle rule applies to. See filter below.

    NOTE: At least one of expiration, transitions, abort_multipart_upload, noncurrent_version_expiration and noncurrent_version_transition should be configured.

    id str

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

    noncurrent_version_expirations Sequence[BucketLifecycleRuleNoncurrentVersionExpiration]

    Specifies when noncurrent object versions expire. See noncurrent_version_expiration below.

    noncurrent_version_transitions Sequence[BucketLifecycleRuleNoncurrentVersionTransition]

    Specifies when noncurrent object versions transitions. See noncurrent_version_transition below.

    prefix str

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    tags Mapping[str, Any]

    Key-value map of resource tags. All of these tags must exist in the object's tag set in order for the rule to apply.

    transitions Sequence[BucketLifecycleRuleTransition]

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

    enabled Boolean

    Specifies lifecycle rule status.

    abortMultipartUploads List<Property Map>

    Specifies the number of days after initiating a multipart upload when the multipart upload must be completed. See abort_multipart_upload below.

    expirations List<Property Map>

    Specifies a period in the object's expire. See expiration below.

    filter Property Map

    Configuration block used to identify objects that a Lifecycle rule applies to. See filter below.

    NOTE: At least one of expiration, transitions, abort_multipart_upload, noncurrent_version_expiration and noncurrent_version_transition should be configured.

    id String

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

    noncurrentVersionExpirations List<Property Map>

    Specifies when noncurrent object versions expire. See noncurrent_version_expiration below.

    noncurrentVersionTransitions List<Property Map>

    Specifies when noncurrent object versions transitions. See noncurrent_version_transition below.

    prefix String

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    tags Map<Any>

    Key-value map of resource tags. All of these tags must exist in the object's tag set in order for the rule to apply.

    transitions List<Property Map>

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

    BucketLifecycleRuleAbortMultipartUpload, BucketLifecycleRuleAbortMultipartUploadArgs

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    Days int

    Specifies the number of days noncurrent object versions transition.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    Days int

    Specifies the number of days noncurrent object versions transition.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    days Integer

    Specifies the number of days noncurrent object versions transition.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    days number

    Specifies the number of days noncurrent object versions transition.

    created_before_date 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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    days int

    Specifies the number of days noncurrent object versions transition.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    days Number

    Specifies the number of days noncurrent object versions transition.

    BucketLifecycleRuleExpiration, BucketLifecycleRuleExpirationArgs

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    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 noncurrent object versions transition.

    ExpiredObjectDeleteMarker bool

    On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.

    NOTE: One and only one of "date", "days", "created_before_date" and "expired_object_delete_marker" can be specified in one expiration configuration.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    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 noncurrent object versions transition.

    ExpiredObjectDeleteMarker bool

    On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.

    NOTE: One and only one of "date", "days", "created_before_date" and "expired_object_delete_marker" can be specified in one expiration configuration.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    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 Integer

    Specifies the number of days noncurrent object versions transition.

    expiredObjectDeleteMarker Boolean

    On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.

    NOTE: One and only one of "date", "days", "created_before_date" and "expired_object_delete_marker" can be specified in one expiration configuration.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    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 noncurrent object versions transition.

    expiredObjectDeleteMarker boolean

    On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.

    NOTE: One and only one of "date", "days", "created_before_date" and "expired_object_delete_marker" can be specified in one expiration configuration.

    created_before_date 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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    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 int

    Specifies the number of days noncurrent object versions transition.

    expired_object_delete_marker bool

    On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.

    NOTE: One and only one of "date", "days", "created_before_date" and "expired_object_delete_marker" can be specified in one expiration configuration.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    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 noncurrent object versions transition.

    expiredObjectDeleteMarker Boolean

    On a versioned bucket (versioning-enabled or versioning-suspended bucket), you can add this element in the lifecycle configuration to direct OSS to delete expired object delete markers. This cannot be specified with Days, Date or CreatedBeforeDate in a Lifecycle Expiration Policy.

    NOTE: One and only one of "date", "days", "created_before_date" and "expired_object_delete_marker" can be specified in one expiration configuration.

    BucketLifecycleRuleFilter, BucketLifecycleRuleFilterArgs

    Not Pulumi.AliCloud.Oss.Inputs.BucketLifecycleRuleFilterNot

    The condition that is matched by objects to which the lifecycle rule does not apply. See not below.

    ObjectSizeGreaterThan int

    Minimum object size (in bytes) to which the rule applies.

    ObjectSizeLessThan int

    Maximum object size (in bytes) to which the rule applies.

    Not BucketLifecycleRuleFilterNot

    The condition that is matched by objects to which the lifecycle rule does not apply. See not below.

    ObjectSizeGreaterThan int

    Minimum object size (in bytes) to which the rule applies.

    ObjectSizeLessThan int

    Maximum object size (in bytes) to which the rule applies.

    not BucketLifecycleRuleFilterNot

    The condition that is matched by objects to which the lifecycle rule does not apply. See not below.

    objectSizeGreaterThan Integer

    Minimum object size (in bytes) to which the rule applies.

    objectSizeLessThan Integer

    Maximum object size (in bytes) to which the rule applies.

    not BucketLifecycleRuleFilterNot

    The condition that is matched by objects to which the lifecycle rule does not apply. See not below.

    objectSizeGreaterThan number

    Minimum object size (in bytes) to which the rule applies.

    objectSizeLessThan number

    Maximum object size (in bytes) to which the rule applies.

    not_ BucketLifecycleRuleFilterNot

    The condition that is matched by objects to which the lifecycle rule does not apply. See not below.

    object_size_greater_than int

    Minimum object size (in bytes) to which the rule applies.

    object_size_less_than int

    Maximum object size (in bytes) to which the rule applies.

    not Property Map

    The condition that is matched by objects to which the lifecycle rule does not apply. See not below.

    objectSizeGreaterThan Number

    Minimum object size (in bytes) to which the rule applies.

    objectSizeLessThan Number

    Maximum object size (in bytes) to which the rule applies.

    BucketLifecycleRuleFilterNot, BucketLifecycleRuleFilterNotArgs

    Prefix string

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    Tag Pulumi.AliCloud.Oss.Inputs.BucketLifecycleRuleFilterNotTag

    The tag of the objects to which the lifecycle rule does not apply. See tag below.

    Prefix string

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    Tag BucketLifecycleRuleFilterNotTag

    The tag of the objects to which the lifecycle rule does not apply. See tag below.

    prefix String

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    tag BucketLifecycleRuleFilterNotTag

    The tag of the objects to which the lifecycle rule does not apply. See tag below.

    prefix string

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    tag BucketLifecycleRuleFilterNotTag

    The tag of the objects to which the lifecycle rule does not apply. See tag below.

    prefix str

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    tag BucketLifecycleRuleFilterNotTag

    The tag of the objects to which the lifecycle rule does not apply. See tag below.

    prefix String

    The prefix in the names of the objects to which the lifecycle rule does not apply.

    tag Property Map

    The tag of the objects to which the lifecycle rule does not apply. See tag below.

    BucketLifecycleRuleFilterNotTag, BucketLifecycleRuleFilterNotTagArgs

    Key string

    The key of the tag that is specified for the objects.

    Value string

    The value of the tag that is specified for the objects.

    Key string

    The key of the tag that is specified for the objects.

    Value string

    The value of the tag that is specified for the objects.

    key String

    The key of the tag that is specified for the objects.

    value String

    The value of the tag that is specified for the objects.

    key string

    The key of the tag that is specified for the objects.

    value string

    The value of the tag that is specified for the objects.

    key str

    The key of the tag that is specified for the objects.

    value str

    The value of the tag that is specified for the objects.

    key String

    The key of the tag that is specified for the objects.

    value String

    The value of the tag that is specified for the objects.

    BucketLifecycleRuleNoncurrentVersionExpiration, BucketLifecycleRuleNoncurrentVersionExpirationArgs

    Days int

    Specifies the number of days noncurrent object versions transition.

    Days int

    Specifies the number of days noncurrent object versions transition.

    days Integer

    Specifies the number of days noncurrent object versions transition.

    days number

    Specifies the number of days noncurrent object versions transition.

    days int

    Specifies the number of days noncurrent object versions transition.

    days Number

    Specifies the number of days noncurrent object versions transition.

    BucketLifecycleRuleNoncurrentVersionTransition, BucketLifecycleRuleNoncurrentVersionTransitionArgs

    Days int

    Specifies the number of days noncurrent object versions transition.

    StorageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    IsAccessTime bool

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    ReturnToStdWhenVisit bool

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    Days int

    Specifies the number of days noncurrent object versions transition.

    StorageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    IsAccessTime bool

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    ReturnToStdWhenVisit bool

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    days Integer

    Specifies the number of days noncurrent object versions transition.

    storageClass String

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    isAccessTime Boolean

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    returnToStdWhenVisit Boolean

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    days number

    Specifies the number of days noncurrent object versions transition.

    storageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    isAccessTime boolean

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    returnToStdWhenVisit boolean

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    days int

    Specifies the number of days noncurrent object versions transition.

    storage_class str

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    is_access_time bool

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    return_to_std_when_visit bool

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    days Number

    Specifies the number of days noncurrent object versions transition.

    storageClass String

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    isAccessTime Boolean

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    returnToStdWhenVisit Boolean

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    BucketLifecycleRuleTransition, BucketLifecycleRuleTransitionArgs

    StorageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    Days int

    Specifies the number of days noncurrent object versions transition.

    IsAccessTime bool

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    ReturnToStdWhenVisit bool

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    StorageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    Days int

    Specifies the number of days noncurrent object versions transition.

    IsAccessTime bool

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    ReturnToStdWhenVisit bool

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    storageClass String

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    days Integer

    Specifies the number of days noncurrent object versions transition.

    isAccessTime Boolean

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    returnToStdWhenVisit Boolean

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    storageClass string

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    days number

    Specifies the number of days noncurrent object versions transition.

    isAccessTime boolean

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    returnToStdWhenVisit boolean

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    storage_class str

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    created_before_date 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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    days int

    Specifies the number of days noncurrent object versions transition.

    is_access_time bool

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    return_to_std_when_visit bool

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    storageClass String

    The storage class to apply. Can be "Standard", "IA", "Archive", "ColdArchive" and "DeepColdArchive". Defaults to "Standard". "ColdArchive" is available since 1.203.0. "DeepColdArchive" is available since 1.209.0.

    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 parts created before 2002-10-11T00:00:00.000Z are deleted, and parts created after this time (including this time) are not deleted.

    days Number

    Specifies the number of days noncurrent object versions transition.

    isAccessTime Boolean

    Specifies whether the lifecycle rule applies to objects based on their last access time. If set to true, the rule applies to objects based on their last access time; if set to false, the rule applies to objects based on their last modified time. If configure the rule based on the last access time, please enable access_monitor first.

    returnToStdWhenVisit Boolean

    Specifies whether to convert the storage class of non-Standard objects back to Standard after the objects are accessed. It takes effect only when the IsAccessTime parameter is set to true. If set to true, converts the storage class of the objects to Standard; if set to false, does not convert the storage class of the objects to Standard.

    BucketLogging, BucketLoggingArgs

    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 string

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

    targetPrefix string

    To specify a key prefix for log objects.

    target_bucket str

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

    target_prefix str

    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.

    BucketRefererConfig, BucketRefererConfigArgs

    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 List<String>

    The list of referer.

    allowEmpty Boolean

    Allows referer to be empty. Defaults false.

    referers string[]

    The list of referer.

    allowEmpty boolean

    Allows referer to be empty. Defaults false.

    referers Sequence[str]

    The list of referer.

    allow_empty bool

    Allows referer to be empty. Defaults false.

    referers List<String>

    The list of referer.

    allowEmpty Boolean

    Allows referer to be empty. Defaults false.

    BucketServerSideEncryptionRule, BucketServerSideEncryptionRuleArgs

    SseAlgorithm string

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

    KmsMasterKeyId string

    The alibaba cloud KMS master key ID used for the SSE-KMS encryption.

    SseAlgorithm string

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

    KmsMasterKeyId string

    The alibaba cloud KMS master key ID used for the SSE-KMS encryption.

    sseAlgorithm String

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

    kmsMasterKeyId String

    The alibaba cloud KMS master key ID used for the SSE-KMS encryption.

    sseAlgorithm string

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

    kmsMasterKeyId string

    The alibaba cloud KMS master key ID used for the SSE-KMS encryption.

    sse_algorithm str

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

    kms_master_key_id str

    The alibaba cloud KMS master key ID used for the SSE-KMS encryption.

    sseAlgorithm String

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

    kmsMasterKeyId String

    The alibaba cloud KMS master key ID used for the SSE-KMS encryption.

    BucketTransferAcceleration, BucketTransferAccelerationArgs

    Enabled bool

    Specifies the accelerate status of a bucket.

    Enabled bool

    Specifies the accelerate status of a bucket.

    enabled Boolean

    Specifies the accelerate status of a bucket.

    enabled boolean

    Specifies the accelerate status of a bucket.

    enabled bool

    Specifies the accelerate status of a bucket.

    enabled Boolean

    Specifies the accelerate status of a bucket.

    BucketVersioning, BucketVersioningArgs

    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 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.

    status String

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

    BucketWebsite, BucketWebsiteArgs

    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 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.

    index_document str

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

    error_document str

    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.

    Import

    OSS bucket can be imported using the bucket name, e.g.

     $ pulumi import alicloud:oss/bucket:Bucket bucket bucket-12345678
    

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the alicloud Terraform Provider.

    alicloud logo
    Alibaba Cloud v3.45.0 published on Monday, Nov 27, 2023 by Pulumi