A Config rule that checks if X-Ray tracing is enabled on Amazon API Gateway REST APIs. The rule will return COMPLIANT if X-Ray tracing is enabled, NON_COMPLIANT otherwise.
AWS DocumentationAWSTemplateFormatVersion: "2010-09-09"
Description: ""
Resources:
ConfigRule:
Type: "AWS::Config::ConfigRule"
Properties:
ConfigRuleName: "api-gw-xray-enabled"
Scope:
ComplianceResourceTypes:
- "AWS::ApiGateway::Stage"
Description: "A Config rule that checks if X-Ray tracing is enabled on Amazon API Gateway REST APIs. The rule will return COMPLIANT if X-Ray tracing is enabled, NON_COMPLIANT otherwise."
Source:
Owner: "AWS"
SourceIdentifier: "API_GW_XRAY_ENABLED"
Parameters: {}
Metadata: {}
Conditions: {}