Skip to content

AggregatorProps

Properties for defining a Aggregator.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-config-aggregator

Initializer

import com.aliyun.ros.cdk.config.AggregatorProps;
AggregatorProps.builder()
    .aggregatorName(java.lang.String)
    .aggregatorName(IResolvable)
    .description(java.lang.String)
    .description(IResolvable)
//  .aggregatorAccounts(IResolvable)
//  .aggregatorAccounts(java.util.List<IResolvable)
//  .aggregatorAccounts(AggregatorAccountsProperty>)
//  .aggregatorType(java.lang.String)
//  .aggregatorType(IResolvable)
//  .folderId(java.lang.String)
//  .folderId(IResolvable)
    .build();

Properties

Name Type Description
aggregatorName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property aggregatorName: The name of aggregator.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of aggregator.
aggregatorAccounts com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAggregatorAccountsProperty> Property aggregatorAccounts: The member account in aggregator.When the AggregatorType is RD, this parameter can be empty, which means that all accounts in the resource directory will be added to the global account group.When the AggregatorType is FOLDER, this parameter can be empty,which means that all accounts in the resource folder will be added to the global account group.
aggregatorType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property aggregatorType: Account group type.
folderId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property folderId: The ID of the attached folder.

aggregatorNameRequired

public java.lang.Object getAggregatorName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property aggregatorName: The name of aggregator.


descriptionRequired

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of aggregator.


aggregatorAccountsOptional

public java.lang.Object getAggregatorAccounts();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAggregatorAccountsProperty>

Property aggregatorAccounts: The member account in aggregator.When the AggregatorType is RD, this parameter can be empty, which means that all accounts in the resource directory will be added to the global account group.When the AggregatorType is FOLDER, this parameter can be empty,which means that all accounts in the resource folder will be added to the global account group.


aggregatorTypeOptional

public java.lang.Object getAggregatorType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property aggregatorType: Account group type.

Value: RD: Global account group. CUSTOM: Custom account group (default value). FOLDER: Folder account group. Must set FolderId if the AggregatorType is FOLDER. Please refer to ListAccounts for accessing FolderId.


folderIdOptional

public java.lang.Object getFolderId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property folderId: The ID of the attached folder.

You can specify multiple folder IDs. Separate the IDs with commas (,). This parameter is required if you set AggregatorType to FOLDER.