published on Monday, May 11, 2026 by tencentcloudstack
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).
- Config
Deliver stringConfig Id - ID of the resource.
- Deliver
Content doubleType - 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 float64
- Delivery switch. Valid values: 0 (disabled), 1 (enabled).
- Config
Deliver stringConfig Id - ID of the resource.
- Deliver
Content float64Type - 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 number
- Delivery switch. Valid values: 0 (disabled), 1 (enabled).
- config_
deliver_ stringconfig_ id - ID of the resource.
- deliver_
content_ numbertype - 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).
- config
Deliver StringConfig Id - ID of the resource.
- deliver
Content DoubleType - 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 number
- Delivery switch. Valid values: 0 (disabled), 1 (enabled).
- config
Deliver stringConfig Id - ID of the resource.
- deliver
Content numberType - 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 float
- Delivery switch. Valid values: 0 (disabled), 1 (enabled).
- config_
deliver_ strconfig_ id - ID of the resource.
- deliver_
content_ floattype - 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).
- config
Deliver StringConfig Id - ID of the resource.
- deliver
Content NumberType - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConfigDeliverConfig resource produces the following output properties:
- Create
Time 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.
- create_
time 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.
- create
Time 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.
- create
Time 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) -> ConfigDeliverConfigfunc 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.
- Config
Deliver stringConfig Id - ID of the resource.
- Create
Time string - Creation time of the delivery configuration.
- Deliver
Content doubleType - 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 double
- 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.
- Config
Deliver stringConfig Id - ID of the resource.
- Create
Time string - Creation time of the delivery configuration.
- Deliver
Content float64Type - 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 float64
- 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.
- config_
deliver_ stringconfig_ id - ID of the resource.
- create_
time string - Creation time of the delivery configuration.
- deliver_
content_ numbertype - 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.
- config
Deliver StringConfig Id - ID of the resource.
- create
Time String - Creation time of the delivery configuration.
- deliver
Content DoubleType - 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 Double
- 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.
- config
Deliver stringConfig Id - ID of the resource.
- create
Time string - Creation time of the delivery configuration.
- deliver
Content numberType - 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.
- config_
deliver_ strconfig_ id - ID of the resource.
- create_
time str - Creation time of the delivery configuration.
- deliver_
content_ floattype - 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.
- config
Deliver StringConfig Id - ID of the resource.
- create
Time String - Creation time of the delivery configuration.
- deliver
Content NumberType - 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.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
published on Monday, May 11, 2026 by tencentcloudstack
