1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getCosBuckets
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getCosBuckets

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query the COS buckets of the current Tencent Cloud user.

    Example Usage

    Query all cos buckets

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getCosBuckets({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_cos_buckets()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetCosBuckets(ctx, &tencentcloud.GetCosBucketsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetCosBuckets.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetCosBucketsArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            final var example = TencentcloudFunctions.getCosBuckets();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getCosBuckets
          arguments: {}
    

    Query cos buckets by filters

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getCosBuckets({
        bucketPrefix: "tf-example-prefix",
        tags: {
            createBy: "Terraform",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_cos_buckets(bucket_prefix="tf-example-prefix",
        tags={
            "createBy": "Terraform",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetCosBuckets(ctx, &tencentcloud.GetCosBucketsArgs{
    			BucketPrefix: pulumi.StringRef("tf-example-prefix"),
    			Tags: map[string]interface{}{
    				"createBy": "Terraform",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetCosBuckets.Invoke(new()
        {
            BucketPrefix = "tf-example-prefix",
            Tags = 
            {
                { "createBy", "Terraform" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetCosBucketsArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            final var example = TencentcloudFunctions.getCosBuckets(GetCosBucketsArgs.builder()
                .bucketPrefix("tf-example-prefix")
                .tags(Map.of("createBy", "Terraform"))
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getCosBuckets
          arguments:
            bucketPrefix: tf-example-prefix
            tags:
              createBy: Terraform
    

    Using getCosBuckets

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCosBuckets(args: GetCosBucketsArgs, opts?: InvokeOptions): Promise<GetCosBucketsResult>
    function getCosBucketsOutput(args: GetCosBucketsOutputArgs, opts?: InvokeOptions): Output<GetCosBucketsResult>
    def get_cos_buckets(bucket_prefix: Optional[str] = None,
                        id: Optional[str] = None,
                        result_output_file: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCosBucketsResult
    def get_cos_buckets_output(bucket_prefix: Optional[pulumi.Input[str]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        result_output_file: Optional[pulumi.Input[str]] = None,
                        tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCosBucketsResult]
    func GetCosBuckets(ctx *Context, args *GetCosBucketsArgs, opts ...InvokeOption) (*GetCosBucketsResult, error)
    func GetCosBucketsOutput(ctx *Context, args *GetCosBucketsOutputArgs, opts ...InvokeOption) GetCosBucketsResultOutput

    > Note: This function is named GetCosBuckets in the Go SDK.

    public static class GetCosBuckets 
    {
        public static Task<GetCosBucketsResult> InvokeAsync(GetCosBucketsArgs args, InvokeOptions? opts = null)
        public static Output<GetCosBucketsResult> Invoke(GetCosBucketsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCosBucketsResult> getCosBuckets(GetCosBucketsArgs args, InvokeOptions options)
    public static Output<GetCosBucketsResult> getCosBuckets(GetCosBucketsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCosBuckets:getCosBuckets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BucketPrefix string
    A prefix string to filter results by bucket name.
    Id string
    ResultOutputFile string
    Used to save results.
    Tags Dictionary<string, string>
    Tags to filter bucket.
    BucketPrefix string
    A prefix string to filter results by bucket name.
    Id string
    ResultOutputFile string
    Used to save results.
    Tags map[string]string
    Tags to filter bucket.
    bucketPrefix String
    A prefix string to filter results by bucket name.
    id String
    resultOutputFile String
    Used to save results.
    tags Map<String,String>
    Tags to filter bucket.
    bucketPrefix string
    A prefix string to filter results by bucket name.
    id string
    resultOutputFile string
    Used to save results.
    tags {[key: string]: string}
    Tags to filter bucket.
    bucket_prefix str
    A prefix string to filter results by bucket name.
    id str
    result_output_file str
    Used to save results.
    tags Mapping[str, str]
    Tags to filter bucket.
    bucketPrefix String
    A prefix string to filter results by bucket name.
    id String
    resultOutputFile String
    Used to save results.
    tags Map<String>
    Tags to filter bucket.

    getCosBuckets Result

    The following output properties are available:

    BucketLists List<GetCosBucketsBucketList>
    A list of bucket. Each element contains the following attributes:
    Id string
    BucketPrefix string
    ResultOutputFile string
    Tags Dictionary<string, string>
    The tags of a bucket.
    BucketLists []GetCosBucketsBucketList
    A list of bucket. Each element contains the following attributes:
    Id string
    BucketPrefix string
    ResultOutputFile string
    Tags map[string]string
    The tags of a bucket.
    bucketLists List<GetCosBucketsBucketList>
    A list of bucket. Each element contains the following attributes:
    id String
    bucketPrefix String
    resultOutputFile String
    tags Map<String,String>
    The tags of a bucket.
    bucketLists GetCosBucketsBucketList[]
    A list of bucket. Each element contains the following attributes:
    id string
    bucketPrefix string
    resultOutputFile string
    tags {[key: string]: string}
    The tags of a bucket.
    bucket_lists Sequence[GetCosBucketsBucketList]
    A list of bucket. Each element contains the following attributes:
    id str
    bucket_prefix str
    result_output_file str
    tags Mapping[str, str]
    The tags of a bucket.
    bucketLists List<Property Map>
    A list of bucket. Each element contains the following attributes:
    id String
    bucketPrefix String
    resultOutputFile String
    tags Map<String>
    The tags of a bucket.

    Supporting Types

    GetCosBucketsBucketList

    Acl string
    Bucket access control configurations.
    AclBody string
    Bucket verbose acl configurations.
    Bucket string
    Bucket name, the format likes <bucket>-<appid>.
    CorsRules List<GetCosBucketsBucketListCorsRule>
    A list of CORS rule configurations.
    CosBucketUrl string
    The URL of this cos bucket.
    LifecycleRules List<GetCosBucketsBucketListLifecycleRule>
    The lifecycle configuration of a bucket.
    OriginDomainRules List<GetCosBucketsBucketListOriginDomainRule>
    Bucket origin domain rules.
    OriginPullRules List<GetCosBucketsBucketListOriginPullRule>
    Bucket Origin-Pull rules.
    Tags Dictionary<string, string>
    Tags to filter bucket.
    Websites List<GetCosBucketsBucketListWebsite>
    A list of one element containing configuration parameters used when the bucket is used as a website.
    Acl string
    Bucket access control configurations.
    AclBody string
    Bucket verbose acl configurations.
    Bucket string
    Bucket name, the format likes <bucket>-<appid>.
    CorsRules []GetCosBucketsBucketListCorsRule
    A list of CORS rule configurations.
    CosBucketUrl string
    The URL of this cos bucket.
    LifecycleRules []GetCosBucketsBucketListLifecycleRule
    The lifecycle configuration of a bucket.
    OriginDomainRules []GetCosBucketsBucketListOriginDomainRule
    Bucket origin domain rules.
    OriginPullRules []GetCosBucketsBucketListOriginPullRule
    Bucket Origin-Pull rules.
    Tags map[string]string
    Tags to filter bucket.
    Websites []GetCosBucketsBucketListWebsite
    A list of one element containing configuration parameters used when the bucket is used as a website.
    acl String
    Bucket access control configurations.
    aclBody String
    Bucket verbose acl configurations.
    bucket String
    Bucket name, the format likes <bucket>-<appid>.
    corsRules List<GetCosBucketsBucketListCorsRule>
    A list of CORS rule configurations.
    cosBucketUrl String
    The URL of this cos bucket.
    lifecycleRules List<GetCosBucketsBucketListLifecycleRule>
    The lifecycle configuration of a bucket.
    originDomainRules List<GetCosBucketsBucketListOriginDomainRule>
    Bucket origin domain rules.
    originPullRules List<GetCosBucketsBucketListOriginPullRule>
    Bucket Origin-Pull rules.
    tags Map<String,String>
    Tags to filter bucket.
    websites List<GetCosBucketsBucketListWebsite>
    A list of one element containing configuration parameters used when the bucket is used as a website.
    acl string
    Bucket access control configurations.
    aclBody string
    Bucket verbose acl configurations.
    bucket string
    Bucket name, the format likes <bucket>-<appid>.
    corsRules GetCosBucketsBucketListCorsRule[]
    A list of CORS rule configurations.
    cosBucketUrl string
    The URL of this cos bucket.
    lifecycleRules GetCosBucketsBucketListLifecycleRule[]
    The lifecycle configuration of a bucket.
    originDomainRules GetCosBucketsBucketListOriginDomainRule[]
    Bucket origin domain rules.
    originPullRules GetCosBucketsBucketListOriginPullRule[]
    Bucket Origin-Pull rules.
    tags {[key: string]: string}
    Tags to filter bucket.
    websites GetCosBucketsBucketListWebsite[]
    A list of one element containing configuration parameters used when the bucket is used as a website.
    acl str
    Bucket access control configurations.
    acl_body str
    Bucket verbose acl configurations.
    bucket str
    Bucket name, the format likes <bucket>-<appid>.
    cors_rules Sequence[GetCosBucketsBucketListCorsRule]
    A list of CORS rule configurations.
    cos_bucket_url str
    The URL of this cos bucket.
    lifecycle_rules Sequence[GetCosBucketsBucketListLifecycleRule]
    The lifecycle configuration of a bucket.
    origin_domain_rules Sequence[GetCosBucketsBucketListOriginDomainRule]
    Bucket origin domain rules.
    origin_pull_rules Sequence[GetCosBucketsBucketListOriginPullRule]
    Bucket Origin-Pull rules.
    tags Mapping[str, str]
    Tags to filter bucket.
    websites Sequence[GetCosBucketsBucketListWebsite]
    A list of one element containing configuration parameters used when the bucket is used as a website.
    acl String
    Bucket access control configurations.
    aclBody String
    Bucket verbose acl configurations.
    bucket String
    Bucket name, the format likes <bucket>-<appid>.
    corsRules List<Property Map>
    A list of CORS rule configurations.
    cosBucketUrl String
    The URL of this cos bucket.
    lifecycleRules List<Property Map>
    The lifecycle configuration of a bucket.
    originDomainRules List<Property Map>
    Bucket origin domain rules.
    originPullRules List<Property Map>
    Bucket Origin-Pull rules.
    tags Map<String>
    Tags to filter bucket.
    websites List<Property Map>
    A list of one element containing configuration parameters used when the bucket is used as a website.

    GetCosBucketsBucketListCorsRule

    AllowedHeaders List<string>
    Specifies which headers are allowed.
    AllowedMethods List<string>
    Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
    AllowedOrigins List<string>
    Specifies which origins are allowed.
    ExposeHeaders List<string>
    Specifies expose header in the response.
    MaxAgeSeconds double
    Specifies time in seconds that browser can cache the response for a preflight request.
    AllowedHeaders []string
    Specifies which headers are allowed.
    AllowedMethods []string
    Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
    AllowedOrigins []string
    Specifies which origins are allowed.
    ExposeHeaders []string
    Specifies expose header in the response.
    MaxAgeSeconds float64
    Specifies time in seconds that browser can cache the response for a preflight request.
    allowedHeaders List<String>
    Specifies which headers are allowed.
    allowedMethods List<String>
    Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
    allowedOrigins List<String>
    Specifies which origins are allowed.
    exposeHeaders List<String>
    Specifies expose header in the response.
    maxAgeSeconds Double
    Specifies time in seconds that browser can cache the response for a preflight request.
    allowedHeaders string[]
    Specifies which headers are allowed.
    allowedMethods string[]
    Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
    allowedOrigins string[]
    Specifies which origins are allowed.
    exposeHeaders string[]
    Specifies expose header in the response.
    maxAgeSeconds number
    Specifies time in seconds that browser can cache the response for a preflight request.
    allowed_headers Sequence[str]
    Specifies which headers are allowed.
    allowed_methods Sequence[str]
    Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
    allowed_origins Sequence[str]
    Specifies which origins are allowed.
    expose_headers Sequence[str]
    Specifies expose header in the response.
    max_age_seconds float
    Specifies time in seconds that browser can cache the response for a preflight request.
    allowedHeaders List<String>
    Specifies which headers are allowed.
    allowedMethods List<String>
    Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
    allowedOrigins List<String>
    Specifies which origins are allowed.
    exposeHeaders List<String>
    Specifies expose header in the response.
    maxAgeSeconds Number
    Specifies time in seconds that browser can cache the response for a preflight request.

    GetCosBucketsBucketListLifecycleRule

    AbortIncompleteMultipartUploads List<GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload>
    Set the maximum time a multipart upload is allowed to remain running.
    Expirations List<GetCosBucketsBucketListLifecycleRuleExpiration>
    Specifies a period in the object's expire.
    FilterPrefix string
    Object key prefix identifying one or more objects to which the rule applies.
    NonCurrentExpirations List<GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration>
    Specifies when non current object versions shall expire.
    NonCurrentTransitions List<GetCosBucketsBucketListLifecycleRuleNonCurrentTransition>
    Specifies when to transition objects of non current versions and the target storage class.
    Transitions List<GetCosBucketsBucketListLifecycleRuleTransition>
    Specifies a period in the object's transitions.
    AbortIncompleteMultipartUploads []GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload
    Set the maximum time a multipart upload is allowed to remain running.
    Expirations []GetCosBucketsBucketListLifecycleRuleExpiration
    Specifies a period in the object's expire.
    FilterPrefix string
    Object key prefix identifying one or more objects to which the rule applies.
    NonCurrentExpirations []GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration
    Specifies when non current object versions shall expire.
    NonCurrentTransitions []GetCosBucketsBucketListLifecycleRuleNonCurrentTransition
    Specifies when to transition objects of non current versions and the target storage class.
    Transitions []GetCosBucketsBucketListLifecycleRuleTransition
    Specifies a period in the object's transitions.
    abortIncompleteMultipartUploads List<GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload>
    Set the maximum time a multipart upload is allowed to remain running.
    expirations List<GetCosBucketsBucketListLifecycleRuleExpiration>
    Specifies a period in the object's expire.
    filterPrefix String
    Object key prefix identifying one or more objects to which the rule applies.
    nonCurrentExpirations List<GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration>
    Specifies when non current object versions shall expire.
    nonCurrentTransitions List<GetCosBucketsBucketListLifecycleRuleNonCurrentTransition>
    Specifies when to transition objects of non current versions and the target storage class.
    transitions List<GetCosBucketsBucketListLifecycleRuleTransition>
    Specifies a period in the object's transitions.
    abortIncompleteMultipartUploads GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload[]
    Set the maximum time a multipart upload is allowed to remain running.
    expirations GetCosBucketsBucketListLifecycleRuleExpiration[]
    Specifies a period in the object's expire.
    filterPrefix string
    Object key prefix identifying one or more objects to which the rule applies.
    nonCurrentExpirations GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration[]
    Specifies when non current object versions shall expire.
    nonCurrentTransitions GetCosBucketsBucketListLifecycleRuleNonCurrentTransition[]
    Specifies when to transition objects of non current versions and the target storage class.
    transitions GetCosBucketsBucketListLifecycleRuleTransition[]
    Specifies a period in the object's transitions.
    abort_incomplete_multipart_uploads Sequence[GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload]
    Set the maximum time a multipart upload is allowed to remain running.
    expirations Sequence[GetCosBucketsBucketListLifecycleRuleExpiration]
    Specifies a period in the object's expire.
    filter_prefix str
    Object key prefix identifying one or more objects to which the rule applies.
    non_current_expirations Sequence[GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration]
    Specifies when non current object versions shall expire.
    non_current_transitions Sequence[GetCosBucketsBucketListLifecycleRuleNonCurrentTransition]
    Specifies when to transition objects of non current versions and the target storage class.
    transitions Sequence[GetCosBucketsBucketListLifecycleRuleTransition]
    Specifies a period in the object's transitions.
    abortIncompleteMultipartUploads List<Property Map>
    Set the maximum time a multipart upload is allowed to remain running.
    expirations List<Property Map>
    Specifies a period in the object's expire.
    filterPrefix String
    Object key prefix identifying one or more objects to which the rule applies.
    nonCurrentExpirations List<Property Map>
    Specifies when non current object versions shall expire.
    nonCurrentTransitions List<Property Map>
    Specifies when to transition objects of non current versions and the target storage class.
    transitions List<Property Map>
    Specifies a period in the object's transitions.

    GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload

    DaysAfterInitiation double
    Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
    DaysAfterInitiation float64
    Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
    daysAfterInitiation Double
    Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
    daysAfterInitiation number
    Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
    days_after_initiation float
    Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
    daysAfterInitiation Number
    Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.

    GetCosBucketsBucketListLifecycleRuleExpiration

    Date string
    Specifies the date after which you want the corresponding action to take effect.
    Days double
    Specifies the number of days after object creation when the specific rule action takes effect.
    Date string
    Specifies the date after which you want the corresponding action to take effect.
    Days float64
    Specifies the number of days after object creation when the specific rule action takes effect.
    date String
    Specifies the date after which you want the corresponding action to take effect.
    days Double
    Specifies the number of days after object creation when the specific rule action takes effect.
    date string
    Specifies the date after which you want the corresponding action to take effect.
    days number
    Specifies the number of days after object creation when the specific rule action takes effect.
    date str
    Specifies the date after which you want the corresponding action to take effect.
    days float
    Specifies the number of days after object creation when the specific rule action takes effect.
    date String
    Specifies the date after which you want the corresponding action to take effect.
    days Number
    Specifies the number of days after object creation when the specific rule action takes effect.

    GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration

    NonCurrentDays double
    Number of days after non current object creation when the specific rule action takes effect.
    NonCurrentDays float64
    Number of days after non current object creation when the specific rule action takes effect.
    nonCurrentDays Double
    Number of days after non current object creation when the specific rule action takes effect.
    nonCurrentDays number
    Number of days after non current object creation when the specific rule action takes effect.
    non_current_days float
    Number of days after non current object creation when the specific rule action takes effect.
    nonCurrentDays Number
    Number of days after non current object creation when the specific rule action takes effect.

    GetCosBucketsBucketListLifecycleRuleNonCurrentTransition

    NonCurrentDays double
    Number of days after non current object creation when the specific rule action takes effect.
    StorageClass string
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
    NonCurrentDays float64
    Number of days after non current object creation when the specific rule action takes effect.
    StorageClass string
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
    nonCurrentDays Double
    Number of days after non current object creation when the specific rule action takes effect.
    storageClass String
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
    nonCurrentDays number
    Number of days after non current object creation when the specific rule action takes effect.
    storageClass string
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
    non_current_days float
    Number of days after non current object creation when the specific rule action takes effect.
    storage_class str
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
    nonCurrentDays Number
    Number of days after non current object creation when the specific rule action takes effect.
    storageClass String
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.

    GetCosBucketsBucketListLifecycleRuleTransition

    Date string
    Specifies the date after which you want the corresponding action to take effect.
    Days double
    Specifies the number of days after object creation when the specific rule action takes effect.
    StorageClass string
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
    Date string
    Specifies the date after which you want the corresponding action to take effect.
    Days float64
    Specifies the number of days after object creation when the specific rule action takes effect.
    StorageClass string
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
    date String
    Specifies the date after which you want the corresponding action to take effect.
    days Double
    Specifies the number of days after object creation when the specific rule action takes effect.
    storageClass String
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
    date string
    Specifies the date after which you want the corresponding action to take effect.
    days number
    Specifies the number of days after object creation when the specific rule action takes effect.
    storageClass string
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
    date str
    Specifies the date after which you want the corresponding action to take effect.
    days float
    Specifies the number of days after object creation when the specific rule action takes effect.
    storage_class str
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
    date String
    Specifies the date after which you want the corresponding action to take effect.
    days Number
    Specifies the number of days after object creation when the specific rule action takes effect.
    storageClass String
    Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.

    GetCosBucketsBucketListOriginDomainRule

    Domain string
    Status string
    Type string
    Domain string
    Status string
    Type string
    domain String
    status String
    type String
    domain string
    status string
    type string
    domain str
    status str
    type str
    domain String
    status String
    type String

    GetCosBucketsBucketListOriginPullRule

    CustomHttpHeaders Dictionary<string, string>
    FollowHttpHeaders List<string>
    FollowQueryString bool
    FollowRedirection bool
    Host string
    Prefix string
    Priority double
    Protocol string
    SyncBackToSource bool
    customHttpHeaders Map<String,String>
    followHttpHeaders List<String>
    followQueryString Boolean
    followRedirection Boolean
    host String
    prefix String
    priority Double
    protocol String
    syncBackToSource Boolean
    customHttpHeaders {[key: string]: string}
    followHttpHeaders string[]
    followQueryString boolean
    followRedirection boolean
    host string
    prefix string
    priority number
    protocol string
    syncBackToSource boolean
    customHttpHeaders Map<String>
    followHttpHeaders List<String>
    followQueryString Boolean
    followRedirection Boolean
    host String
    prefix String
    priority Number
    protocol String
    syncBackToSource Boolean

    GetCosBucketsBucketListWebsite

    ErrorDocument string
    An absolute path to the document to return in case of a 4XX error.
    IndexDocument string
    COS returns this index document when requests are made to the root domain or any of the subfolders.
    ErrorDocument string
    An absolute path to the document to return in case of a 4XX error.
    IndexDocument string
    COS returns this index document when requests are made to the root domain or any of the subfolders.
    errorDocument String
    An absolute path to the document to return in case of a 4XX error.
    indexDocument String
    COS returns this index document when requests are made to the root domain or any of the subfolders.
    errorDocument string
    An absolute path to the document to return in case of a 4XX error.
    indexDocument string
    COS returns this index document when requests are made to the root domain or any of the subfolders.
    error_document str
    An absolute path to the document to return in case of a 4XX error.
    index_document str
    COS returns this index document when requests are made to the root domain or any of the subfolders.
    errorDocument String
    An absolute path to the document to return in case of a 4XX error.
    indexDocument String
    COS returns this index document when requests are made to the root domain or any of the subfolders.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack