Queries the information about 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 delivery channel ID. You can call ListConfigDeliveryChannels to obtain the ID. If no delivery channel exists, prepare the required OSS, SLS, or MNS destination resources and the required RAM service-linked role, and then call CreateConfigDeliveryChannel to create a delivery channel and obtain the DeliveryChannelId. |
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 settings. Valid values:
|
1 |
| DeliveryChannelId |
string |
The delivery channel ID. |
cdc-d9106457e0d900b1**** |
| DeliveryChannelName |
string |
The delivery channel name. |
myDeliveryChannel |
| DeliveryChannelType |
string |
The delivery channel type. Valid values:
|
OSS |
| DeliveryChannelTargetArn |
string |
The Alibaba Cloud Resource Name (ARN) of the delivery channel destination.
|
acs:oss:cn-shanghai:120886317861****:new-bucket |
| DeliveryChannelAssumeRoleArn |
string |
The ARN of the role assumed by the delivery channel. |
acs:ram::120886317861****:role/aliyunserviceroleforconfig |
| DeliveryChannelCondition |
string |
The rule attached to the delivery channel. This parameter supports all deliveries for the MNS channel and snapshot deliveries for the SLS channel.
|
[{"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 delivery data is transferred when the data size exceeds the delivery channel limit. |
acs:oss:cn-shanghai:100931896542****:new-bucket |
| Description |
string |
The description of the delivery channel. |
My OSS delivery. |
| ConfigurationSnapshot |
boolean |
Indicates whether scheduled resource snapshots are received. Cloud Config delivers scheduled resource snapshots to OSS or SLS at
|
false |
| CompliantSnapshot |
boolean |
Indicates whether compliance snapshots are received. Cloud Config delivers resource compliance and non-compliance information to SLS. Valid values:
|
false |
| ConfigurationItemChangeNotification |
boolean |
Indicates whether resource configuration history is accepted. When a resource configuration changes, Cloud Config delivers the resource configuration history to OSS, SLS, or Simple Message Queue (formerly MNS). Valid values:
|
true |
| NonCompliantNotification |
boolean |
Indicates whether resource non-compliance events are accepted. When a resource is non-compliant, Cloud Config delivers the resource non-compliance event to SLS or Simple Message Queue (formerly MNS). Valid values:
|
false |
| AccountId |
integer |
The current Alibaba Cloud account ID. |
120886317861**** |
| DeliverySnapshotTime |
string |
The time when the scheduled resource snapshot delivery starts each day. Format: |
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.