API overview

Updated at:

API standard and pre-built SDKs in multi-language

The OpenAPI specification of this product (Config/2019-01-08) follows the RPC standard. Alibaba Cloud provides pre-built SDKs for popular programming languages to abstract low-level complexities such as request signing. This enables developers to call APIs using language-specific syntax without dealing with HTTP details directly.

Custom signature

If your specific needs, such as a customized signature, are not supported by the SDK, manually sign requests using the signature mechanism. Note that manual signing requires significant effort (usually about 5 business days). For support, join our DingTalk group (ID: 147535001692).

Before you begin

An Alibaba Cloud account has full administrative privileges. A compromised AccessKey pair exposes all associated resources to unauthorized access, posing a significant security risk. To call APIs securely, create a Resource Access Management (RAM) user with API access only, configure its AccessKey pairs, and implement the principle of least privilege (PoLP) through RAM policies. Use the Alibaba Cloud account only when its permissions are explicitly required for specific scenarios.

Resources

API

Title

Description

GetDiscoveredResourceCounts GetDiscoveredResourceCounts Queries the counts of discovered resources in the current account.
ListDiscoveredResources ListDiscoveredResources Queries the list of resources for the current account.
DescribeDiscoveredResource DescribeDiscoveredResource Queries the configuration of a resource.
GetResourceComplianceTimeline GetResourceComplianceTimeline Queries the compliance evaluation timeline for a specified resource.
GetResourceConfigurationTimeline GetResourceConfigurationTimeline Queries the configuration history of a specified resource.
GetDiscoveredResourceSummary GetDiscoveredResourceSummary Queries a summary of monitored resources.
GetSupportedResourceTypes GetSupportedResourceTypes Queries all resource types supported by CloudConfig.

Rules

API

Title

Description

DeleteConfigRules DeleteConfigRules Deletes multiple rules at a time.
StartConfigRuleEvaluation StartConfigRuleEvaluation Re-evaluates the compliance of resources based on a rule or compliance package.
StopConfigRules StopConfigRules Disables multiple rules at a time so that the rules enter the INACTIVE state.
ListConfigRules ListConfigRules Queries the rules for the current account.
DescribeEvaluationResults DescribeEvaluationResults Queries the evaluation results of a rule.
DescribeCompliance DescribeCompliance Queries the statistics of compliance evaluation results.
DescribeComplianceSummary DescribeComplianceSummary Queries the summary of compliance evaluations of the current Alibaba Cloud account.
DescribeConfigRule DescribeConfigRule Queries the details of a rule.
PutConfigRule PutConfigRule Creates or modifies a rule for the current account.
PutEvaluations PutEvaluations Submits the compliance evaluation results.
ActiveConfigRules ActiveConfigRules Enables multiple rules at once, changing their status to "Active".

Resource Monitoring Scope

API

Title

Description

StartConfigurationRecorder StartConfigurationRecorder Sets the resource monitoring scope for the current account.
DescribeConfigurationRecorder DescribeConfigurationRecorder Queries the configured scope for resource monitoring.
PutConfigurationRecorder PutConfigurationRecorder Adds or modifies the resource types that are monitored.

Delivery channels

API

Title

Description

DescribeDeliveryChannels DescribeDeliveryChannels Queries information about configured delivery channels.
PutDeliveryChannel PutDeliveryChannel Creates or updates a delivery channel for your account.

Others

API

Title

Description

GetAggregateDiscoveredResource GetAggregateDiscoveredResource Queries the details of a resource in an account group.
ListAggregateDiscoveredResources ListAggregateDiscoveredResources Queries a list of resources in an account group.