Queries the details of a specified delivery channel.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:GetConfigDeliveryChannel |
get |
*Delivery
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DeliveryChannelId |
string |
Yes |
The ID of the delivery channel. For more information about how to obtain the ID of a delivery channel, see ListConfigDeliveryChannels. |
cdc-d9106457e0d900b1**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
None. |
||
| DeliveryChannel |
object |
The information about the delivery channel. |
|
| Status |
integer |
The status of the delivery channel. Valid values:
|
1 |
| DeliveryChannelId |
string |
The ID of the delivery channel. |
cdc-d9106457e0d900b1**** |
| DeliveryChannelName |
string |
The name of the delivery channel. |
myDeliveryChannel |
| DeliveryChannelType |
string |
The type of the delivery channel. Valid values:
|
OSS |
| DeliveryChannelTargetArn |
string |
The Alibaba Cloud Resource Name (ARN) of the delivery destination.
|
acs:oss:cn-shanghai:120886317861****:new-bucket |
| DeliveryChannelAssumeRoleArn |
string |
The ARN of the role that is assumed by the delivery channel. |
acs:ram::120886317861****:role/aliyunserviceroleforconfig |
| DeliveryChannelCondition |
string |
The rule that is attached to the delivery channel. This parameter is available only for delivery channels of the MNS type and for snapshot deliveries to delivery channels of the SLS type.
|
[{"filterType":"ResourceType","values":["ACS::ActionTrail::Trail","ACS::CBWP::CommonBandwidthPackage","ACS::CDN::Domain","ACS::CEN::CenBandwidthPackage","ACS::CEN::CenInstance","ACS::CEN::Flowlog","ACS::DdosCoo::Instance"],"multiple":true}] |
| OversizedDataOSSTargetArn |
string |
The ARN of the OSS bucket to which the delivered data is transferred when the size of the data exceeds the limit of the delivery channel. |
acs:oss:cn-shanghai:100931896542****:new-bucket |
| Description |
string |
The description of the delivery channel. |
My OSS delivery. |
| ConfigurationSnapshot |
boolean |
Indicates whether to deliver scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS or SLS at
|
false |
| CompliantSnapshot |
boolean |
Indicates whether to deliver compliance snapshots. Cloud Config delivers compliance and non-compliance information of resources to SLS. Valid values:
|
false |
| ConfigurationItemChangeNotification |
boolean |
Indicates whether to deliver resource configuration changes. When the configuration of a resource changes, Cloud Config delivers the resource configuration changes to OSS, SLS, or MNS. Valid values:
|
true |
| NonCompliantNotification |
boolean |
Indicates whether to deliver resource non-compliance events. When a resource is evaluated as non-compliant, Cloud Config delivers the non-compliance events to SLS or MNS. Valid values:
|
false |
| AccountId |
integer |
The ID of the current Alibaba Cloud account. |
120886317861**** |
| DeliverySnapshotTime |
string |
The time when Cloud Config starts to deliver scheduled resource snapshots every day. The time is in the |
09:10Z |
| RequestId |
string |
The request ID. |
DC300244-FCE3-5061-8214-C27ECB668487 |
Examples
Success response
JSON format
{
"DeliveryChannel": {
"Status": 1,
"DeliveryChannelId": "cdc-d9106457e0d900b1****",
"DeliveryChannelName": "myDeliveryChannel",
"DeliveryChannelType": "OSS",
"DeliveryChannelTargetArn": "acs:oss:cn-shanghai:120886317861****:new-bucket",
"DeliveryChannelAssumeRoleArn": "acs:ram::120886317861****:role/aliyunserviceroleforconfig",
"DeliveryChannelCondition": "[{\"filterType\":\"ResourceType\",\"values\":[\"ACS::ActionTrail::Trail\",\"ACS::CBWP::CommonBandwidthPackage\",\"ACS::CDN::Domain\",\"ACS::CEN::CenBandwidthPackage\",\"ACS::CEN::CenInstance\",\"ACS::CEN::Flowlog\",\"ACS::DdosCoo::Instance\"],\"multiple\":true}]",
"OversizedDataOSSTargetArn": "acs:oss:cn-shanghai:100931896542****:new-bucket",
"Description": "My OSS delivery.",
"ConfigurationSnapshot": false,
"CompliantSnapshot": false,
"ConfigurationItemChangeNotification": true,
"NonCompliantNotification": false,
"AccountId": 0,
"DeliverySnapshotTime": "09:10Z"
},
"RequestId": "DC300244-FCE3-5061-8214-C27ECB668487"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DeliveryChannelNotExists | The delivery channel does not exist. | The delivery channel does not exist. |
| 404 | AccountNotExisted | Your account does not exist. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | The request has failed due to a temporary failure of the server. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.