1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. ConfigAggregator
Viewing docs for tencentcloud 1.83.41
published on Friday, Nov 6, 2026 by tencentcloudstack
tencentcloud
Viewing docs for tencentcloud 1.83.41
published on Friday, Nov 6, 2026 by tencentcloudstack

    Provides a resource to create a Config aggregator.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.ConfigAggregator("example", {
        name: "tf-example-aggregator",
        description: "tf example aggregator",
        type: "CUSTOM",
        ownerUin: "100012345678",
        aggregatorAccounts: [
            {
                memberUin: 100012345679,
                memberName: "member-1",
            },
            {
                memberUin: 100012345680,
                memberName: "member-2",
            },
        ],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.ConfigAggregator("example",
        name="tf-example-aggregator",
        description="tf example aggregator",
        type="CUSTOM",
        owner_uin="100012345678",
        aggregator_accounts=[
            {
                "member_uin": 100012345679,
                "member_name": "member-1",
            },
            {
                "member_uin": 100012345680,
                "member_name": "member-2",
            },
        ])
    
    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.NewConfigAggregator(ctx, "example", &tencentcloud.ConfigAggregatorArgs{
    			Name:        pulumi.String("tf-example-aggregator"),
    			Description: pulumi.String("tf example aggregator"),
    			Type:        pulumi.String("CUSTOM"),
    			OwnerUin:    pulumi.String("100012345678"),
    			AggregatorAccounts: tencentcloud.ConfigAggregatorAggregatorAccountArray{
    				&tencentcloud.ConfigAggregatorAggregatorAccountArgs{
    					MemberUin:  pulumi.Float64(100012345679),
    					MemberName: pulumi.String("member-1"),
    				},
    				&tencentcloud.ConfigAggregatorAggregatorAccountArgs{
    					MemberUin:  pulumi.Float64(100012345680),
    					MemberName: pulumi.String("member-2"),
    				},
    			},
    		})
    		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.ConfigAggregator("example", new()
        {
            Name = "tf-example-aggregator",
            Description = "tf example aggregator",
            Type = "CUSTOM",
            OwnerUin = "100012345678",
            AggregatorAccounts = new[]
            {
                new Tencentcloud.Inputs.ConfigAggregatorAggregatorAccountArgs
                {
                    MemberUin = 100012345679,
                    MemberName = "member-1",
                },
                new Tencentcloud.Inputs.ConfigAggregatorAggregatorAccountArgs
                {
                    MemberUin = 100012345680,
                    MemberName = "member-2",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.ConfigAggregator;
    import com.pulumi.tencentcloud.ConfigAggregatorArgs;
    import com.pulumi.tencentcloud.inputs.ConfigAggregatorAggregatorAccountArgs;
    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 ConfigAggregator("example", ConfigAggregatorArgs.builder()
                .name("tf-example-aggregator")
                .description("tf example aggregator")
                .type("CUSTOM")
                .ownerUin("100012345678")
                .aggregatorAccounts(            
                    ConfigAggregatorAggregatorAccountArgs.builder()
                        .memberUin(100012345679.0)
                        .memberName("member-1")
                        .build(),
                    ConfigAggregatorAggregatorAccountArgs.builder()
                        .memberUin(100012345680.0)
                        .memberName("member-2")
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:ConfigAggregator
        properties:
          name: tf-example-aggregator
          description: tf example aggregator
          type: CUSTOM
          ownerUin: '100012345678'
          aggregatorAccounts:
            - memberUin: 1.00012345679e+11
              memberName: member-1
            - memberUin: 1.0001234568e+11
              memberName: member-2
    
    Example coming soon!
    

    API Reference

    This resource interacts with the following TencentCloud APIs:

    Create ConfigAggregator Resource

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

    Constructor syntax

    new ConfigAggregator(name: string, args: ConfigAggregatorArgs, opts?: CustomResourceOptions);
    @overload
    def ConfigAggregator(resource_name: str,
                         args: ConfigAggregatorArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConfigAggregator(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         description: Optional[str] = None,
                         owner_uin: Optional[str] = None,
                         type: Optional[str] = None,
                         aggregator_accounts: Optional[Sequence[ConfigAggregatorAggregatorAccountArgs]] = None,
                         config_aggregator_id: Optional[str] = None,
                         name: Optional[str] = None)
    func NewConfigAggregator(ctx *Context, name string, args ConfigAggregatorArgs, opts ...ResourceOption) (*ConfigAggregator, error)
    public ConfigAggregator(string name, ConfigAggregatorArgs args, CustomResourceOptions? opts = null)
    public ConfigAggregator(String name, ConfigAggregatorArgs args)
    public ConfigAggregator(String name, ConfigAggregatorArgs args, CustomResourceOptions options)
    
    type: tencentcloud:ConfigAggregator
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_config_aggregator" "name" {
        # resource properties
    }

    Parameters

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

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

    Description string
    Aggregator description.
    OwnerUin string
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    Type string
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    AggregatorAccounts List<ConfigAggregatorAggregatorAccount>
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    ConfigAggregatorId string
    ID of the resource.
    Name string
    Aggregator name.
    Description string
    Aggregator description.
    OwnerUin string
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    Type string
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    AggregatorAccounts []ConfigAggregatorAggregatorAccountArgs
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    ConfigAggregatorId string
    ID of the resource.
    Name string
    Aggregator name.
    description string
    Aggregator description.
    owner_uin string
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    type string
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    aggregator_accounts list(object)
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    config_aggregator_id string
    ID of the resource.
    name string
    Aggregator name.
    description String
    Aggregator description.
    ownerUin String
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    type String
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    aggregatorAccounts List<ConfigAggregatorAggregatorAccount>
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    configAggregatorId String
    ID of the resource.
    name String
    Aggregator name.
    description string
    Aggregator description.
    ownerUin string
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    type string
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    aggregatorAccounts ConfigAggregatorAggregatorAccount[]
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    configAggregatorId string
    ID of the resource.
    name string
    Aggregator name.
    description str
    Aggregator description.
    owner_uin str
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    type str
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    aggregator_accounts Sequence[ConfigAggregatorAggregatorAccountArgs]
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    config_aggregator_id str
    ID of the resource.
    name str
    Aggregator name.
    description String
    Aggregator description.
    ownerUin String
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    type String
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    aggregatorAccounts List<Property Map>
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    configAggregatorId String
    ID of the resource.
    name String
    Aggregator name.

    Outputs

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

    AccountGroupId string
    Aggregator ID.
    AggregatorStatus double
    Aggregator creation status.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccountGroupId string
    Aggregator ID.
    AggregatorStatus float64
    Aggregator creation status.
    Id string
    The provider-assigned unique ID for this managed resource.
    account_group_id string
    Aggregator ID.
    aggregator_status number
    Aggregator creation status.
    id string
    The provider-assigned unique ID for this managed resource.
    accountGroupId String
    Aggregator ID.
    aggregatorStatus Double
    Aggregator creation status.
    id String
    The provider-assigned unique ID for this managed resource.
    accountGroupId string
    Aggregator ID.
    aggregatorStatus number
    Aggregator creation status.
    id string
    The provider-assigned unique ID for this managed resource.
    account_group_id str
    Aggregator ID.
    aggregator_status float
    Aggregator creation status.
    id str
    The provider-assigned unique ID for this managed resource.
    accountGroupId String
    Aggregator ID.
    aggregatorStatus Number
    Aggregator creation status.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ConfigAggregator Resource

    Get an existing ConfigAggregator 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?: ConfigAggregatorState, opts?: CustomResourceOptions): ConfigAggregator
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_group_id: Optional[str] = None,
            aggregator_accounts: Optional[Sequence[ConfigAggregatorAggregatorAccountArgs]] = None,
            aggregator_status: Optional[float] = None,
            config_aggregator_id: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            owner_uin: Optional[str] = None,
            type: Optional[str] = None) -> ConfigAggregator
    func GetConfigAggregator(ctx *Context, name string, id IDInput, state *ConfigAggregatorState, opts ...ResourceOption) (*ConfigAggregator, error)
    public static ConfigAggregator Get(string name, Input<string> id, ConfigAggregatorState? state, CustomResourceOptions? opts = null)
    public static ConfigAggregator get(String name, Output<String> id, ConfigAggregatorState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:ConfigAggregator    get:      id: ${id}
    import {
      to = tencentcloud_config_aggregator.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:
    AccountGroupId string
    Aggregator ID.
    AggregatorAccounts List<ConfigAggregatorAggregatorAccount>
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    AggregatorStatus double
    Aggregator creation status.
    ConfigAggregatorId string
    ID of the resource.
    Description string
    Aggregator description.
    Name string
    Aggregator name.
    OwnerUin string
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    Type string
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    AccountGroupId string
    Aggregator ID.
    AggregatorAccounts []ConfigAggregatorAggregatorAccountArgs
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    AggregatorStatus float64
    Aggregator creation status.
    ConfigAggregatorId string
    ID of the resource.
    Description string
    Aggregator description.
    Name string
    Aggregator name.
    OwnerUin string
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    Type string
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    account_group_id string
    Aggregator ID.
    aggregator_accounts list(object)
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    aggregator_status number
    Aggregator creation status.
    config_aggregator_id string
    ID of the resource.
    description string
    Aggregator description.
    name string
    Aggregator name.
    owner_uin string
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    type string
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    accountGroupId String
    Aggregator ID.
    aggregatorAccounts List<ConfigAggregatorAggregatorAccount>
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    aggregatorStatus Double
    Aggregator creation status.
    configAggregatorId String
    ID of the resource.
    description String
    Aggregator description.
    name String
    Aggregator name.
    ownerUin String
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    type String
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    accountGroupId string
    Aggregator ID.
    aggregatorAccounts ConfigAggregatorAggregatorAccount[]
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    aggregatorStatus number
    Aggregator creation status.
    configAggregatorId string
    ID of the resource.
    description string
    Aggregator description.
    name string
    Aggregator name.
    ownerUin string
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    type string
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    account_group_id str
    Aggregator ID.
    aggregator_accounts Sequence[ConfigAggregatorAggregatorAccountArgs]
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    aggregator_status float
    Aggregator creation status.
    config_aggregator_id str
    ID of the resource.
    description str
    Aggregator description.
    name str
    Aggregator name.
    owner_uin str
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    type str
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).
    accountGroupId String
    Aggregator ID.
    aggregatorAccounts List<Property Map>
    Member account list of the aggregator, up to 100 entries. Required when type is CUSTOM; for RD (global) aggregators the members are maintained by the cloud and returned here automatically.
    aggregatorStatus Number
    Aggregator creation status.
    configAggregatorId String
    ID of the resource.
    description String
    Aggregator description.
    name String
    Aggregator name.
    ownerUin String
    Creator UIN of the aggregator. Required by Describe/Update/Delete APIs. Create does not return it.
    type String
    Aggregator type. Valid values: RD (global aggregator), CUSTOM (custom aggregator).

    Supporting Types

    ConfigAggregatorAggregatorAccount, ConfigAggregatorAggregatorAccountArgs

    MemberName string
    Member account name.
    MemberUin double
    Member account ID.
    MemberName string
    Member account name.
    MemberUin float64
    Member account ID.
    member_name string
    Member account name.
    member_uin number
    Member account ID.
    memberName String
    Member account name.
    memberUin Double
    Member account ID.
    memberName string
    Member account name.
    memberUin number
    Member account ID.
    member_name str
    Member account name.
    member_uin float
    Member account ID.
    memberName String
    Member account name.
    memberUin Number
    Member account ID.

    Import

    Config aggregator can be imported using the composite id, e.g. account_group_id#owner_uin.

    $ pulumi import tencentcloud:index/configAggregator:ConfigAggregator example ca-xxxxxxxx#100012345678
    

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

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud
    Viewing docs for tencentcloud 1.83.41
    published on Friday, Nov 6, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial