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-recorders
command 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-recorder
command to delete your customer managed current configuration recorder:$ aws configservice delete-configuration-recorder --configuration-recorder-name
default
-
Use the
put-configuration-recorder
command 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-recorder
command to resume recording:$ aws configservice start-configuration-recorder --configuration-recorder-name
configRecorderName