Renaming the Delivery Channel
To change the delivery channel name, you must delete it and create a new delivery channel with your specified name. Before you can delete the delivery channel, you must temporarily stop the configuration recorder. The Amazon Config console does not provide the option to delete the delivery channel. You must use the Amazon CLI, the Amazon Config API, or one of the Amazon SDKs.
Renaming the delivery channel using the Amazon CLI
-
Use the
stop-configuration-recordercommand to stop the configuration recorder:$ aws configservice stop-configuration-recorder --configuration-recorder-nameconfigRecorderName -
Use the
describe-delivery-channelscommand, and take note of your delivery channel's attributes:$ aws configservice describe-delivery-channels { "DeliveryChannels": [ { "configSnapshotDeliveryProperties": { "deliveryFrequency": "Twelve_Hours" }, "snsTopicARN": "arn:aws:sns:us-east-2:123456789012:config-topic", "name": "default", "s3BucketName": "config-bucket-123456789012" } ] } -
Use the
delete-delivery-channelcommand to delete the delivery channel:$ aws configservice delete-delivery-channel --delivery-channel-namedefault -
Use the
put-delivery-channelcommand to create a delivery channel with the desired name:$ aws configservice put-delivery-channel --delivery-channel file://deliveryChannel.jsonThe deliveryChannel.json file specifies the delivery channel attributes:
{ "name": "myCustomDeliveryChannelName", "s3BucketName": "config-bucket-123456789012", "snsTopicARN": "arn:aws:sns:us-east-2:123456789012:config-topic", "configSnapshotDeliveryProperties": { "deliveryFrequency": "Twelve_Hours" } } -
Use the
start-configuration-recordercommand to resume recording:$ aws configservice start-configuration-recorder --configuration-recorder-nameconfigRecorderName