import * as core from "@terrascript/core"; export interface AccountAggregationSourceArgs extends core.SchemaArgs { accountIds: core.Array | core.ArrayOut; allRegions?: boolean | core.BooleanOut; regions?: core.Array | core.ArrayOut; } export class AccountAggregationSource extends core.Schema { @core.attr(String, { kind: "array" }) public accountIds!: core.Array | core.ArrayOut; @core.attr(Boolean) public allRegions?: boolean | core.BooleanOut; @core.attr(String, { kind: "array" }) public regions?: core.Array | core.ArrayOut; } export interface OrganizationAggregationSourceArgs extends core.SchemaArgs { allRegions?: boolean | core.BooleanOut; regions?: core.Array | core.ArrayOut; roleArn: string | core.StringOut; } export class OrganizationAggregationSource extends core.Schema { @core.attr(Boolean) public allRegions?: boolean | core.BooleanOut; @core.attr(String, { kind: "array" }) public regions?: core.Array | core.ArrayOut; @core.attr(String) public roleArn!: string | core.StringOut; } export interface ConfigurationAggregatorArgs extends core.ResourceArgs { /** * (Optional) The account(s) to aggregate config data from as documented below. */ accountAggregationSource?: AccountAggregationSource; /** * (Required) The name of the configuration aggregator. */ name: string | core.StringOut; /** * (Optional) The organization to aggregate config data from as documented below. */ organizationAggregationSource?: OrganizationAggregationSource; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class ConfigurationAggregator extends core.Resource { /** * (Optional) The account(s) to aggregate config data from as documented below. */ @core.attr(AccountAggregationSource) public accountAggregationSource?: AccountAggregationSource; /** * The ARN of the aggregator */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the configuration aggregator. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) The organization to aggregate config data from as documented below. */ @core.attr(OrganizationAggregationSource) public organizationAggregationSource?: OrganizationAggregationSource; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: ConfigurationAggregatorArgs) { super(name, "aws_config_configuration_aggregator", args); } public override getNamespace(): string { return "aws_config"; } }