Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.cfg.getAggregateDeliveries
Explore with Pulumi AI
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.applyValue(getAggregateDeliveriesResult -> getAggregateDeliveriesResult.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 dictionary
The following arguments are supported:
- Aggregator
Id This property is required. Changes to this property will trigger replacement.
- The ID of the Aggregator.
- Ids
Changes to this property will trigger replacement.
- A list of Aggregate Delivery IDs.
- Name
Regex Changes to this property will trigger replacement.
- 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
Changes to this property will trigger replacement.
- The status of the delivery method. Valid values:
0
: The delivery method is disabled.1
: The delivery destination is enabled.
- Aggregator
Id This property is required. Changes to this property will trigger replacement.
- The ID of the Aggregator.
- Ids
Changes to this property will trigger replacement.
- A list of Aggregate Delivery IDs.
- Name
Regex Changes to this property will trigger replacement.
- 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
Changes to this property will trigger replacement.
- The status of the delivery method. Valid values:
0
: The delivery method is disabled.1
: The delivery destination is enabled.
- aggregator
Id This property is required. Changes to this property will trigger replacement.
- The ID of the Aggregator.
- ids
Changes to this property will trigger replacement.
- A list of Aggregate Delivery IDs.
- name
Regex Changes to this property will trigger replacement.
- 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
Changes to this property will trigger replacement.
- The status of the delivery method. Valid values:
0
: The delivery method is disabled.1
: The delivery destination is enabled.
- aggregator
Id This property is required. Changes to this property will trigger replacement.
- The ID of the Aggregator.
- ids
Changes to this property will trigger replacement.
- A list of Aggregate Delivery IDs.
- name
Regex Changes to this property will trigger replacement.
- 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
Changes to this property will trigger replacement.
- The status of the delivery method. Valid values:
0
: The delivery method is disabled.1
: The delivery destination is enabled.
- aggregator_
id This property is required. Changes to this property will trigger replacement.
- The ID of the Aggregator.
- ids
Changes to this property will trigger replacement.
- A list of Aggregate Delivery IDs.
- name_
regex Changes to this property will trigger replacement.
- 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
Changes to this property will trigger replacement.
- The status of the delivery method. Valid values:
0
: The delivery method is disabled.1
: The delivery destination is enabled.
- aggregator
Id This property is required. Changes to this property will trigger replacement.
- The ID of the Aggregator.
- ids
Changes to this property will trigger replacement.
- A list of Aggregate Delivery IDs.
- name
Regex Changes to this property will trigger replacement.
- 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
Changes to this property will trigger replacement.
- 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 This property is required. string - The Aliyun User Id.
- Aggregator
Id This property is required. string - The ID of the Aggregator.
- Configuration
Item Change Notification This property is required. bool - Open or close delivery configuration change history.
- Configuration
Snapshot This property is required. bool - Open or close timed snapshot of shipping resources.
- Delivery
Channel Assume Role Arn This property is required. string - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- Delivery
Channel Condition This property is required. string - The rule attached to the delivery method.
- Delivery
Channel Id This property is required. string - The ID of the delivery method.
- Delivery
Channel Name This property is required. string - The name of the delivery method.
- Delivery
Channel Target Arn This property is required. string - The ARN of the delivery destination.
- Delivery
Channel Type This property is required. string - The type of the delivery method.
- Description
This property is required. string - The description of the delivery method.
- Id
This property is required. string - The ID of the Aggregate Delivery.
- Non
Compliant Notification This property is required. bool - Open or close non-compliance events of delivery resources.
- Oversized
Data Oss Target Arn This property is required. string - The oss ARN of the delivery channel when the value data oversized limit.
- Status
This property is required. int - The status of the delivery method. Valid values:
0
: The delivery method is disabled.1
: The delivery destination is enabled.
- Account
Id This property is required. string - The Aliyun User Id.
- Aggregator
Id This property is required. string - The ID of the Aggregator.
- Configuration
Item Change Notification This property is required. bool - Open or close delivery configuration change history.
- Configuration
Snapshot This property is required. bool - Open or close timed snapshot of shipping resources.
- Delivery
Channel Assume Role Arn This property is required. string - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- Delivery
Channel Condition This property is required. string - The rule attached to the delivery method.
- Delivery
Channel Id This property is required. string - The ID of the delivery method.
- Delivery
Channel Name This property is required. string - The name of the delivery method.
- Delivery
Channel Target Arn This property is required. string - The ARN of the delivery destination.
- Delivery
Channel Type This property is required. string - The type of the delivery method.
- Description
This property is required. string - The description of the delivery method.
- Id
This property is required. string - The ID of the Aggregate Delivery.
- Non
Compliant Notification This property is required. bool - Open or close non-compliance events of delivery resources.
- Oversized
Data Oss Target Arn This property is required. string - The oss ARN of the delivery channel when the value data oversized limit.
- Status
This property is required. int - The status of the delivery method. Valid values:
0
: The delivery method is disabled.1
: The delivery destination is enabled.
- account
Id This property is required. String - The Aliyun User Id.
- aggregator
Id This property is required. String - The ID of the Aggregator.
- configuration
Item Change Notification This property is required. Boolean - Open or close delivery configuration change history.
- configuration
Snapshot This property is required. Boolean - Open or close timed snapshot of shipping resources.
- delivery
Channel Assume Role Arn This property is required. String - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- delivery
Channel Condition This property is required. String - The rule attached to the delivery method.
- delivery
Channel Id This property is required. String - The ID of the delivery method.
- delivery
Channel Name This property is required. String - The name of the delivery method.
- delivery
Channel Target Arn This property is required. String - The ARN of the delivery destination.
- delivery
Channel Type This property is required. String - The type of the delivery method.
- description
This property is required. String - The description of the delivery method.
- id
This property is required. String - The ID of the Aggregate Delivery.
- non
Compliant Notification This property is required. Boolean - Open or close non-compliance events of delivery resources.
- oversized
Data Oss Target Arn This property is required. String - The oss ARN of the delivery channel when the value data oversized limit.
- status
This property is required. Integer - The status of the delivery method. Valid values:
0
: The delivery method is disabled.1
: The delivery destination is enabled.
- account
Id This property is required. string - The Aliyun User Id.
- aggregator
Id This property is required. string - The ID of the Aggregator.
- configuration
Item Change Notification This property is required. boolean - Open or close delivery configuration change history.
- configuration
Snapshot This property is required. boolean - Open or close timed snapshot of shipping resources.
- delivery
Channel Assume Role Arn This property is required. string - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- delivery
Channel Condition This property is required. string - The rule attached to the delivery method.
- delivery
Channel Id This property is required. string - The ID of the delivery method.
- delivery
Channel Name This property is required. string - The name of the delivery method.
- delivery
Channel Target Arn This property is required. string - The ARN of the delivery destination.
- delivery
Channel Type This property is required. string - The type of the delivery method.
- description
This property is required. string - The description of the delivery method.
- id
This property is required. string - The ID of the Aggregate Delivery.
- non
Compliant Notification This property is required. boolean - Open or close non-compliance events of delivery resources.
- oversized
Data Oss Target Arn This property is required. string - The oss ARN of the delivery channel when the value data oversized limit.
- status
This property is required. number - The status of the delivery method. Valid values:
0
: The delivery method is disabled.1
: The delivery destination is enabled.
- account_
id This property is required. str - The Aliyun User Id.
- aggregator_
id This property is required. str - The ID of the Aggregator.
- configuration_
item_ change_ notification This property is required. bool - Open or close delivery configuration change history.
- configuration_
snapshot This property is required. bool - Open or close timed snapshot of shipping resources.
- delivery_
channel_ assume_ role_ arn This property is required. str - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- delivery_
channel_ condition This property is required. str - The rule attached to the delivery method.
- delivery_
channel_ id This property is required. str - The ID of the delivery method.
- delivery_
channel_ name This property is required. str - The name of the delivery method.
- delivery_
channel_ target_ arn This property is required. str - The ARN of the delivery destination.
- delivery_
channel_ type This property is required. str - The type of the delivery method.
- description
This property is required. str - The description of the delivery method.
- id
This property is required. str - The ID of the Aggregate Delivery.
- non_
compliant_ notification This property is required. bool - Open or close non-compliance events of delivery resources.
- oversized_
data_ oss_ target_ arn This property is required. str - The oss ARN of the delivery channel when the value data oversized limit.
- status
This property is required. int - The status of the delivery method. Valid values:
0
: The delivery method is disabled.1
: The delivery destination is enabled.
- account
Id This property is required. String - The Aliyun User Id.
- aggregator
Id This property is required. String - The ID of the Aggregator.
- configuration
Item Change Notification This property is required. Boolean - Open or close delivery configuration change history.
- configuration
Snapshot This property is required. Boolean - Open or close timed snapshot of shipping resources.
- delivery
Channel Assume Role Arn This property is required. String - The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.
- delivery
Channel Condition This property is required. String - The rule attached to the delivery method.
- delivery
Channel Id This property is required. String - The ID of the delivery method.
- delivery
Channel Name This property is required. String - The name of the delivery method.
- delivery
Channel Target Arn This property is required. String - The ARN of the delivery destination.
- delivery
Channel Type This property is required. String - The type of the delivery method.
- description
This property is required. String - The description of the delivery method.
- id
This property is required. String - The ID of the Aggregate Delivery.
- non
Compliant Notification This property is required. Boolean - Open or close non-compliance events of delivery resources.
- oversized
Data Oss Target Arn This property is required. String - The oss ARN of the delivery channel when the value data oversized limit.
- status
This property is required. 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
alicloud
Terraform Provider.