Skip to main content

Configuration Recorder

Manages an AWS ConfigConfiguration Recorder.

Sample code

exports.createResources = () => [
{
type: "ConfigurationRecorder",
group: "Config",
properties: ({ config }) => ({
name: "default",
recordingGroup: {
allSupported: true,
includeGlobalResourceTypes: false,
resourceTypes: [],
},
roleARN: `arn:aws:iam::${config.accountId()}:role/aws-service-role/config.amazonaws.com/AWSServiceRoleForConfig`,
}),
},
];

Properties

Dependencies

Used By

Full Examples

List

gc l -t Config::ConfigurationRecorder
Listing resources on 1 provider: aws
✓ aws us-east-1
✓ Initialising
✓ Listing 1/1
┌──────────────────────────────────────────────────────────────────────────────┐
│ 1 Config::ConfigurationRecorder from aws │
├──────────────────────────────────────────────────────────────────────────────┤
│ name: default │
│ managedByUs: NO │
│ live: │
│ name: default │
│ recordingGroup: │
│ allSupported: true │
│ includeGlobalResourceTypes: false │
│ resourceTypes: [] │
│ roleARN: arn:aws:iam::840541460064:role/aws-service-role/config.amazonaws… │
│ │
└──────────────────────────────────────────────────────────────────────────────┘


List Summary:
Provider: aws
┌─────────────────────────────────────────────────────────────────────────────┐
│ aws │
├───────────────────────────────┬─────────────────────────────────────────────┤
│ Config::ConfigurationRecorder │ default │
└───────────────────────────────┴─────────────────────────────────────────────┘
1 resource, 1 type, 1 provider
Command "gc l -t Config::ConfigurationRecorder" executed in 3s, 115 MB