AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates a new configuration recorder to record the selected resource configurations.

You can use this action to change the role roleARN or the recordingGroup of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role.

Currently, you can specify only one configuration recorder per region in your account.

If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.


For .NET Core and PCL this operation is only available in asynchronous form. Please refer to PutConfigurationRecorderAsync.

Namespace: Amazon.ConfigService
Assembly: AWSSDK.ConfigService.dll
Version: 3.x.y.z


public virtual PutConfigurationRecorderResponse PutConfigurationRecorder(
         PutConfigurationRecorderRequest request
Type: Amazon.ConfigService.Model.PutConfigurationRecorderRequest

Container for the necessary parameters to execute the PutConfigurationRecorder service method.

Return Value
The response from the PutConfigurationRecorder service method, as returned by ConfigService.


InvalidConfigurationRecorderNameException You have provided a configuration recorder name that is not valid.
InvalidRecordingGroupException AWS Config throws an exception if the recording group does not contain a valid list of resource types. Invalid values might also be incorrectly formatted.
InvalidRoleException You have provided a null or empty role ARN.
MaxNumberOfConfigurationRecordersExceededException You have reached the limit of the number of recorders you can create.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also