alicloud_config_aggregate_deliveries
更新时间:
This data source provides the Config Aggregate Deliveries of the current Alibaba Cloud user.
-> NOTE: Available since v1.172.0.
Example Usage
Basic Usage
data "alicloud_config_aggregate_deliveries" "ids" {
aggregator_id = "example_value"
ids = ["example_value-1", "example_value-2"]
}
output "config_aggregate_delivery_id_1" {
value = data.alicloud_config_aggregate_deliveries.ids.deliveries.0.id
}
Argument Reference
The following arguments are supported:
aggregator_id
- (Required, ForceNew) The ID of the Aggregator.ids
- (Optional, ForceNew, Computed) A list of Aggregate Delivery IDs.name_regex
- (Optional, ForceNew) A regex string to filter results by Aggregate Delivery name.output_file
- (Optional) File name where to save data source results (after runningterraform plan
).status
- (Optional, ForceNew) The status of the delivery method. Valid values:0
: The delivery method is disabled.1
: The delivery destination is enabled.
Attributes Reference
The following attributes are exported in addition to the arguments listed above:
names
- A list of Aggregate Delivery names.deliveries
- A list of Config Aggregate Deliveries. Each element contains the following attributes:account_id
- The Aliyun User Id.aggregator_id
- The ID of the Aggregator.configuration_item_change_notification
- Open or close delivery configuration change history.configuration_snapshot
- Open or close timed snapshot of shipping resources.delivery_channel_assume_role_arn
- The Alibaba Cloud Resource Name (ARN) of the role to be assumed by the delivery method.delivery_channel_condition
- The rule attached to the delivery method.delivery_channel_id
- The ID of the delivery method.delivery_channel_name
- The name of the delivery method.delivery_channel_target_arn
- The ARN of the delivery destination.delivery_channel_type
- The type of the delivery method.description
- The description of the delivery method.id
- The ID of the Aggregate Delivery.non_compliant_notification
- Open or close non-compliance events of delivery resources.oversized_data_oss_target_arn
- The oss ARN of the delivery channel when the value data oversized limit.status
- The status of the delivery method. Valid values:0
: The delivery method is disabled.1
: The delivery destination is enabled.
该文章对您有帮助吗?