published on Friday, Nov 6, 2026 by tencentcloudstack
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: CreateAggregator
- Read: DescribeAggregator
- Update: UpdateAggregator
- Delete: DeleteAggregators
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.
- 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<ConfigAggregator Aggregator Account> - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - Config
Aggregator stringId - 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 []ConfigAggregator Aggregator Account Args - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - Config
Aggregator stringId - 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
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - config_
aggregator_ stringid - 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<ConfigAggregator Aggregator Account> - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - config
Aggregator StringId - 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 ConfigAggregator Aggregator Account[] - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - config
Aggregator stringId - 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[ConfigAggregator Aggregator Account Args] - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - config_
aggregator_ strid - ID of the resource.
- name str
- 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<Property Map> - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - config
Aggregator StringId - 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:
- Account
Group stringId - Aggregator ID.
- Aggregator
Status double - Aggregator creation status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Account
Group stringId - Aggregator ID.
- Aggregator
Status float64 - Aggregator creation status.
- Id string
- The provider-assigned unique ID for this managed resource.
- account_
group_ stringid - Aggregator ID.
- aggregator_
status number - Aggregator creation status.
- id string
- The provider-assigned unique ID for this managed resource.
- account
Group StringId - Aggregator ID.
- aggregator
Status Double - Aggregator creation status.
- id String
- The provider-assigned unique ID for this managed resource.
- account
Group stringId - Aggregator ID.
- aggregator
Status number - Aggregator creation status.
- id string
- The provider-assigned unique ID for this managed resource.
- account_
group_ strid - Aggregator ID.
- aggregator_
status float - Aggregator creation status.
- id str
- The provider-assigned unique ID for this managed resource.
- account
Group StringId - Aggregator ID.
- aggregator
Status 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) -> ConfigAggregatorfunc 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.
- Account
Group stringId - Aggregator ID.
- Aggregator
Accounts List<ConfigAggregator Aggregator Account> - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - Aggregator
Status double - Aggregator creation status.
- Config
Aggregator stringId - 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).
- Account
Group stringId - Aggregator ID.
- Aggregator
Accounts []ConfigAggregator Aggregator Account Args - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - Aggregator
Status float64 - Aggregator creation status.
- Config
Aggregator stringId - 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).
- account_
group_ stringid - Aggregator ID.
- aggregator_
accounts list(object) - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - aggregator_
status number - Aggregator creation status.
- config_
aggregator_ stringid - 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).
- account
Group StringId - Aggregator ID.
- aggregator
Accounts List<ConfigAggregator Aggregator Account> - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - aggregator
Status Double - Aggregator creation status.
- config
Aggregator StringId - 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).
- account
Group stringId - Aggregator ID.
- aggregator
Accounts ConfigAggregator Aggregator Account[] - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - aggregator
Status number - Aggregator creation status.
- config
Aggregator stringId - 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).
- account_
group_ strid - Aggregator ID.
- aggregator_
accounts Sequence[ConfigAggregator Aggregator Account Args] - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - aggregator_
status float - Aggregator creation status.
- config_
aggregator_ strid - 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).
- account
Group StringId - Aggregator ID.
- aggregator
Accounts List<Property Map> - Member account list of the aggregator, up to 100 entries. Required when
typeisCUSTOM; forRD(global) aggregators the members are maintained by the cloud and returned here automatically. - aggregator
Status Number - Aggregator creation status.
- config
Aggregator StringId - 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).
Supporting Types
ConfigAggregatorAggregatorAccount, ConfigAggregatorAggregatorAccountArgs
- Member
Name string - Member account name.
- Member
Uin double - Member account ID.
- Member
Name string - Member account name.
- Member
Uin float64 - Member account ID.
- member_
name string - Member account name.
- member_
uin number - Member account ID.
- member
Name String - Member account name.
- member
Uin Double - Member account ID.
- member
Name string - Member account name.
- member
Uin number - Member account ID.
- member_
name str - Member account name.
- member_
uin float - Member account ID.
- member
Name String - Member account name.
- member
Uin 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
tencentcloudTerraform Provider.
published on Friday, Nov 6, 2026 by tencentcloudstack