1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. ConfigDeliverConfig
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack

    Provides a resource to manage Config delivery settings (global singleton configuration).

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.ConfigDeliverConfig("example", {
        status: 1,
        deliverName: "tf-example-deliver",
        targetArn: "qcs::cos:ap-guangzhou:uin/100000005287:prefix/1307050748/my-config-bucket",
        deliverPrefix: "config",
        deliverType: "COS",
        deliverContentType: 3,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.ConfigDeliverConfig("example",
        status=1,
        deliver_name="tf-example-deliver",
        target_arn="qcs::cos:ap-guangzhou:uin/100000005287:prefix/1307050748/my-config-bucket",
        deliver_prefix="config",
        deliver_type="COS",
        deliver_content_type=3)
    
    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.NewConfigDeliverConfig(ctx, "example", &tencentcloud.ConfigDeliverConfigArgs{
    			Status:             pulumi.Float64(1),
    			DeliverName:        pulumi.String("tf-example-deliver"),
    			TargetArn:          pulumi.String("qcs::cos:ap-guangzhou:uin/100000005287:prefix/1307050748/my-config-bucket"),
    			DeliverPrefix:      pulumi.String("config"),
    			DeliverType:        pulumi.String("COS"),
    			DeliverContentType: pulumi.Float64(3),
    		})
    		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 = new Tencentcloud.ConfigDeliverConfig("example", new()
        {
            Status = 1,
            DeliverName = "tf-example-deliver",
            TargetArn = "qcs::cos:ap-guangzhou:uin/100000005287:prefix/1307050748/my-config-bucket",
            DeliverPrefix = "config",
            DeliverType = "COS",
            DeliverContentType = 3,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.ConfigDeliverConfig;
    import com.pulumi.tencentcloud.ConfigDeliverConfigArgs;
    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) {
            var example = new ConfigDeliverConfig("example", ConfigDeliverConfigArgs.builder()
                .status(1.0)
                .deliverName("tf-example-deliver")
                .targetArn("qcs::cos:ap-guangzhou:uin/100000005287:prefix/1307050748/my-config-bucket")
                .deliverPrefix("config")
                .deliverType("COS")
                .deliverContentType(3.0)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:ConfigDeliverConfig
        properties:
          status: 1
          deliverName: tf-example-deliver
          targetArn: qcs::cos:ap-guangzhou:uin/100000005287:prefix/1307050748/my-config-bucket
          deliverPrefix: config
          deliverType: COS
          deliverContentType: 3
    
    Example coming soon!
    

    Create ConfigDeliverConfig Resource

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

    Constructor syntax

    new ConfigDeliverConfig(name: string, args: ConfigDeliverConfigArgs, opts?: CustomResourceOptions);
    @overload
    def ConfigDeliverConfig(resource_name: str,
                            args: ConfigDeliverConfigArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConfigDeliverConfig(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            status: Optional[float] = None,
                            config_deliver_config_id: Optional[str] = None,
                            deliver_content_type: Optional[float] = None,
                            deliver_name: Optional[str] = None,
                            deliver_prefix: Optional[str] = None,
                            deliver_type: Optional[str] = None,
                            target_arn: Optional[str] = None)
    func NewConfigDeliverConfig(ctx *Context, name string, args ConfigDeliverConfigArgs, opts ...ResourceOption) (*ConfigDeliverConfig, error)
    public ConfigDeliverConfig(string name, ConfigDeliverConfigArgs args, CustomResourceOptions? opts = null)
    public ConfigDeliverConfig(String name, ConfigDeliverConfigArgs args)
    public ConfigDeliverConfig(String name, ConfigDeliverConfigArgs args, CustomResourceOptions options)
    
    type: tencentcloud:ConfigDeliverConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_configdeliverconfig" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ConfigDeliverConfigArgs
    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 ConfigDeliverConfigArgs
    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 ConfigDeliverConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigDeliverConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigDeliverConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ConfigDeliverConfig 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 ConfigDeliverConfig resource accepts the following input properties:

    Status double
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    ConfigDeliverConfigId string
    ID of the resource.
    DeliverContentType double
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    DeliverName string
    Delivery service name.
    DeliverPrefix string
    Log prefix for stored delivery content.
    DeliverType string
    Delivery type. Valid values: COS, CLS.
    TargetArn string
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    Status float64
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    ConfigDeliverConfigId string
    ID of the resource.
    DeliverContentType float64
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    DeliverName string
    Delivery service name.
    DeliverPrefix string
    Log prefix for stored delivery content.
    DeliverType string
    Delivery type. Valid values: COS, CLS.
    TargetArn string
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    status number
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    config_deliver_config_id string
    ID of the resource.
    deliver_content_type number
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    deliver_name string
    Delivery service name.
    deliver_prefix string
    Log prefix for stored delivery content.
    deliver_type string
    Delivery type. Valid values: COS, CLS.
    target_arn string
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    status Double
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    configDeliverConfigId String
    ID of the resource.
    deliverContentType Double
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    deliverName String
    Delivery service name.
    deliverPrefix String
    Log prefix for stored delivery content.
    deliverType String
    Delivery type. Valid values: COS, CLS.
    targetArn String
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    status number
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    configDeliverConfigId string
    ID of the resource.
    deliverContentType number
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    deliverName string
    Delivery service name.
    deliverPrefix string
    Log prefix for stored delivery content.
    deliverType string
    Delivery type. Valid values: COS, CLS.
    targetArn string
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    status float
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    config_deliver_config_id str
    ID of the resource.
    deliver_content_type float
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    deliver_name str
    Delivery service name.
    deliver_prefix str
    Log prefix for stored delivery content.
    deliver_type str
    Delivery type. Valid values: COS, CLS.
    target_arn str
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    status Number
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    configDeliverConfigId String
    ID of the resource.
    deliverContentType Number
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    deliverName String
    Delivery service name.
    deliverPrefix String
    Log prefix for stored delivery content.
    deliverType String
    Delivery type. Valid values: COS, CLS.
    targetArn String
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.

    Outputs

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

    CreateTime string
    Creation time of the delivery configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreateTime string
    Creation time of the delivery configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    create_time string
    Creation time of the delivery configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    createTime String
    Creation time of the delivery configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    createTime string
    Creation time of the delivery configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    create_time str
    Creation time of the delivery configuration.
    id str
    The provider-assigned unique ID for this managed resource.
    createTime String
    Creation time of the delivery configuration.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ConfigDeliverConfig Resource

    Get an existing ConfigDeliverConfig 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?: ConfigDeliverConfigState, opts?: CustomResourceOptions): ConfigDeliverConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config_deliver_config_id: Optional[str] = None,
            create_time: Optional[str] = None,
            deliver_content_type: Optional[float] = None,
            deliver_name: Optional[str] = None,
            deliver_prefix: Optional[str] = None,
            deliver_type: Optional[str] = None,
            status: Optional[float] = None,
            target_arn: Optional[str] = None) -> ConfigDeliverConfig
    func GetConfigDeliverConfig(ctx *Context, name string, id IDInput, state *ConfigDeliverConfigState, opts ...ResourceOption) (*ConfigDeliverConfig, error)
    public static ConfigDeliverConfig Get(string name, Input<string> id, ConfigDeliverConfigState? state, CustomResourceOptions? opts = null)
    public static ConfigDeliverConfig get(String name, Output<String> id, ConfigDeliverConfigState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:ConfigDeliverConfig    get:      id: ${id}
    import {
      to = tencentcloud_configdeliverconfig.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:
    ConfigDeliverConfigId string
    ID of the resource.
    CreateTime string
    Creation time of the delivery configuration.
    DeliverContentType double
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    DeliverName string
    Delivery service name.
    DeliverPrefix string
    Log prefix for stored delivery content.
    DeliverType string
    Delivery type. Valid values: COS, CLS.
    Status double
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    TargetArn string
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    ConfigDeliverConfigId string
    ID of the resource.
    CreateTime string
    Creation time of the delivery configuration.
    DeliverContentType float64
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    DeliverName string
    Delivery service name.
    DeliverPrefix string
    Log prefix for stored delivery content.
    DeliverType string
    Delivery type. Valid values: COS, CLS.
    Status float64
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    TargetArn string
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    config_deliver_config_id string
    ID of the resource.
    create_time string
    Creation time of the delivery configuration.
    deliver_content_type number
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    deliver_name string
    Delivery service name.
    deliver_prefix string
    Log prefix for stored delivery content.
    deliver_type string
    Delivery type. Valid values: COS, CLS.
    status number
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    target_arn string
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    configDeliverConfigId String
    ID of the resource.
    createTime String
    Creation time of the delivery configuration.
    deliverContentType Double
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    deliverName String
    Delivery service name.
    deliverPrefix String
    Log prefix for stored delivery content.
    deliverType String
    Delivery type. Valid values: COS, CLS.
    status Double
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    targetArn String
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    configDeliverConfigId string
    ID of the resource.
    createTime string
    Creation time of the delivery configuration.
    deliverContentType number
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    deliverName string
    Delivery service name.
    deliverPrefix string
    Log prefix for stored delivery content.
    deliverType string
    Delivery type. Valid values: COS, CLS.
    status number
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    targetArn string
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    config_deliver_config_id str
    ID of the resource.
    create_time str
    Creation time of the delivery configuration.
    deliver_content_type float
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    deliver_name str
    Delivery service name.
    deliver_prefix str
    Log prefix for stored delivery content.
    deliver_type str
    Delivery type. Valid values: COS, CLS.
    status float
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    target_arn str
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.
    configDeliverConfigId String
    ID of the resource.
    createTime String
    Creation time of the delivery configuration.
    deliverContentType Number
    Delivery content type. Valid values: 1 (configuration change), 2 (resource list), 3 (all).
    deliverName String
    Delivery service name.
    deliverPrefix String
    Log prefix for stored delivery content.
    deliverType String
    Delivery type. Valid values: COS, CLS.
    status Number
    Delivery switch. Valid values: 0 (disabled), 1 (enabled).
    targetArn String
    Resource ARN. COS format: qcs::cos:$region:$account:prefix/$appid/$BucketName. CLS format: qcs::cls:$region:$account:cls/topicId.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.82.93
    published on Monday, May 11, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.