Alibaba Cloud v3.88.0 published on Saturday, Nov 1, 2025 by Pulumi
alicloud.cfg.getAggregateDeliveries
Start a Neo task
Explain and create an alicloud.cfg.getAggregateDeliveries resource
This data source provides the Config Aggregate Deliveries of the current Alibaba Cloud user.
NOTE: Available since v1.172.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.cfg.getAggregateDeliveries({
aggregatorId: "example_value",
ids: [
"example_value-1",
"example_value-2",
],
});
export const configAggregateDeliveryId1 = ids.then(ids => ids.deliveries?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.cfg.get_aggregate_deliveries(aggregator_id="example_value",
ids=[
"example_value-1",
"example_value-2",
])
pulumi.export("configAggregateDeliveryId1", ids.deliveries[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cfg"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ids, err := cfg.GetAggregateDeliveries(ctx, &cfg.GetAggregateDeliveriesArgs{
AggregatorId: "example_value",
Ids: []string{
"example_value-1",
"example_value-2",
},
}, nil)
if err != nil {
return err
}
ctx.Export("configAggregateDeliveryId1", ids.Deliveries[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.Cfg.GetAggregateDeliveries.Invoke(new()
{
AggregatorId = "example_value",
Ids = new[]
{
"example_value-1",
"example_value-2",
},
});
return new Dictionary<string, object?>
{
["configAggregateDeliveryId1"] = ids.Apply(getAggregateDeliveriesResult => getAggregateDeliveriesResult.Deliveries[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cfg.CfgFunctions;
import com.pulumi.alicloud.cfg.inputs.GetAggregateDeliveriesArgs;
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) {
final var ids = CfgFunctions.getAggregateDeliveries(GetAggregateDeliveriesArgs.builder()
.aggregatorId("example_value")
.ids(
"example_value-1",
"example_value-2")
.build());
ctx.export("configAggregateDeliveryId1", ids.deliveries()[0].id());
}
}
variables:
ids:
fn::invoke:
function: alicloud:cfg:getAggregateDeliveries
arguments:
aggregatorId: example_value
ids:
- example_value-1
- example_value-2
outputs:
configAggregateDeliveryId1: ${ids.deliveries[0].id}
Using getAggregateDeliveries
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAggregateDeliveries(args: GetAggregateDeliveriesArgs, opts?: InvokeOptions): Promise<GetAggregateDeliveriesResult>
function getAggregateDeliveriesOutput(args: GetAggregateDeliveriesOutputArgs, opts?: InvokeOptions): Output<GetAggregateDeliveriesResult>def get_aggregate_deliveries(aggregator_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
status: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetAggregateDeliveriesResult
def get_aggregate_deliveries_output(aggregator_id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAggregateDeliveriesResult]func GetAggregateDeliveries(ctx *Context, args *GetAggregateDeliveriesArgs, opts ...InvokeOption) (*GetAggregateDeliveriesResult, error)
func GetAggregateDeliveriesOutput(ctx *Context, args *GetAggregateDeliveriesOutputArgs, opts ...InvokeOption) GetAggregateDeliveriesResultOutput> Note: This function is named GetAggregateDeliveries in the Go SDK.
public static class GetAggregateDeliveries
{
public static Task<GetAggregateDeliveriesResult> InvokeAsync(GetAggregateDeliveriesArgs args, InvokeOptions? opts = null)
public static Output<GetAggregateDeliveriesResult> Invoke(GetAggregateDeliveriesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAggregateDeliveriesResult> getAggregateDeliveries(GetAggregateDeliveriesArgs args, InvokeOptions options)
public static Output<GetAggregateDeliveriesResult> getAggregateDeliveries(GetAggregateDeliveriesArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:cfg/getAggregateDeliveries:getAggregateDeliveries
arguments:
# arguments dictionaryThe following arguments are supported:
- Aggregator
Id string - The ID of the Aggregator.
- Ids List<string>
- A list of Aggregate Delivery IDs.
- Name
Regex string - A regex string to filter results by Aggregate Delivery name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status int
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- Aggregator
Id string - The ID of the Aggregator.
- Ids []string
- A list of Aggregate Delivery IDs.
- Name
Regex string - A regex string to filter results by Aggregate Delivery name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status int
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- aggregator
Id String - The ID of the Aggregator.
- ids List<String>
- A list of Aggregate Delivery IDs.
- name
Regex String - A regex string to filter results by Aggregate Delivery name.
- output
File String - File name where to save data source results (after running
pulumi preview). - status Integer
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- aggregator
Id string - The ID of the Aggregator.
- ids string[]
- A list of Aggregate Delivery IDs.
- name
Regex string - A regex string to filter results by Aggregate Delivery name.
- output
File string - File name where to save data source results (after running
pulumi preview). - status number
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- aggregator_
id str - The ID of the Aggregator.
- ids Sequence[str]
- A list of Aggregate Delivery IDs.
- name_
regex str - A regex string to filter results by Aggregate Delivery name.
- output_
file str - File name where to save data source results (after running
pulumi preview). - status int
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- aggregator
Id String - The ID of the Aggregator.
- ids List<String>
- A list of Aggregate Delivery IDs.
- name
Regex String - A regex string to filter results by Aggregate Delivery name.
- output
File String - File name where to save data source results (after running
pulumi preview). - status Number
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
getAggregateDeliveries Result
The following output properties are available:
- Aggregator
Id string - The ID of the Aggregator.
- Deliveries
List<Pulumi.
Ali Cloud. Cfg. Outputs. Get Aggregate Deliveries Delivery> - A list of Config Aggregate Deliveries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- A list of Aggregate Delivery names.
- Name
Regex string - Output
File string - Status int
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- Aggregator
Id string - The ID of the Aggregator.
- Deliveries
[]Get
Aggregate Deliveries Delivery - A list of Config Aggregate Deliveries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- A list of Aggregate Delivery names.
- Name
Regex string - Output
File string - Status int
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- aggregator
Id String - The ID of the Aggregator.
- deliveries
List<Get
Aggregate Deliveries Delivery> - A list of Config Aggregate Deliveries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- A list of Aggregate Delivery names.
- name
Regex String - output
File String - status Integer
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- aggregator
Id string - The ID of the Aggregator.
- deliveries
Get
Aggregate Deliveries Delivery[] - A list of Config Aggregate Deliveries. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- A list of Aggregate Delivery names.
- name
Regex string - output
File string - status number
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- aggregator_
id str - The ID of the Aggregator.
- deliveries
Sequence[Get
Aggregate Deliveries Delivery] - A list of Config Aggregate Deliveries. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- A list of Aggregate Delivery names.
- name_
regex str - output_
file str - status int
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- aggregator
Id String - The ID of the Aggregator.
- deliveries List<Property Map>
- A list of Config Aggregate Deliveries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- A list of Aggregate Delivery names.
- name
Regex String - output
File String - status Number
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
Supporting Types
GetAggregateDeliveriesDelivery
- Account
Id string - The Aliyun User Id.
- Aggregator
Id string - The ID of the Aggregator.
- Configuration
Item boolChange Notification - Open or close delivery configuration change history.
- Configuration
Snapshot bool - Open or close timed snapshot of shipping resources.
- Delivery
Channel stringAssume Role Arn - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- Delivery
Channel stringCondition - The rule attached to the delivery method.
- Delivery
Channel stringId - The ID of the delivery method.
- Delivery
Channel stringName - The name of the delivery method.
- Delivery
Channel stringTarget Arn - The ARN of the delivery destination.
- Delivery
Channel stringType - The type of the delivery method.
- Description string
- The description of the delivery method.
- Id string
- The ID of the Aggregate Delivery.
- Non
Compliant boolNotification - Open or close non-compliance events of delivery resources.
- Oversized
Data stringOss Target Arn - The oss ARN of the delivery channel when the value data oversized limit.
- Status int
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- Account
Id string - The Aliyun User Id.
- Aggregator
Id string - The ID of the Aggregator.
- Configuration
Item boolChange Notification - Open or close delivery configuration change history.
- Configuration
Snapshot bool - Open or close timed snapshot of shipping resources.
- Delivery
Channel stringAssume Role Arn - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- Delivery
Channel stringCondition - The rule attached to the delivery method.
- Delivery
Channel stringId - The ID of the delivery method.
- Delivery
Channel stringName - The name of the delivery method.
- Delivery
Channel stringTarget Arn - The ARN of the delivery destination.
- Delivery
Channel stringType - The type of the delivery method.
- Description string
- The description of the delivery method.
- Id string
- The ID of the Aggregate Delivery.
- Non
Compliant boolNotification - Open or close non-compliance events of delivery resources.
- Oversized
Data stringOss Target Arn - The oss ARN of the delivery channel when the value data oversized limit.
- Status int
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- account
Id String - The Aliyun User Id.
- aggregator
Id String - The ID of the Aggregator.
- configuration
Item BooleanChange Notification - Open or close delivery configuration change history.
- configuration
Snapshot Boolean - Open or close timed snapshot of shipping resources.
- delivery
Channel StringAssume Role Arn - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- delivery
Channel StringCondition - The rule attached to the delivery method.
- delivery
Channel StringId - The ID of the delivery method.
- delivery
Channel StringName - The name of the delivery method.
- delivery
Channel StringTarget Arn - The ARN of the delivery destination.
- delivery
Channel StringType - The type of the delivery method.
- description String
- The description of the delivery method.
- id String
- The ID of the Aggregate Delivery.
- non
Compliant BooleanNotification - Open or close non-compliance events of delivery resources.
- oversized
Data StringOss Target Arn - The oss ARN of the delivery channel when the value data oversized limit.
- status Integer
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- account
Id string - The Aliyun User Id.
- aggregator
Id string - The ID of the Aggregator.
- configuration
Item booleanChange Notification - Open or close delivery configuration change history.
- configuration
Snapshot boolean - Open or close timed snapshot of shipping resources.
- delivery
Channel stringAssume Role Arn - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- delivery
Channel stringCondition - The rule attached to the delivery method.
- delivery
Channel stringId - The ID of the delivery method.
- delivery
Channel stringName - The name of the delivery method.
- delivery
Channel stringTarget Arn - The ARN of the delivery destination.
- delivery
Channel stringType - The type of the delivery method.
- description string
- The description of the delivery method.
- id string
- The ID of the Aggregate Delivery.
- non
Compliant booleanNotification - Open or close non-compliance events of delivery resources.
- oversized
Data stringOss Target Arn - The oss ARN of the delivery channel when the value data oversized limit.
- status number
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- account_
id str - The Aliyun User Id.
- aggregator_
id str - The ID of the Aggregator.
- configuration_
item_ boolchange_ notification - Open or close delivery configuration change history.
- configuration_
snapshot bool - Open or close timed snapshot of shipping resources.
- delivery_
channel_ strassume_ role_ arn - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- delivery_
channel_ strcondition - The rule attached to the delivery method.
- delivery_
channel_ strid - The ID of the delivery method.
- delivery_
channel_ strname - The name of the delivery method.
- delivery_
channel_ strtarget_ arn - The ARN of the delivery destination.
- delivery_
channel_ strtype - The type of the delivery method.
- description str
- The description of the delivery method.
- id str
- The ID of the Aggregate Delivery.
- non_
compliant_ boolnotification - Open or close non-compliance events of delivery resources.
- oversized_
data_ stross_ target_ arn - The oss ARN of the delivery channel when the value data oversized limit.
- status int
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
- account
Id String - The Aliyun User Id.
- aggregator
Id String - The ID of the Aggregator.
- configuration
Item BooleanChange Notification - Open or close delivery configuration change history.
- configuration
Snapshot Boolean - Open or close timed snapshot of shipping resources.
- delivery
Channel StringAssume Role Arn - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- delivery
Channel StringCondition - The rule attached to the delivery method.
- delivery
Channel StringId - The ID of the delivery method.
- delivery
Channel StringName - The name of the delivery method.
- delivery
Channel StringTarget Arn - The ARN of the delivery destination.
- delivery
Channel StringType - The type of the delivery method.
- description String
- The description of the delivery method.
- id String
- The ID of the Aggregate Delivery.
- non
Compliant BooleanNotification - Open or close non-compliance events of delivery resources.
- oversized
Data StringOss Target Arn - The oss ARN of the delivery channel when the value data oversized limit.
- status Number
- The status of the delivery method. Valid values:
0: The delivery method is disabled.1: The delivery destination is enabled.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
