1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. tos
  6. Bucket
Viewing docs for volcenginecc v0.0.47
published on Thursday, Jul 9, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.47
published on Thursday, Jul 9, 2026 by Volcengine

    A bucket is a container for storing objects. All objects must belong to a bucket. Buckets have various configuration properties, including region and access permissions. You can create different types of buckets to store different data based on your needs.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const bucketDemo = new volcenginecc.tos.Bucket("BucketDemo", {
        name: "bucket-demo",
        storageClass: "STANDARD",
        enableVersionStatus: "Enabled",
        bucketType: "fns",
        tags: [{
            key: "env",
            value: "test",
        }],
        policy: "{\"Version\":\"1.0\",\"Statement\":[{\"Sid\":\"f8fd\",\"Effect\":\"Allow\",\"Principal\":[\"*******\"],\"Action\":[\"tos:Get*\",\"tos:List*\",\"tos:HeadBucket\"],\"Resource\":[\"trn:tos:::************\",\"trn:tos:::************/*\"]}]}",
        lifecycleConfigs: [{
            expiration: {
                date: "2027-01-18T00:00:00Z",
            },
            filter: {
                greaterThanIncludeEqual: "Disabled",
                lessThanIncludeEqual: "Disabled",
                objectSizeGreaterThan: 123,
                objectSizeLessThan: 789,
            },
            lifecycle_rule_id: "bucketdemo",
            prefix: "prefix",
            status: "Enabled",
        }],
        objectLockConfiguration: {
            object_lock_enabled: "Enabled",
            rule: {
                defaultRetention: {
                    mode: "COMPLIANCE",
                    days: 21,
                },
            },
        },
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    bucket_demo = volcenginecc.tos.Bucket("BucketDemo",
        name="bucket-demo",
        storage_class="STANDARD",
        enable_version_status="Enabled",
        bucket_type="fns",
        tags=[{
            "key": "env",
            "value": "test",
        }],
        policy="{\"Version\":\"1.0\",\"Statement\":[{\"Sid\":\"f8fd\",\"Effect\":\"Allow\",\"Principal\":[\"*******\"],\"Action\":[\"tos:Get*\",\"tos:List*\",\"tos:HeadBucket\"],\"Resource\":[\"trn:tos:::************\",\"trn:tos:::************/*\"]}]}",
        lifecycle_configs=[{
            "expiration": {
                "date": "2027-01-18T00:00:00Z",
            },
            "filter": {
                "greater_than_include_equal": "Disabled",
                "less_than_include_equal": "Disabled",
                "object_size_greater_than": 123,
                "object_size_less_than": 789,
            },
            "lifecycle_rule_id": "bucketdemo",
            "prefix": "prefix",
            "status": "Enabled",
        }],
        object_lock_configuration={
            "object_lock_enabled": "Enabled",
            "rule": {
                "default_retention": {
                    "mode": "COMPLIANCE",
                    "days": 21,
                },
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/tos"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tos.NewBucket(ctx, "BucketDemo", &tos.BucketArgs{
    			Name:                pulumi.String("bucket-demo"),
    			StorageClass:        pulumi.String("STANDARD"),
    			EnableVersionStatus: pulumi.String("Enabled"),
    			BucketType:          pulumi.String("fns"),
    			Tags: tos.BucketTagArray{
    				&tos.BucketTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    			Policy: pulumi.String("{\"Version\":\"1.0\",\"Statement\":[{\"Sid\":\"f8fd\",\"Effect\":\"Allow\",\"Principal\":[\"*******\"],\"Action\":[\"tos:Get*\",\"tos:List*\",\"tos:HeadBucket\"],\"Resource\":[\"trn:tos:::************\",\"trn:tos:::************/*\"]}]}"),
    			LifecycleConfigs: tos.BucketLifecycleConfigArray{
    				&tos.BucketLifecycleConfigArgs{
    					Expiration: &tos.BucketLifecycleConfigExpirationArgs{
    						Date: pulumi.String("2027-01-18T00:00:00Z"),
    					},
    					Filter: &tos.BucketLifecycleConfigFilterArgs{
    						GreaterThanIncludeEqual: pulumi.String("Disabled"),
    						LessThanIncludeEqual:    pulumi.String("Disabled"),
    						ObjectSizeGreaterThan:   pulumi.Int(123),
    						ObjectSizeLessThan:      pulumi.Int(789),
    					},
    					Lifecycle_rule_id: "bucketdemo",
    					Prefix:            pulumi.String("prefix"),
    					Status:            pulumi.String("Enabled"),
    				},
    			},
    			ObjectLockConfiguration: &tos.BucketObjectLockConfigurationArgs{
    				Object_lock_enabled: "Enabled",
    				Rule: &tos.BucketObjectLockConfigurationRuleArgs{
    					DefaultRetention: &tos.BucketObjectLockConfigurationRuleDefaultRetentionArgs{
    						Mode: pulumi.String("COMPLIANCE"),
    						Days: pulumi.Int(21),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var bucketDemo = new Volcenginecc.Tos.Bucket("BucketDemo", new()
        {
            Name = "bucket-demo",
            StorageClass = "STANDARD",
            EnableVersionStatus = "Enabled",
            BucketType = "fns",
            Tags = new[]
            {
                new Volcenginecc.Tos.Inputs.BucketTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
            Policy = "{\"Version\":\"1.0\",\"Statement\":[{\"Sid\":\"f8fd\",\"Effect\":\"Allow\",\"Principal\":[\"*******\"],\"Action\":[\"tos:Get*\",\"tos:List*\",\"tos:HeadBucket\"],\"Resource\":[\"trn:tos:::************\",\"trn:tos:::************/*\"]}]}",
            LifecycleConfigs = new[]
            {
                new Volcenginecc.Tos.Inputs.BucketLifecycleConfigArgs
                {
                    Expiration = new Volcenginecc.Tos.Inputs.BucketLifecycleConfigExpirationArgs
                    {
                        Date = "2027-01-18T00:00:00Z",
                    },
                    Filter = new Volcenginecc.Tos.Inputs.BucketLifecycleConfigFilterArgs
                    {
                        GreaterThanIncludeEqual = "Disabled",
                        LessThanIncludeEqual = "Disabled",
                        ObjectSizeGreaterThan = 123,
                        ObjectSizeLessThan = 789,
                    },
                    Lifecycle_rule_id = "bucketdemo",
                    Prefix = "prefix",
                    Status = "Enabled",
                },
            },
            ObjectLockConfiguration = new Volcenginecc.Tos.Inputs.BucketObjectLockConfigurationArgs
            {
                Object_lock_enabled = "Enabled",
                Rule = new Volcenginecc.Tos.Inputs.BucketObjectLockConfigurationRuleArgs
                {
                    DefaultRetention = new Volcenginecc.Tos.Inputs.BucketObjectLockConfigurationRuleDefaultRetentionArgs
                    {
                        Mode = "COMPLIANCE",
                        Days = 21,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.tos.Bucket;
    import com.volcengine.volcenginecc.tos.BucketArgs;
    import com.pulumi.volcenginecc.tos.inputs.BucketTagArgs;
    import com.pulumi.volcenginecc.tos.inputs.BucketLifecycleConfigArgs;
    import com.pulumi.volcenginecc.tos.inputs.BucketLifecycleConfigExpirationArgs;
    import com.pulumi.volcenginecc.tos.inputs.BucketLifecycleConfigFilterArgs;
    import com.pulumi.volcenginecc.tos.inputs.BucketObjectLockConfigurationArgs;
    import com.pulumi.volcenginecc.tos.inputs.BucketObjectLockConfigurationRuleArgs;
    import com.pulumi.volcenginecc.tos.inputs.BucketObjectLockConfigurationRuleDefaultRetentionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var bucketDemo = new Bucket("bucketDemo", BucketArgs.builder()
                .name("bucket-demo")
                .storageClass("STANDARD")
                .enableVersionStatus("Enabled")
                .bucketType("fns")
                .tags(BucketTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .policy("{\"Version\":\"1.0\",\"Statement\":[{\"Sid\":\"f8fd\",\"Effect\":\"Allow\",\"Principal\":[\"*******\"],\"Action\":[\"tos:Get*\",\"tos:List*\",\"tos:HeadBucket\"],\"Resource\":[\"trn:tos:::************\",\"trn:tos:::************/*\"]}]}")
                .lifecycleConfigs(BucketLifecycleConfigArgs.builder()
                    .expiration(BucketLifecycleConfigExpirationArgs.builder()
                        .date("2027-01-18T00:00:00Z")
                        .build())
                    .filter(BucketLifecycleConfigFilterArgs.builder()
                        .greaterThanIncludeEqual("Disabled")
                        .lessThanIncludeEqual("Disabled")
                        .objectSizeGreaterThan(123)
                        .objectSizeLessThan(789)
                        .build())
                    .lifecycle_rule_id("bucketdemo")
                    .prefix("prefix")
                    .status("Enabled")
                    .build())
                .objectLockConfiguration(BucketObjectLockConfigurationArgs.builder()
                    .object_lock_enabled("Enabled")
                    .rule(BucketObjectLockConfigurationRuleArgs.builder()
                        .defaultRetention(BucketObjectLockConfigurationRuleDefaultRetentionArgs.builder()
                            .mode("COMPLIANCE")
                            .days(21)
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      bucketDemo:
        type: volcenginecc:tos:Bucket
        name: BucketDemo
        properties:
          name: bucket-demo
          storageClass: STANDARD
          enableVersionStatus: Enabled
          bucketType: fns
          tags:
            - key: env
              value: test
          policy: '{"Version":"1.0","Statement":[{"Sid":"f8fd","Effect":"Allow","Principal":["*******"],"Action":["tos:Get*","tos:List*","tos:HeadBucket"],"Resource":["trn:tos:::************","trn:tos:::************/*"]}]}'
          lifecycleConfigs:
            - expiration:
                date: 2027-01-18T00:00:00Z
              filter:
                greaterThanIncludeEqual: Disabled
                lessThanIncludeEqual: Disabled
                objectSizeGreaterThan: 123
                objectSizeLessThan: 789
              lifecycle_rule_id: bucketdemo
              prefix: prefix
              status: Enabled
          objectLockConfiguration:
            object_lock_enabled: Enabled
            rule:
              defaultRetention:
                mode: COMPLIANCE
                days: 21
    
    pulumi {
      required_providers {
        volcenginecc = {
          source = "pulumi/volcenginecc"
        }
      }
    }
    
    resource "volcenginecc_tos_bucket" "BucketDemo" {
      name                  = "bucket-demo"
      storage_class         = "STANDARD"
      enable_version_status = "Enabled"
      bucket_type           = "fns"
      tags {
        key   = "env"
        value = "test"
      }
      policy = "{\"Version\":\"1.0\",\"Statement\":[{\"Sid\":\"f8fd\",\"Effect\":\"Allow\",\"Principal\":[\"*******\"],\"Action\":[\"tos:Get*\",\"tos:List*\",\"tos:HeadBucket\"],\"Resource\":[\"trn:tos:::************\",\"trn:tos:::************/*\"]}]}"
      lifecycle_configs {
        expiration = {
          date = "2027-01-18T00:00:00Z"
        }
        filter = {
          greater_than_include_equal = "Disabled"
          less_than_include_equal    = "Disabled"
          object_size_greater_than   = 123
          object_size_less_than      = 789
        }
        lifecycle_rule_id = "bucketdemo"
        prefix            = "prefix"
        status            = "Enabled"
      }
      object_lock_configuration = {
        object_lock_enabled = "Enabled"
        rule = {
          default_retention = {
            mode = "COMPLIANCE"
            days = 21
          }
        }
      }
    }
    

    Create Bucket Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Bucket(name: string, args: BucketArgs, opts?: CustomResourceOptions);
    @overload
    def Bucket(resource_name: str,
               args: BucketArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Bucket(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               name: Optional[str] = None,
               acl: Optional[BucketAclArgs] = None,
               acl_grant: Optional[BucketAclGrantArgs] = None,
               az_redundancy: Optional[str] = None,
               bucket_type: Optional[str] = None,
               enable_version_status: Optional[str] = None,
               lifecycle_configs: Optional[Sequence[BucketLifecycleConfigArgs]] = None,
               object_lock_configuration: Optional[BucketObjectLockConfigurationArgs] = None,
               policy: Optional[str] = None,
               project_name: Optional[str] = None,
               storage_class: Optional[str] = None,
               tags: Optional[Sequence[BucketTagArgs]] = None)
    func NewBucket(ctx *Context, name string, args BucketArgs, opts ...ResourceOption) (*Bucket, error)
    public Bucket(string name, BucketArgs args, CustomResourceOptions? opts = null)
    public Bucket(String name, BucketArgs args)
    public Bucket(String name, BucketArgs args, CustomResourceOptions options)
    
    type: volcenginecc:tos:Bucket
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "volcenginecc_tos_bucket" "name" {
        # resource properties
    }

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var bucketResource = new Volcenginecc.Tos.Bucket("bucketResource", new()
    {
        Name = "string",
        Acl = new Volcenginecc.Tos.Inputs.BucketAclArgs
        {
            BucketAclDelivered = false,
            Grants = new[]
            {
                new Volcenginecc.Tos.Inputs.BucketAclGrantArgs
                {
                    Acl = "string",
                    GrantFullControl = "string",
                    GrantRead = "string",
                    GrantReadAcp = "string",
                    GrantWrite = "string",
                    GrantWriteAcp = "string",
                },
            },
            Owner = new Volcenginecc.Tos.Inputs.BucketAclOwnerArgs
            {
                DisplayName = "string",
                OwnerId = "string",
            },
        },
        AclGrant = new Volcenginecc.Tos.Inputs.BucketAclGrantArgs
        {
            Acl = "string",
            GrantFullControl = "string",
            GrantRead = "string",
            GrantReadAcp = "string",
            GrantWrite = "string",
            GrantWriteAcp = "string",
        },
        AzRedundancy = "string",
        BucketType = "string",
        EnableVersionStatus = "string",
        LifecycleConfigs = new[]
        {
            new Volcenginecc.Tos.Inputs.BucketLifecycleConfigArgs
            {
                AbortInCompleteMultipartUpload = new Volcenginecc.Tos.Inputs.BucketLifecycleConfigAbortInCompleteMultipartUploadArgs
                {
                    DaysAfterInitiation = 0,
                },
                Expiration = new Volcenginecc.Tos.Inputs.BucketLifecycleConfigExpirationArgs
                {
                    Date = "string",
                    Days = 0,
                },
                Filter = new Volcenginecc.Tos.Inputs.BucketLifecycleConfigFilterArgs
                {
                    GreaterThanIncludeEqual = "string",
                    LessThanIncludeEqual = "string",
                    ObjectSizeGreaterThan = 0,
                    ObjectSizeLessThan = 0,
                },
                LifecycleRuleId = "string",
                NoCurrentVersionExpiration = new Volcenginecc.Tos.Inputs.BucketLifecycleConfigNoCurrentVersionExpirationArgs
                {
                    NonCurrentDate = "string",
                    NonCurrentDays = 0,
                },
                NonCurrentVersionTransitions = new[]
                {
                    new Volcenginecc.Tos.Inputs.BucketLifecycleConfigNonCurrentVersionTransitionArgs
                    {
                        NonCurrentDate = "string",
                        NonCurrentDays = 0,
                        StorageClass = "string",
                    },
                },
                Prefix = "string",
                Status = "string",
                Tags = new[]
                {
                    new Volcenginecc.Tos.Inputs.BucketLifecycleConfigTagArgs
                    {
                        Key = "string",
                        Value = "string",
                    },
                },
                Transitions = new[]
                {
                    new Volcenginecc.Tos.Inputs.BucketLifecycleConfigTransitionArgs
                    {
                        Date = "string",
                        Days = 0,
                        StorageClass = "string",
                    },
                },
            },
        },
        ObjectLockConfiguration = new Volcenginecc.Tos.Inputs.BucketObjectLockConfigurationArgs
        {
            ObjectLockEnabled = "string",
            Rule = new Volcenginecc.Tos.Inputs.BucketObjectLockConfigurationRuleArgs
            {
                DefaultRetention = new Volcenginecc.Tos.Inputs.BucketObjectLockConfigurationRuleDefaultRetentionArgs
                {
                    Days = 0,
                    Mode = "string",
                    Years = 0,
                },
            },
        },
        Policy = "string",
        ProjectName = "string",
        StorageClass = "string",
        Tags = new[]
        {
            new Volcenginecc.Tos.Inputs.BucketTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := tos.NewBucket(ctx, "bucketResource", &tos.BucketArgs{
    	Name: pulumi.String("string"),
    	Acl: &tos.BucketAclArgs{
    		BucketAclDelivered: pulumi.Bool(false),
    		Grants: tos.BucketAclGrantArray{
    			&tos.BucketAclGrantArgs{
    				Acl:              pulumi.String("string"),
    				GrantFullControl: pulumi.String("string"),
    				GrantRead:        pulumi.String("string"),
    				GrantReadAcp:     pulumi.String("string"),
    				GrantWrite:       pulumi.String("string"),
    				GrantWriteAcp:    pulumi.String("string"),
    			},
    		},
    		Owner: &tos.BucketAclOwnerArgs{
    			DisplayName: pulumi.String("string"),
    			OwnerId:     pulumi.String("string"),
    		},
    	},
    	AclGrant: &tos.BucketAclGrantArgs{
    		Acl:              pulumi.String("string"),
    		GrantFullControl: pulumi.String("string"),
    		GrantRead:        pulumi.String("string"),
    		GrantReadAcp:     pulumi.String("string"),
    		GrantWrite:       pulumi.String("string"),
    		GrantWriteAcp:    pulumi.String("string"),
    	},
    	AzRedundancy:        pulumi.String("string"),
    	BucketType:          pulumi.String("string"),
    	EnableVersionStatus: pulumi.String("string"),
    	LifecycleConfigs: tos.BucketLifecycleConfigArray{
    		&tos.BucketLifecycleConfigArgs{
    			AbortInCompleteMultipartUpload: &tos.BucketLifecycleConfigAbortInCompleteMultipartUploadArgs{
    				DaysAfterInitiation: pulumi.Int(0),
    			},
    			Expiration: &tos.BucketLifecycleConfigExpirationArgs{
    				Date: pulumi.String("string"),
    				Days: pulumi.Int(0),
    			},
    			Filter: &tos.BucketLifecycleConfigFilterArgs{
    				GreaterThanIncludeEqual: pulumi.String("string"),
    				LessThanIncludeEqual:    pulumi.String("string"),
    				ObjectSizeGreaterThan:   pulumi.Int(0),
    				ObjectSizeLessThan:      pulumi.Int(0),
    			},
    			LifecycleRuleId: pulumi.String("string"),
    			NoCurrentVersionExpiration: &tos.BucketLifecycleConfigNoCurrentVersionExpirationArgs{
    				NonCurrentDate: pulumi.String("string"),
    				NonCurrentDays: pulumi.Int(0),
    			},
    			NonCurrentVersionTransitions: tos.BucketLifecycleConfigNonCurrentVersionTransitionArray{
    				&tos.BucketLifecycleConfigNonCurrentVersionTransitionArgs{
    					NonCurrentDate: pulumi.String("string"),
    					NonCurrentDays: pulumi.Int(0),
    					StorageClass:   pulumi.String("string"),
    				},
    			},
    			Prefix: pulumi.String("string"),
    			Status: pulumi.String("string"),
    			Tags: tos.BucketLifecycleConfigTagArray{
    				&tos.BucketLifecycleConfigTagArgs{
    					Key:   pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    			Transitions: tos.BucketLifecycleConfigTransitionArray{
    				&tos.BucketLifecycleConfigTransitionArgs{
    					Date:         pulumi.String("string"),
    					Days:         pulumi.Int(0),
    					StorageClass: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	ObjectLockConfiguration: &tos.BucketObjectLockConfigurationArgs{
    		ObjectLockEnabled: pulumi.String("string"),
    		Rule: &tos.BucketObjectLockConfigurationRuleArgs{
    			DefaultRetention: &tos.BucketObjectLockConfigurationRuleDefaultRetentionArgs{
    				Days:  pulumi.Int(0),
    				Mode:  pulumi.String("string"),
    				Years: pulumi.Int(0),
    			},
    		},
    	},
    	Policy:       pulumi.String("string"),
    	ProjectName:  pulumi.String("string"),
    	StorageClass: pulumi.String("string"),
    	Tags: tos.BucketTagArray{
    		&tos.BucketTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    resource "volcenginecc_tos_bucket" "bucketResource" {
      name = "string"
      acl = {
        bucket_acl_delivered = false
        grants = [{
          "acl"              = "string"
          "grantFullControl" = "string"
          "grantRead"        = "string"
          "grantReadAcp"     = "string"
          "grantWrite"       = "string"
          "grantWriteAcp"    = "string"
        }]
        owner = {
          display_name = "string"
          owner_id     = "string"
        }
      }
      acl_grant = {
        acl                = "string"
        grant_full_control = "string"
        grant_read         = "string"
        grant_read_acp     = "string"
        grant_write        = "string"
        grant_write_acp    = "string"
      }
      az_redundancy         = "string"
      bucket_type           = "string"
      enable_version_status = "string"
      lifecycle_configs {
        abort_in_complete_multipart_upload = {
          days_after_initiation = 0
        }
        expiration = {
          date = "string"
          days = 0
        }
        filter = {
          greater_than_include_equal = "string"
          less_than_include_equal    = "string"
          object_size_greater_than   = 0
          object_size_less_than      = 0
        }
        lifecycle_rule_id = "string"
        no_current_version_expiration = {
          non_current_date = "string"
          non_current_days = 0
        }
        non_current_version_transitions {
          non_current_date = "string"
          non_current_days = 0
          storage_class    = "string"
        }
        prefix = "string"
        status = "string"
        tags {
          key   = "string"
          value = "string"
        }
        transitions {
          date          = "string"
          days          = 0
          storage_class = "string"
        }
      }
      object_lock_configuration = {
        object_lock_enabled = "string"
        rule = {
          default_retention = {
            days  = 0
            mode  = "string"
            years = 0
          }
        }
      }
      policy        = "string"
      project_name  = "string"
      storage_class = "string"
      tags {
        key   = "string"
        value = "string"
      }
    }
    
    var bucketResource = new Bucket("bucketResource", BucketArgs.builder()
        .name("string")
        .acl(BucketAclArgs.builder()
            .bucketAclDelivered(false)
            .grants(BucketAclGrantArgs.builder()
                .acl("string")
                .grantFullControl("string")
                .grantRead("string")
                .grantReadAcp("string")
                .grantWrite("string")
                .grantWriteAcp("string")
                .build())
            .owner(BucketAclOwnerArgs.builder()
                .displayName("string")
                .ownerId("string")
                .build())
            .build())
        .aclGrant(BucketAclGrantArgs.builder()
            .acl("string")
            .grantFullControl("string")
            .grantRead("string")
            .grantReadAcp("string")
            .grantWrite("string")
            .grantWriteAcp("string")
            .build())
        .azRedundancy("string")
        .bucketType("string")
        .enableVersionStatus("string")
        .lifecycleConfigs(BucketLifecycleConfigArgs.builder()
            .abortInCompleteMultipartUpload(BucketLifecycleConfigAbortInCompleteMultipartUploadArgs.builder()
                .daysAfterInitiation(0)
                .build())
            .expiration(BucketLifecycleConfigExpirationArgs.builder()
                .date("string")
                .days(0)
                .build())
            .filter(BucketLifecycleConfigFilterArgs.builder()
                .greaterThanIncludeEqual("string")
                .lessThanIncludeEqual("string")
                .objectSizeGreaterThan(0)
                .objectSizeLessThan(0)
                .build())
            .lifecycleRuleId("string")
            .noCurrentVersionExpiration(BucketLifecycleConfigNoCurrentVersionExpirationArgs.builder()
                .nonCurrentDate("string")
                .nonCurrentDays(0)
                .build())
            .nonCurrentVersionTransitions(BucketLifecycleConfigNonCurrentVersionTransitionArgs.builder()
                .nonCurrentDate("string")
                .nonCurrentDays(0)
                .storageClass("string")
                .build())
            .prefix("string")
            .status("string")
            .tags(BucketLifecycleConfigTagArgs.builder()
                .key("string")
                .value("string")
                .build())
            .transitions(BucketLifecycleConfigTransitionArgs.builder()
                .date("string")
                .days(0)
                .storageClass("string")
                .build())
            .build())
        .objectLockConfiguration(BucketObjectLockConfigurationArgs.builder()
            .objectLockEnabled("string")
            .rule(BucketObjectLockConfigurationRuleArgs.builder()
                .defaultRetention(BucketObjectLockConfigurationRuleDefaultRetentionArgs.builder()
                    .days(0)
                    .mode("string")
                    .years(0)
                    .build())
                .build())
            .build())
        .policy("string")
        .projectName("string")
        .storageClass("string")
        .tags(BucketTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    bucket_resource = volcenginecc.tos.Bucket("bucketResource",
        name="string",
        acl={
            "bucket_acl_delivered": False,
            "grants": [{
                "acl": "string",
                "grant_full_control": "string",
                "grant_read": "string",
                "grant_read_acp": "string",
                "grant_write": "string",
                "grant_write_acp": "string",
            }],
            "owner": {
                "display_name": "string",
                "owner_id": "string",
            },
        },
        acl_grant={
            "acl": "string",
            "grant_full_control": "string",
            "grant_read": "string",
            "grant_read_acp": "string",
            "grant_write": "string",
            "grant_write_acp": "string",
        },
        az_redundancy="string",
        bucket_type="string",
        enable_version_status="string",
        lifecycle_configs=[{
            "abort_in_complete_multipart_upload": {
                "days_after_initiation": 0,
            },
            "expiration": {
                "date": "string",
                "days": 0,
            },
            "filter": {
                "greater_than_include_equal": "string",
                "less_than_include_equal": "string",
                "object_size_greater_than": 0,
                "object_size_less_than": 0,
            },
            "lifecycle_rule_id": "string",
            "no_current_version_expiration": {
                "non_current_date": "string",
                "non_current_days": 0,
            },
            "non_current_version_transitions": [{
                "non_current_date": "string",
                "non_current_days": 0,
                "storage_class": "string",
            }],
            "prefix": "string",
            "status": "string",
            "tags": [{
                "key": "string",
                "value": "string",
            }],
            "transitions": [{
                "date": "string",
                "days": 0,
                "storage_class": "string",
            }],
        }],
        object_lock_configuration={
            "object_lock_enabled": "string",
            "rule": {
                "default_retention": {
                    "days": 0,
                    "mode": "string",
                    "years": 0,
                },
            },
        },
        policy="string",
        project_name="string",
        storage_class="string",
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const bucketResource = new volcenginecc.tos.Bucket("bucketResource", {
        name: "string",
        acl: {
            bucketAclDelivered: false,
            grants: [{
                acl: "string",
                grantFullControl: "string",
                grantRead: "string",
                grantReadAcp: "string",
                grantWrite: "string",
                grantWriteAcp: "string",
            }],
            owner: {
                displayName: "string",
                ownerId: "string",
            },
        },
        aclGrant: {
            acl: "string",
            grantFullControl: "string",
            grantRead: "string",
            grantReadAcp: "string",
            grantWrite: "string",
            grantWriteAcp: "string",
        },
        azRedundancy: "string",
        bucketType: "string",
        enableVersionStatus: "string",
        lifecycleConfigs: [{
            abortInCompleteMultipartUpload: {
                daysAfterInitiation: 0,
            },
            expiration: {
                date: "string",
                days: 0,
            },
            filter: {
                greaterThanIncludeEqual: "string",
                lessThanIncludeEqual: "string",
                objectSizeGreaterThan: 0,
                objectSizeLessThan: 0,
            },
            lifecycleRuleId: "string",
            noCurrentVersionExpiration: {
                nonCurrentDate: "string",
                nonCurrentDays: 0,
            },
            nonCurrentVersionTransitions: [{
                nonCurrentDate: "string",
                nonCurrentDays: 0,
                storageClass: "string",
            }],
            prefix: "string",
            status: "string",
            tags: [{
                key: "string",
                value: "string",
            }],
            transitions: [{
                date: "string",
                days: 0,
                storageClass: "string",
            }],
        }],
        objectLockConfiguration: {
            objectLockEnabled: "string",
            rule: {
                defaultRetention: {
                    days: 0,
                    mode: "string",
                    years: 0,
                },
            },
        },
        policy: "string",
        projectName: "string",
        storageClass: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: volcenginecc:tos:Bucket
    properties:
        acl:
            bucketAclDelivered: false
            grants:
                - acl: string
                  grantFullControl: string
                  grantRead: string
                  grantReadAcp: string
                  grantWrite: string
                  grantWriteAcp: string
            owner:
                displayName: string
                ownerId: string
        aclGrant:
            acl: string
            grantFullControl: string
            grantRead: string
            grantReadAcp: string
            grantWrite: string
            grantWriteAcp: string
        azRedundancy: string
        bucketType: string
        enableVersionStatus: string
        lifecycleConfigs:
            - abortInCompleteMultipartUpload:
                daysAfterInitiation: 0
              expiration:
                date: string
                days: 0
              filter:
                greaterThanIncludeEqual: string
                lessThanIncludeEqual: string
                objectSizeGreaterThan: 0
                objectSizeLessThan: 0
              lifecycleRuleId: string
              noCurrentVersionExpiration:
                nonCurrentDate: string
                nonCurrentDays: 0
              nonCurrentVersionTransitions:
                - nonCurrentDate: string
                  nonCurrentDays: 0
                  storageClass: string
              prefix: string
              status: string
              tags:
                - key: string
                  value: string
              transitions:
                - date: string
                  days: 0
                  storageClass: string
        name: string
        objectLockConfiguration:
            objectLockEnabled: string
            rule:
                defaultRetention:
                    days: 0
                    mode: string
                    years: 0
        policy: string
        projectName: string
        storageClass: string
        tags:
            - key: string
              value: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Bucket resource accepts the following input properties:

    Name string
    Bucket name
    Acl Volcengine.BucketAcl
    Bucket access control permissions
    AclGrant Volcengine.BucketAclGrant
    AzRedundancy string
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    BucketType string
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    EnableVersionStatus string
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    LifecycleConfigs List<Volcengine.BucketLifecycleConfig>
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    ObjectLockConfiguration Volcengine.BucketObjectLockConfiguration
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    Policy string
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    ProjectName string
    Project associated with the bucket
    StorageClass string
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    Tags List<Volcengine.BucketTag>
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Name string
    Bucket name
    Acl BucketAclArgs
    Bucket access control permissions
    AclGrant BucketAclGrantArgs
    AzRedundancy string
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    BucketType string
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    EnableVersionStatus string
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    LifecycleConfigs []BucketLifecycleConfigArgs
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    ObjectLockConfiguration BucketObjectLockConfigurationArgs
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    Policy string
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    ProjectName string
    Project associated with the bucket
    StorageClass string
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    Tags []BucketTagArgs
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    name string
    Bucket name
    acl object
    Bucket access control permissions
    acl_grant object
    az_redundancy string
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    bucket_type string
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    enable_version_status string
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    lifecycle_configs list(object)
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    object_lock_configuration object
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    policy string
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    project_name string
    Project associated with the bucket
    storage_class string
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    tags list(object)
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    name String
    Bucket name
    acl BucketAcl
    Bucket access control permissions
    aclGrant BucketAclGrant
    azRedundancy String
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    bucketType String
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    enableVersionStatus String
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    lifecycleConfigs List<BucketLifecycleConfig>
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    objectLockConfiguration BucketObjectLockConfiguration
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    policy String
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    projectName String
    Project associated with the bucket
    storageClass String
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    tags List<BucketTag>
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    name string
    Bucket name
    acl BucketAcl
    Bucket access control permissions
    aclGrant BucketAclGrant
    azRedundancy string
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    bucketType string
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    enableVersionStatus string
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    lifecycleConfigs BucketLifecycleConfig[]
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    objectLockConfiguration BucketObjectLockConfiguration
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    policy string
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    projectName string
    Project associated with the bucket
    storageClass string
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    tags BucketTag[]
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    name str
    Bucket name
    acl BucketAclArgs
    Bucket access control permissions
    acl_grant BucketAclGrantArgs
    az_redundancy str
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    bucket_type str
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    enable_version_status str
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    lifecycle_configs Sequence[BucketLifecycleConfigArgs]
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    object_lock_configuration BucketObjectLockConfigurationArgs
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    policy str
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    project_name str
    Project associated with the bucket
    storage_class str
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    tags Sequence[BucketTagArgs]
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    name String
    Bucket name
    acl Property Map
    Bucket access control permissions
    aclGrant Property Map
    azRedundancy String
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    bucketType String
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    enableVersionStatus String
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    lifecycleConfigs List<Property Map>
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    objectLockConfiguration Property Map
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    policy String
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    projectName String
    Project associated with the bucket
    storageClass String
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    tags List<Property Map>
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

    Outputs

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

    CreationDate string
    Bucket creation time
    ExtranetEndpoint string
    TOS protocol public access domain name for the bucket
    Id string
    The provider-assigned unique ID for this managed resource.
    IntranetEndpoint string
    Private network access domain name for the bucket's TOS protocol
    Location string
    Bucket region
    CreationDate string
    Bucket creation time
    ExtranetEndpoint string
    TOS protocol public access domain name for the bucket
    Id string
    The provider-assigned unique ID for this managed resource.
    IntranetEndpoint string
    Private network access domain name for the bucket's TOS protocol
    Location string
    Bucket region
    creation_date string
    Bucket creation time
    extranet_endpoint string
    TOS protocol public access domain name for the bucket
    id string
    The provider-assigned unique ID for this managed resource.
    intranet_endpoint string
    Private network access domain name for the bucket's TOS protocol
    location string
    Bucket region
    creationDate String
    Bucket creation time
    extranetEndpoint String
    TOS protocol public access domain name for the bucket
    id String
    The provider-assigned unique ID for this managed resource.
    intranetEndpoint String
    Private network access domain name for the bucket's TOS protocol
    location String
    Bucket region
    creationDate string
    Bucket creation time
    extranetEndpoint string
    TOS protocol public access domain name for the bucket
    id string
    The provider-assigned unique ID for this managed resource.
    intranetEndpoint string
    Private network access domain name for the bucket's TOS protocol
    location string
    Bucket region
    creation_date str
    Bucket creation time
    extranet_endpoint str
    TOS protocol public access domain name for the bucket
    id str
    The provider-assigned unique ID for this managed resource.
    intranet_endpoint str
    Private network access domain name for the bucket's TOS protocol
    location str
    Bucket region
    creationDate String
    Bucket creation time
    extranetEndpoint String
    TOS protocol public access domain name for the bucket
    id String
    The provider-assigned unique ID for this managed resource.
    intranetEndpoint String
    Private network access domain name for the bucket's TOS protocol
    location String
    Bucket region

    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,
            acl: Optional[BucketAclArgs] = None,
            acl_grant: Optional[BucketAclGrantArgs] = None,
            az_redundancy: Optional[str] = None,
            bucket_type: Optional[str] = None,
            creation_date: Optional[str] = None,
            enable_version_status: Optional[str] = None,
            extranet_endpoint: Optional[str] = None,
            intranet_endpoint: Optional[str] = None,
            lifecycle_configs: Optional[Sequence[BucketLifecycleConfigArgs]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            object_lock_configuration: Optional[BucketObjectLockConfigurationArgs] = None,
            policy: Optional[str] = None,
            project_name: Optional[str] = None,
            storage_class: Optional[str] = None,
            tags: Optional[Sequence[BucketTagArgs]] = 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)
    resources:  _:    type: volcenginecc:tos:Bucket    get:      id: ${id}
    import {
      to = volcenginecc_tos_bucket.example
      id = "${id}"
    }
    
    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:
    Acl Volcengine.BucketAcl
    Bucket access control permissions
    AclGrant Volcengine.BucketAclGrant
    AzRedundancy string
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    BucketType string
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    CreationDate string
    Bucket creation time
    EnableVersionStatus string
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    ExtranetEndpoint string
    TOS protocol public access domain name for the bucket
    IntranetEndpoint string
    Private network access domain name for the bucket's TOS protocol
    LifecycleConfigs List<Volcengine.BucketLifecycleConfig>
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Location string
    Bucket region
    Name string
    Bucket name
    ObjectLockConfiguration Volcengine.BucketObjectLockConfiguration
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    Policy string
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    ProjectName string
    Project associated with the bucket
    StorageClass string
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    Tags List<Volcengine.BucketTag>
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Acl BucketAclArgs
    Bucket access control permissions
    AclGrant BucketAclGrantArgs
    AzRedundancy string
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    BucketType string
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    CreationDate string
    Bucket creation time
    EnableVersionStatus string
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    ExtranetEndpoint string
    TOS protocol public access domain name for the bucket
    IntranetEndpoint string
    Private network access domain name for the bucket's TOS protocol
    LifecycleConfigs []BucketLifecycleConfigArgs
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Location string
    Bucket region
    Name string
    Bucket name
    ObjectLockConfiguration BucketObjectLockConfigurationArgs
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    Policy string
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    ProjectName string
    Project associated with the bucket
    StorageClass string
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    Tags []BucketTagArgs
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    acl object
    Bucket access control permissions
    acl_grant object
    az_redundancy string
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    bucket_type string
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    creation_date string
    Bucket creation time
    enable_version_status string
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    extranet_endpoint string
    TOS protocol public access domain name for the bucket
    intranet_endpoint string
    Private network access domain name for the bucket's TOS protocol
    lifecycle_configs list(object)
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    location string
    Bucket region
    name string
    Bucket name
    object_lock_configuration object
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    policy string
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    project_name string
    Project associated with the bucket
    storage_class string
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    tags list(object)
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    acl BucketAcl
    Bucket access control permissions
    aclGrant BucketAclGrant
    azRedundancy String
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    bucketType String
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    creationDate String
    Bucket creation time
    enableVersionStatus String
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    extranetEndpoint String
    TOS protocol public access domain name for the bucket
    intranetEndpoint String
    Private network access domain name for the bucket's TOS protocol
    lifecycleConfigs List<BucketLifecycleConfig>
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    location String
    Bucket region
    name String
    Bucket name
    objectLockConfiguration BucketObjectLockConfiguration
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    policy String
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    projectName String
    Project associated with the bucket
    storageClass String
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    tags List<BucketTag>
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    acl BucketAcl
    Bucket access control permissions
    aclGrant BucketAclGrant
    azRedundancy string
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    bucketType string
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    creationDate string
    Bucket creation time
    enableVersionStatus string
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    extranetEndpoint string
    TOS protocol public access domain name for the bucket
    intranetEndpoint string
    Private network access domain name for the bucket's TOS protocol
    lifecycleConfigs BucketLifecycleConfig[]
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    location string
    Bucket region
    name string
    Bucket name
    objectLockConfiguration BucketObjectLockConfiguration
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    policy string
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    projectName string
    Project associated with the bucket
    storageClass string
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    tags BucketTag[]
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    acl BucketAclArgs
    Bucket access control permissions
    acl_grant BucketAclGrantArgs
    az_redundancy str
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    bucket_type str
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    creation_date str
    Bucket creation time
    enable_version_status str
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    extranet_endpoint str
    TOS protocol public access domain name for the bucket
    intranet_endpoint str
    Private network access domain name for the bucket's TOS protocol
    lifecycle_configs Sequence[BucketLifecycleConfigArgs]
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    location str
    Bucket region
    name str
    Bucket name
    object_lock_configuration BucketObjectLockConfigurationArgs
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    policy str
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    project_name str
    Project associated with the bucket
    storage_class str
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    tags Sequence[BucketTagArgs]
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    acl Property Map
    Bucket access control permissions
    aclGrant Property Map
    azRedundancy String
    Bucket availability zone redundancy type. Includes single-az: single availability zone redundancy, multi-az: multi availability zone redundancy
    bucketType String
    Bucket type. Includes hns: hierarchical bucket type, fns: flat bucket type
    creationDate String
    Bucket creation time
    enableVersionStatus String
    Bucket versioning status. Enabled: Enable versioning. Suspended: Suspend versioning
    extranetEndpoint String
    TOS protocol public access domain name for the bucket
    intranetEndpoint String
    Private network access domain name for the bucket's TOS protocol
    lifecycleConfigs List<Property Map>
    Bucket lifecycle Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    location String
    Bucket region
    name String
    Bucket name
    objectLockConfiguration Property Map
    Bucket object lock (WORM retention policy) configuration. After configuring the bucket retention policy, if no object retention time is specified when uploading an object, the newly uploaded object will inherit the bucket retention time
    policy String
    String in JSON format containing bucket policy information. The total size of all bucket policy JSONs for a single bucket must not exceed 20KB
    projectName String
    Project associated with the bucket
    storageClass String
    Default storage class for the bucket. Includes STANDARD: Standard storage. IA: Infrequent access storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVEFR: Archive flashback storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLD_ARCHIVE: Deep cold archive storage
    tags List<Property Map>
    Bucket tag information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

    Supporting Types

    BucketAcl, BucketAclArgs

    BucketAclDelivered bool
    Enable object default bucket ACL inheritance. true: Enable object default bucket ACL inheritance. false: Disable object default bucket ACL inheritance.
    Grants List<Volcengine.BucketAclGrant>
    Root node for object access control permissions Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Owner Volcengine.BucketAclOwner
    Object owner
    BucketAclDelivered bool
    Enable object default bucket ACL inheritance. true: Enable object default bucket ACL inheritance. false: Disable object default bucket ACL inheritance.
    Grants []BucketAclGrant
    Root node for object access control permissions Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Owner BucketAclOwner
    Object owner
    bucket_acl_delivered bool
    Enable object default bucket ACL inheritance. true: Enable object default bucket ACL inheritance. false: Disable object default bucket ACL inheritance.
    grants list(object)
    Root node for object access control permissions Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    owner object
    Object owner
    bucketAclDelivered Boolean
    Enable object default bucket ACL inheritance. true: Enable object default bucket ACL inheritance. false: Disable object default bucket ACL inheritance.
    grants List<BucketAclGrant>
    Root node for object access control permissions Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    owner BucketAclOwner
    Object owner
    bucketAclDelivered boolean
    Enable object default bucket ACL inheritance. true: Enable object default bucket ACL inheritance. false: Disable object default bucket ACL inheritance.
    grants BucketAclGrant[]
    Root node for object access control permissions Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    owner BucketAclOwner
    Object owner
    bucket_acl_delivered bool
    Enable object default bucket ACL inheritance. true: Enable object default bucket ACL inheritance. false: Disable object default bucket ACL inheritance.
    grants Sequence[BucketAclGrant]
    Root node for object access control permissions Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    owner BucketAclOwner
    Object owner
    bucketAclDelivered Boolean
    Enable object default bucket ACL inheritance. true: Enable object default bucket ACL inheritance. false: Disable object default bucket ACL inheritance.
    grants List<Property Map>
    Root node for object access control permissions Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    owner Property Map
    Object owner

    BucketAclGrant, BucketAclGrantArgs

    Acl string
    Bucket access permissions. Includes private, public-read, public-read-write, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write, bucket-owner-entrusted, default.
    GrantFullControl string
    Grant all permissions to the specified user
    GrantRead string
    Grant read permission to the specified user
    GrantReadAcp string
    Grant permission to specified user to view bucket ACL
    GrantWrite string
    Grant write permission to specified user
    GrantWriteAcp string
    Grant permission to the specified user to modify and delete bucket ACL
    Acl string
    Bucket access permissions. Includes private, public-read, public-read-write, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write, bucket-owner-entrusted, default.
    GrantFullControl string
    Grant all permissions to the specified user
    GrantRead string
    Grant read permission to the specified user
    GrantReadAcp string
    Grant permission to specified user to view bucket ACL
    GrantWrite string
    Grant write permission to specified user
    GrantWriteAcp string
    Grant permission to the specified user to modify and delete bucket ACL
    acl string
    Bucket access permissions. Includes private, public-read, public-read-write, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write, bucket-owner-entrusted, default.
    grant_full_control string
    Grant all permissions to the specified user
    grant_read string
    Grant read permission to the specified user
    grant_read_acp string
    Grant permission to specified user to view bucket ACL
    grant_write string
    Grant write permission to specified user
    grant_write_acp string
    Grant permission to the specified user to modify and delete bucket ACL
    acl String
    Bucket access permissions. Includes private, public-read, public-read-write, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write, bucket-owner-entrusted, default.
    grantFullControl String
    Grant all permissions to the specified user
    grantRead String
    Grant read permission to the specified user
    grantReadAcp String
    Grant permission to specified user to view bucket ACL
    grantWrite String
    Grant write permission to specified user
    grantWriteAcp String
    Grant permission to the specified user to modify and delete bucket ACL
    acl string
    Bucket access permissions. Includes private, public-read, public-read-write, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write, bucket-owner-entrusted, default.
    grantFullControl string
    Grant all permissions to the specified user
    grantRead string
    Grant read permission to the specified user
    grantReadAcp string
    Grant permission to specified user to view bucket ACL
    grantWrite string
    Grant write permission to specified user
    grantWriteAcp string
    Grant permission to the specified user to modify and delete bucket ACL
    acl str
    Bucket access permissions. Includes private, public-read, public-read-write, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write, bucket-owner-entrusted, default.
    grant_full_control str
    Grant all permissions to the specified user
    grant_read str
    Grant read permission to the specified user
    grant_read_acp str
    Grant permission to specified user to view bucket ACL
    grant_write str
    Grant write permission to specified user
    grant_write_acp str
    Grant permission to the specified user to modify and delete bucket ACL
    acl String
    Bucket access permissions. Includes private, public-read, public-read-write, authenticated-read, bucket-owner-read, bucket-owner-full-control, log-delivery-write, bucket-owner-entrusted, default.
    grantFullControl String
    Grant all permissions to the specified user
    grantRead String
    Grant read permission to the specified user
    grantReadAcp String
    Grant permission to specified user to view bucket ACL
    grantWrite String
    Grant write permission to specified user
    grantWriteAcp String
    Grant permission to the specified user to modify and delete bucket ACL

    BucketAclOwner, BucketAclOwnerArgs

    DisplayName string
    Display name
    OwnerId string
    Account ID
    DisplayName string
    Display name
    OwnerId string
    Account ID
    display_name string
    Display name
    owner_id string
    Account ID
    displayName String
    Display name
    ownerId String
    Account ID
    displayName string
    Display name
    ownerId string
    Account ID
    display_name str
    Display name
    owner_id str
    Account ID
    displayName String
    Display name
    ownerId String
    Account ID

    BucketLifecycleConfig, BucketLifecycleConfigArgs

    AbortInCompleteMultipartUpload Volcengine.BucketLifecycleConfigAbortInCompleteMultipartUpload
    Specify expiration attributes for unmerged multipart tasks (fragments)
    Expiration Volcengine.BucketLifecycleConfigExpiration
    Expiration attribute for deleting the latest version object in the lifecycle rule based on last modified time
    Filter Volcengine.BucketLifecycleConfigFilter
    Filter conditions for applying the rule
    LifecycleRuleId string
    Rule ID
    NoCurrentVersionExpiration Volcengine.BucketLifecycleConfigNoCurrentVersionExpiration
    NonCurrentVersionTransitions List<Volcengine.BucketLifecycleConfigNonCurrentVersionTransition>
    Expiration attribute for transitioning historical version objects in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Prefix string
    Prefix to which the rule applies
    Status string
    Enable rule. Includes Enabled, Disabled.
    Tags List<Volcengine.BucketLifecycleConfigTag>
    Tag Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Transitions List<Volcengine.BucketLifecycleConfigTransition>
    Expiration attribute for transitioning the latest version object in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    AbortInCompleteMultipartUpload BucketLifecycleConfigAbortInCompleteMultipartUpload
    Specify expiration attributes for unmerged multipart tasks (fragments)
    Expiration BucketLifecycleConfigExpiration
    Expiration attribute for deleting the latest version object in the lifecycle rule based on last modified time
    Filter BucketLifecycleConfigFilter
    Filter conditions for applying the rule
    LifecycleRuleId string
    Rule ID
    NoCurrentVersionExpiration BucketLifecycleConfigNoCurrentVersionExpiration
    NonCurrentVersionTransitions []BucketLifecycleConfigNonCurrentVersionTransition
    Expiration attribute for transitioning historical version objects in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Prefix string
    Prefix to which the rule applies
    Status string
    Enable rule. Includes Enabled, Disabled.
    Tags []BucketLifecycleConfigTag
    Tag Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Transitions []BucketLifecycleConfigTransition
    Expiration attribute for transitioning the latest version object in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    abort_in_complete_multipart_upload object
    Specify expiration attributes for unmerged multipart tasks (fragments)
    expiration object
    Expiration attribute for deleting the latest version object in the lifecycle rule based on last modified time
    filter object
    Filter conditions for applying the rule
    lifecycle_rule_id string
    Rule ID
    no_current_version_expiration object
    non_current_version_transitions list(object)
    Expiration attribute for transitioning historical version objects in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    prefix string
    Prefix to which the rule applies
    status string
    Enable rule. Includes Enabled, Disabled.
    tags list(object)
    Tag Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    transitions list(object)
    Expiration attribute for transitioning the latest version object in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    abortInCompleteMultipartUpload BucketLifecycleConfigAbortInCompleteMultipartUpload
    Specify expiration attributes for unmerged multipart tasks (fragments)
    expiration BucketLifecycleConfigExpiration
    Expiration attribute for deleting the latest version object in the lifecycle rule based on last modified time
    filter BucketLifecycleConfigFilter
    Filter conditions for applying the rule
    lifecycleRuleId String
    Rule ID
    noCurrentVersionExpiration BucketLifecycleConfigNoCurrentVersionExpiration
    nonCurrentVersionTransitions List<BucketLifecycleConfigNonCurrentVersionTransition>
    Expiration attribute for transitioning historical version objects in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    prefix String
    Prefix to which the rule applies
    status String
    Enable rule. Includes Enabled, Disabled.
    tags List<BucketLifecycleConfigTag>
    Tag Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    transitions List<BucketLifecycleConfigTransition>
    Expiration attribute for transitioning the latest version object in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    abortInCompleteMultipartUpload BucketLifecycleConfigAbortInCompleteMultipartUpload
    Specify expiration attributes for unmerged multipart tasks (fragments)
    expiration BucketLifecycleConfigExpiration
    Expiration attribute for deleting the latest version object in the lifecycle rule based on last modified time
    filter BucketLifecycleConfigFilter
    Filter conditions for applying the rule
    lifecycleRuleId string
    Rule ID
    noCurrentVersionExpiration BucketLifecycleConfigNoCurrentVersionExpiration
    nonCurrentVersionTransitions BucketLifecycleConfigNonCurrentVersionTransition[]
    Expiration attribute for transitioning historical version objects in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    prefix string
    Prefix to which the rule applies
    status string
    Enable rule. Includes Enabled, Disabled.
    tags BucketLifecycleConfigTag[]
    Tag Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    transitions BucketLifecycleConfigTransition[]
    Expiration attribute for transitioning the latest version object in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    abort_in_complete_multipart_upload BucketLifecycleConfigAbortInCompleteMultipartUpload
    Specify expiration attributes for unmerged multipart tasks (fragments)
    expiration BucketLifecycleConfigExpiration
    Expiration attribute for deleting the latest version object in the lifecycle rule based on last modified time
    filter BucketLifecycleConfigFilter
    Filter conditions for applying the rule
    lifecycle_rule_id str
    Rule ID
    no_current_version_expiration BucketLifecycleConfigNoCurrentVersionExpiration
    non_current_version_transitions Sequence[BucketLifecycleConfigNonCurrentVersionTransition]
    Expiration attribute for transitioning historical version objects in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    prefix str
    Prefix to which the rule applies
    status str
    Enable rule. Includes Enabled, Disabled.
    tags Sequence[BucketLifecycleConfigTag]
    Tag Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    transitions Sequence[BucketLifecycleConfigTransition]
    Expiration attribute for transitioning the latest version object in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    abortInCompleteMultipartUpload Property Map
    Specify expiration attributes for unmerged multipart tasks (fragments)
    expiration Property Map
    Expiration attribute for deleting the latest version object in the lifecycle rule based on last modified time
    filter Property Map
    Filter conditions for applying the rule
    lifecycleRuleId String
    Rule ID
    noCurrentVersionExpiration Property Map
    nonCurrentVersionTransitions List<Property Map>
    Expiration attribute for transitioning historical version objects in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    prefix String
    Prefix to which the rule applies
    status String
    Enable rule. Includes Enabled, Disabled.
    tags List<Property Map>
    Tag Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    transitions List<Property Map>
    Expiration attribute for transitioning the latest version object in the lifecycle rule based on last modified time Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

    BucketLifecycleConfigAbortInCompleteMultipartUpload, BucketLifecycleConfigAbortInCompleteMultipartUploadArgs

    DaysAfterInitiation int
    Specify lifecycle rule for unmerged multipart tasks (fragments), number of days to delete after task initialization
    DaysAfterInitiation int
    Specify lifecycle rule for unmerged multipart tasks (fragments), number of days to delete after task initialization
    days_after_initiation number
    Specify lifecycle rule for unmerged multipart tasks (fragments), number of days to delete after task initialization
    daysAfterInitiation Integer
    Specify lifecycle rule for unmerged multipart tasks (fragments), number of days to delete after task initialization
    daysAfterInitiation number
    Specify lifecycle rule for unmerged multipart tasks (fragments), number of days to delete after task initialization
    days_after_initiation int
    Specify lifecycle rule for unmerged multipart tasks (fragments), number of days to delete after task initialization
    daysAfterInitiation Number
    Specify lifecycle rule for unmerged multipart tasks (fragments), number of days to delete after task initialization

    BucketLifecycleConfigExpiration, BucketLifecycleConfigExpirationArgs

    Date string
    Specific date for deleting the latest version object in the lifecycle rule based on last modified time
    Days int
    Number of days for deleting the latest version object based on last modified time in lifecycle rules
    Date string
    Specific date for deleting the latest version object in the lifecycle rule based on last modified time
    Days int
    Number of days for deleting the latest version object based on last modified time in lifecycle rules
    date string
    Specific date for deleting the latest version object in the lifecycle rule based on last modified time
    days number
    Number of days for deleting the latest version object based on last modified time in lifecycle rules
    date String
    Specific date for deleting the latest version object in the lifecycle rule based on last modified time
    days Integer
    Number of days for deleting the latest version object based on last modified time in lifecycle rules
    date string
    Specific date for deleting the latest version object in the lifecycle rule based on last modified time
    days number
    Number of days for deleting the latest version object based on last modified time in lifecycle rules
    date str
    Specific date for deleting the latest version object in the lifecycle rule based on last modified time
    days int
    Number of days for deleting the latest version object based on last modified time in lifecycle rules
    date String
    Specific date for deleting the latest version object in the lifecycle rule based on last modified time
    days Number
    Number of days for deleting the latest version object based on last modified time in lifecycle rules

    BucketLifecycleConfigFilter, BucketLifecycleConfigFilterArgs

    GreaterThanIncludeEqual string
    Equality condition status. Includes Enabled, Disabled
    LessThanIncludeEqual string
    Equality condition status. Includes Enabled, Disabled
    ObjectSizeGreaterThan int
    Apply rule to objects larger than the specified size
    ObjectSizeLessThan int
    Apply rule to objects smaller than the specified size
    GreaterThanIncludeEqual string
    Equality condition status. Includes Enabled, Disabled
    LessThanIncludeEqual string
    Equality condition status. Includes Enabled, Disabled
    ObjectSizeGreaterThan int
    Apply rule to objects larger than the specified size
    ObjectSizeLessThan int
    Apply rule to objects smaller than the specified size
    greater_than_include_equal string
    Equality condition status. Includes Enabled, Disabled
    less_than_include_equal string
    Equality condition status. Includes Enabled, Disabled
    object_size_greater_than number
    Apply rule to objects larger than the specified size
    object_size_less_than number
    Apply rule to objects smaller than the specified size
    greaterThanIncludeEqual String
    Equality condition status. Includes Enabled, Disabled
    lessThanIncludeEqual String
    Equality condition status. Includes Enabled, Disabled
    objectSizeGreaterThan Integer
    Apply rule to objects larger than the specified size
    objectSizeLessThan Integer
    Apply rule to objects smaller than the specified size
    greaterThanIncludeEqual string
    Equality condition status. Includes Enabled, Disabled
    lessThanIncludeEqual string
    Equality condition status. Includes Enabled, Disabled
    objectSizeGreaterThan number
    Apply rule to objects larger than the specified size
    objectSizeLessThan number
    Apply rule to objects smaller than the specified size
    greater_than_include_equal str
    Equality condition status. Includes Enabled, Disabled
    less_than_include_equal str
    Equality condition status. Includes Enabled, Disabled
    object_size_greater_than int
    Apply rule to objects larger than the specified size
    object_size_less_than int
    Apply rule to objects smaller than the specified size
    greaterThanIncludeEqual String
    Equality condition status. Includes Enabled, Disabled
    lessThanIncludeEqual String
    Equality condition status. Includes Enabled, Disabled
    objectSizeGreaterThan Number
    Apply rule to objects larger than the specified size
    objectSizeLessThan Number
    Apply rule to objects smaller than the specified size

    BucketLifecycleConfigNoCurrentVersionExpiration, BucketLifecycleConfigNoCurrentVersionExpirationArgs

    NonCurrentDate string
    Specific date for deleting historical version objects in the lifecycle rule based on last modified time
    NonCurrentDays int
    Number of days to delete historical version objects in the lifecycle rule based on last modified time
    NonCurrentDate string
    Specific date for deleting historical version objects in the lifecycle rule based on last modified time
    NonCurrentDays int
    Number of days to delete historical version objects in the lifecycle rule based on last modified time
    non_current_date string
    Specific date for deleting historical version objects in the lifecycle rule based on last modified time
    non_current_days number
    Number of days to delete historical version objects in the lifecycle rule based on last modified time
    nonCurrentDate String
    Specific date for deleting historical version objects in the lifecycle rule based on last modified time
    nonCurrentDays Integer
    Number of days to delete historical version objects in the lifecycle rule based on last modified time
    nonCurrentDate string
    Specific date for deleting historical version objects in the lifecycle rule based on last modified time
    nonCurrentDays number
    Number of days to delete historical version objects in the lifecycle rule based on last modified time
    non_current_date str
    Specific date for deleting historical version objects in the lifecycle rule based on last modified time
    non_current_days int
    Number of days to delete historical version objects in the lifecycle rule based on last modified time
    nonCurrentDate String
    Specific date for deleting historical version objects in the lifecycle rule based on last modified time
    nonCurrentDays Number
    Number of days to delete historical version objects in the lifecycle rule based on last modified time

    BucketLifecycleConfigNonCurrentVersionTransition, BucketLifecycleConfigNonCurrentVersionTransitionArgs

    NonCurrentDate string
    Specific date for historical version object transition in lifecycle rules based on last modified time
    NonCurrentDays int
    Number of days to transition historical version objects in the lifecycle rule based on last modified time
    StorageClass string
    Storage class. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    NonCurrentDate string
    Specific date for historical version object transition in lifecycle rules based on last modified time
    NonCurrentDays int
    Number of days to transition historical version objects in the lifecycle rule based on last modified time
    StorageClass string
    Storage class. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    non_current_date string
    Specific date for historical version object transition in lifecycle rules based on last modified time
    non_current_days number
    Number of days to transition historical version objects in the lifecycle rule based on last modified time
    storage_class string
    Storage class. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    nonCurrentDate String
    Specific date for historical version object transition in lifecycle rules based on last modified time
    nonCurrentDays Integer
    Number of days to transition historical version objects in the lifecycle rule based on last modified time
    storageClass String
    Storage class. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    nonCurrentDate string
    Specific date for historical version object transition in lifecycle rules based on last modified time
    nonCurrentDays number
    Number of days to transition historical version objects in the lifecycle rule based on last modified time
    storageClass string
    Storage class. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    non_current_date str
    Specific date for historical version object transition in lifecycle rules based on last modified time
    non_current_days int
    Number of days to transition historical version objects in the lifecycle rule based on last modified time
    storage_class str
    Storage class. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    nonCurrentDate String
    Specific date for historical version object transition in lifecycle rules based on last modified time
    nonCurrentDays Number
    Number of days to transition historical version objects in the lifecycle rule based on last modified time
    storageClass String
    Storage class. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE

    BucketLifecycleConfigTag, BucketLifecycleConfigTagArgs

    Key string
    Tag key
    Value string
    Tag value
    Key string
    Tag key
    Value string
    Tag value
    key string
    Tag key
    value string
    Tag value
    key String
    Tag key
    value String
    Tag value
    key string
    Tag key
    value string
    Tag value
    key str
    Tag key
    value str
    Tag value
    key String
    Tag key
    value String
    Tag value

    BucketLifecycleConfigTransition, BucketLifecycleConfigTransitionArgs

    Date string
    Specific date for latest version object transition in lifecycle rules based on last modified time
    Days int
    Number of days to transition the latest version object in the lifecycle rule based on last modified time
    StorageClass string
    Storage class for historical version object transition in lifecycle rules based on last modified time. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    Date string
    Specific date for latest version object transition in lifecycle rules based on last modified time
    Days int
    Number of days to transition the latest version object in the lifecycle rule based on last modified time
    StorageClass string
    Storage class for historical version object transition in lifecycle rules based on last modified time. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    date string
    Specific date for latest version object transition in lifecycle rules based on last modified time
    days number
    Number of days to transition the latest version object in the lifecycle rule based on last modified time
    storage_class string
    Storage class for historical version object transition in lifecycle rules based on last modified time. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    date String
    Specific date for latest version object transition in lifecycle rules based on last modified time
    days Integer
    Number of days to transition the latest version object in the lifecycle rule based on last modified time
    storageClass String
    Storage class for historical version object transition in lifecycle rules based on last modified time. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    date string
    Specific date for latest version object transition in lifecycle rules based on last modified time
    days number
    Number of days to transition the latest version object in the lifecycle rule based on last modified time
    storageClass string
    Storage class for historical version object transition in lifecycle rules based on last modified time. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    date str
    Specific date for latest version object transition in lifecycle rules based on last modified time
    days int
    Number of days to transition the latest version object in the lifecycle rule based on last modified time
    storage_class str
    Storage class for historical version object transition in lifecycle rules based on last modified time. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE
    date String
    Specific date for latest version object transition in lifecycle rules based on last modified time
    days Number
    Number of days to transition the latest version object in the lifecycle rule based on last modified time
    storageClass String
    Storage class for historical version object transition in lifecycle rules based on last modified time. Includes STANDARD, IA, ARCHIVEFR, INTELLIGENTTIERING, COLDARCHIVE, ARCHIVE, DEEPCOLD_ARCHIVE

    BucketObjectLockConfiguration, BucketObjectLockConfigurationArgs

    ObjectLockEnabled string
    Enable retention policy Only Enabled is supported, which means the retention policy is enabled
    Rule Volcengine.BucketObjectLockConfigurationRule
    Bucket retention policy rules
    ObjectLockEnabled string
    Enable retention policy Only Enabled is supported, which means the retention policy is enabled
    Rule BucketObjectLockConfigurationRule
    Bucket retention policy rules
    object_lock_enabled string
    Enable retention policy Only Enabled is supported, which means the retention policy is enabled
    rule object
    Bucket retention policy rules
    objectLockEnabled String
    Enable retention policy Only Enabled is supported, which means the retention policy is enabled
    rule BucketObjectLockConfigurationRule
    Bucket retention policy rules
    objectLockEnabled string
    Enable retention policy Only Enabled is supported, which means the retention policy is enabled
    rule BucketObjectLockConfigurationRule
    Bucket retention policy rules
    object_lock_enabled str
    Enable retention policy Only Enabled is supported, which means the retention policy is enabled
    rule BucketObjectLockConfigurationRule
    Bucket retention policy rules
    objectLockEnabled String
    Enable retention policy Only Enabled is supported, which means the retention policy is enabled
    rule Property Map
    Bucket retention policy rules

    BucketObjectLockConfigurationRule, BucketObjectLockConfigurationRuleArgs

    default_retention object
    Default bucket retention policy
    defaultRetention Property Map
    Default bucket retention policy

    BucketObjectLockConfigurationRuleDefaultRetention, BucketObjectLockConfigurationRuleDefaultRetentionArgs

    Days int
    Object lock days Objects cannot be deleted or overwritten during the specified number of days. Measured in days
    Mode string
    Retention policy mode Only COMPLIANCE is supported, which means compliance mode. In this mode, no user can delete or overwrite locked objects during the retention period
    Years int
    Object lock years Objects cannot be deleted or overwritten during the specified number of years. Measured in years, with one year equal to 365 days
    Days int
    Object lock days Objects cannot be deleted or overwritten during the specified number of days. Measured in days
    Mode string
    Retention policy mode Only COMPLIANCE is supported, which means compliance mode. In this mode, no user can delete or overwrite locked objects during the retention period
    Years int
    Object lock years Objects cannot be deleted or overwritten during the specified number of years. Measured in years, with one year equal to 365 days
    days number
    Object lock days Objects cannot be deleted or overwritten during the specified number of days. Measured in days
    mode string
    Retention policy mode Only COMPLIANCE is supported, which means compliance mode. In this mode, no user can delete or overwrite locked objects during the retention period
    years number
    Object lock years Objects cannot be deleted or overwritten during the specified number of years. Measured in years, with one year equal to 365 days
    days Integer
    Object lock days Objects cannot be deleted or overwritten during the specified number of days. Measured in days
    mode String
    Retention policy mode Only COMPLIANCE is supported, which means compliance mode. In this mode, no user can delete or overwrite locked objects during the retention period
    years Integer
    Object lock years Objects cannot be deleted or overwritten during the specified number of years. Measured in years, with one year equal to 365 days
    days number
    Object lock days Objects cannot be deleted or overwritten during the specified number of days. Measured in days
    mode string
    Retention policy mode Only COMPLIANCE is supported, which means compliance mode. In this mode, no user can delete or overwrite locked objects during the retention period
    years number
    Object lock years Objects cannot be deleted or overwritten during the specified number of years. Measured in years, with one year equal to 365 days
    days int
    Object lock days Objects cannot be deleted or overwritten during the specified number of days. Measured in days
    mode str
    Retention policy mode Only COMPLIANCE is supported, which means compliance mode. In this mode, no user can delete or overwrite locked objects during the retention period
    years int
    Object lock years Objects cannot be deleted or overwritten during the specified number of years. Measured in years, with one year equal to 365 days
    days Number
    Object lock days Objects cannot be deleted or overwritten during the specified number of days. Measured in days
    mode String
    Retention policy mode Only COMPLIANCE is supported, which means compliance mode. In this mode, no user can delete or overwrite locked objects during the retention period
    years Number
    Object lock years Objects cannot be deleted or overwritten during the specified number of years. Measured in years, with one year equal to 365 days

    BucketTag, BucketTagArgs

    Key string
    Tag key
    Value string
    Tag value
    Key string
    Tag key
    Value string
    Tag value
    key string
    Tag key
    value string
    Tag value
    key String
    Tag key
    value String
    Tag value
    key string
    Tag key
    value string
    Tag value
    key str
    Tag key
    value str
    Tag value
    key String
    Tag key
    value String
    Tag value

    Import

    $ pulumi import volcenginecc:tos/bucket:Bucket example "name"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.47
    published on Thursday, Jul 9, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial