Renaming the customer managed configuration recorder
You must use the AWS CLI to rename the customer managed configuration recorder. To change the name of the customer managed configuration recorder, you must delete it and create a new configuration recorder with your specified name.
Renaming the customer managed configuration recorder using the AWS CLI
-
Use the
describe-configuration-recorderscommand to look up the name of your current customer managed configuration recorder:$ aws configservice describe-configuration-recorders { "ConfigurationRecorders": [ { "roleARN": "arn:aws:iam::012345678912:role/myConfigRole", "name": "default" } ] } -
Use the
delete-configuration-recordercommand to delete your customer managed current configuration recorder:$ aws configservice delete-configuration-recorder --configuration-recorder-namedefault -
Use the
put-configuration-recordercommand to create a customer managed configuration recorder with the new name:$ aws configservice put-configuration-recorder --configuration-recorder name=configRecorderName,roleARN=arn:aws:iam::012345678912:role/myConfigRole -
Use the
start-configuration-recordercommand to resume recording:$ aws configservice start-configuration-recorder --configuration-recorder-nameconfigRecorderName