DeliveryChannel
Source:
src/AWS/Config/DeliveryChannel.ts
The AWS Config delivery channel that delivers configuration snapshots and configuration history to an S3 bucket (and optionally notifies an SNS topic).
AWS allows only one delivery channel per account per region — treat
this resource as an account-region singleton. A configuration recorder
must exist before the channel can be created (see
AWS.Config.ConfigurationRecorder).
Creating the Channel
Section titled “Creating the Channel”Deliver configuration history to S3
import * as Config from "alchemy/AWS/Config";
const channel = yield* Config.DeliveryChannel("Channel", { s3BucketName: bucket.bucketName,});Periodic snapshots with a key prefix
const channel = yield* Config.DeliveryChannel("Channel", { s3BucketName: bucket.bucketName, s3KeyPrefix: "config", snapshotDeliveryFrequency: "TwentyFour_Hours",});