Skip to main content

config_rules

Retrieves a list of config_rules in a region

Overview

Nameconfig_rules
TypeResource
Descriptionconfig_rules
Idawscc.config.config_rules

Fields

NameDatatypeDescription
config_rule_namestringA name for the CC rule. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the rule name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
config_rule_name
FROM awscc.config.config_rules
WHERE region = 'us-east-1'

Permissions

To operate on the config_rules resource, the following permissions are required:

Create

config:PutConfigRule,
config:DescribeConfigRules

List

config:DescribeConfigRules