1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. tos
  6. Bucket
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 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

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    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
    

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

    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.

    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>
    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>
    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
    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
    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>
    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>
    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[]
    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[]
    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]
    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]
    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>
    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>

    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
    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,
            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}
    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>
    Location string
    Bucket region
    Name string
    Bucket name
    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>
    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
    Location string
    Bucket region
    Name string
    Bucket name
    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
    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>
    location String
    Bucket region
    name String
    Bucket name
    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>
    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[]
    location string
    Bucket region
    name string
    Bucket name
    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[]
    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]
    location str
    Bucket region
    name str
    Bucket name
    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]
    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>
    location String
    Bucket region
    name String
    Bucket name
    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>

    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>
    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
    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<BucketAclGrant>
    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[]
    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]
    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>
    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.
    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
    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>
    Prefix string
    Prefix to which the rule applies
    Status string
    Enable rule. Includes Enabled, Disabled.
    Tags List<Volcengine.BucketLifecycleConfigTag>
    Transitions List<Volcengine.BucketLifecycleConfigTransition>
    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
    Prefix string
    Prefix to which the rule applies
    Status string
    Enable rule. Includes Enabled, Disabled.
    Tags []BucketLifecycleConfigTag
    Transitions []BucketLifecycleConfigTransition
    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>
    prefix String
    Prefix to which the rule applies
    status String
    Enable rule. Includes Enabled, Disabled.
    tags List<BucketLifecycleConfigTag>
    transitions List<BucketLifecycleConfigTransition>
    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[]
    prefix string
    Prefix to which the rule applies
    status string
    Enable rule. Includes Enabled, Disabled.
    tags BucketLifecycleConfigTag[]
    transitions BucketLifecycleConfigTransition[]
    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]
    prefix str
    Prefix to which the rule applies
    status str
    Enable rule. Includes Enabled, Disabled.
    tags Sequence[BucketLifecycleConfigTag]
    transitions Sequence[BucketLifecycleConfigTransition]
    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>
    prefix String
    Prefix to which the rule applies
    status String
    Enable rule. Includes Enabled, Disabled.
    tags List<Property Map>
    transitions List<Property Map>

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

    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 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.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.