API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see

We welcome your feedback on this new version of the documentation. Send your comments to


import ""

type ConfigurationRecorder struct { Name *string `locationName:"name" min:"1" type:"string"` RecordingGroup *RecordingGroup `locationName:"recordingGroup" type:"structure"` RoleARN *string `locationName:"roleARN" type:"string"` }

An object that represents the recording of configuration changes of an AWS resource.


Type: *string

The name of the recorder. By default, AWS Config automatically assigns the name "default" when creating the configuration recorder. You cannot change the assigned name.


Specifies the types of AWS resource for which AWS Config records configuration changes.

In the recording group, you specify whether all supported types or specific types of resources are recorded.

By default, AWS Config records configuration changes for all supported types of regional resources that AWS Config discovers in the region in which it is running. Regional resources are tied to a region and can be used only in that region. Examples of regional resources are EC2 instances and EBS volumes.

You can also have AWS Config record configuration changes for supported types of global resources (for example, IAM resources). Global resources are not tied to an individual region and can be used in all regions.

The configuration details for any global resource are the same in all regions. If you customize AWS Config in multiple regions to record global resources, it will create multiple configuration items each time a global resource changes: one configuration item for each region. These configuration items will contain identical data. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources, unless you want the configuration items to be available in multiple regions.

If you don't want AWS Config to record all resources, you can specify which types of resources it will record with the resourceTypes parameter.

For a list of supported resource types, see Supported Resource Types (

For more information, see Selecting Which Resources AWS Config Records (


Type: *string

Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.



func (s ConfigurationRecorder) GoString() string

GoString returns the string representation


func (s *ConfigurationRecorder) SetName(v string) *ConfigurationRecorder

SetName sets the Name field's value.


func (s *ConfigurationRecorder) SetRecordingGroup(v *RecordingGroup) *ConfigurationRecorder

SetRecordingGroup sets the RecordingGroup field's value.


func (s *ConfigurationRecorder) SetRoleARN(v string) *ConfigurationRecorder

SetRoleARN sets the RoleARN field's value.


func (s ConfigurationRecorder) String() string

String returns the string representation


func (s *ConfigurationRecorder) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: