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.
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)
public virtual PutConfigurationRecorderResponse PutConfigurationRecorder( PutConfigurationRecorderRequest request )
Container for the necessary parameters to execute the PutConfigurationRecorder service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5