Aggregator Args
data class AggregatorArgs(val aggregatorAccounts: Output<List<AggregatorAggregatorAccountArgs>>? = null, val aggregatorName: Output<String>? = null, val aggregatorType: Output<String>? = null, val description: Output<String>? = null) : ConvertibleToJava<AggregatorArgs>
Provides a Cloud Config Aggregator resource. For information about Cloud Config Aggregate Config Rule and how to use it, see What is Aggregator.
NOTE: Available in v1.124.0+.
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cfg.Aggregator;
import com.pulumi.alicloud.cfg.AggregatorArgs;
import com.pulumi.alicloud.cfg.inputs.AggregatorAggregatorAccountArgs;
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 Aggregator("example", AggregatorArgs.builder()
.aggregatorAccounts(AggregatorAggregatorAccountArgs.builder()
.accountId("123968452689****")
.accountName("tf-testacc1234")
.accountType("ResourceDirectory")
.build())
.aggregatorName("tf-testaccConfigAggregator1234")
.description("tf-testaccConfigAggregator1234")
.build());
}
}
Content copied to clipboard
Import
Cloud Config Aggregator can be imported using the id, e.g.
$ pulumi import alicloud:cfg/aggregator:Aggregator example <id>
Content copied to clipboard
Constructors
Link copied to clipboard
fun AggregatorArgs(aggregatorAccounts: Output<List<AggregatorAggregatorAccountArgs>>? = null, aggregatorName: Output<String>? = null, aggregatorType: Output<String>? = null, description: Output<String>? = null)