BatchGetResourceConfig
Source:
src/AWS/Config/BatchGetResourceConfig.ts
Runtime binding for config:BatchGetResourceConfig — fetch the current
configuration item for up to 100 recorded resources identified by
resource keys. Keys the recorder has not discovered come back in
unprocessedResourceKeys.
Provide Config.BatchGetResourceConfigHttp on the hosting Lambda Function to
satisfy the requirement.
Reading Resource Configurations
Section titled “Reading Resource Configurations”// init — grants config:BatchGetResourceConfigconst batchGetResourceConfig = yield* AWS.Config.BatchGetResourceConfig();
// runtimeconst result = yield* batchGetResourceConfig({ resourceKeys: [ { resourceType: "AWS::S3::Bucket", resourceId: "my-bucket" }, ],});console.log(result.baseConfigurationItems);