AWS SDK Version 2 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.

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

You can use this action to change the role roleARN and/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 account.

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

Namespace: Amazon.ConfigService
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual PutConfigurationRecorderResponse PutConfigurationRecorder(
         PutConfigurationRecorderRequest request
)

Parameters

request
Type: Amazon.ConfigService.Model.PutConfigurationRecorderRequest

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

Return Value
Type: Amazon.ConfigService.Model.PutConfigurationRecorderResponse
The response from the PutConfigurationRecorder service method, as returned by ConfigService.

Exceptions

ExceptionCondition
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 could also be incorrectly formatted.
InvalidRoleException You have provided a null or empty role ARN.
MaxNumberOfConfigurationRecordersExceededException You have reached the limit on the number of recorders you can create.

Version Information

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