amazonka-config-2.0: Amazon Config SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Config.Types.ConfigurationRecorder

Description

 
Synopsis

Documentation

data ConfigurationRecorder Source #

An object that represents the recording of configuration changes of an Amazon Web Services resource.

See: newConfigurationRecorder smart constructor.

Constructors

ConfigurationRecorder' 

Fields

  • name :: Maybe Text

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

  • recordingGroup :: Maybe RecordingGroup

    Specifies the types of Amazon Web Services resources for which Config records configuration changes.

  • roleARN :: Maybe Text

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

    While the API model does not require this field, the server will reject a request without a defined roleARN for the configuration recorder.

Instances

Instances details
FromJSON ConfigurationRecorder Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationRecorder

ToJSON ConfigurationRecorder Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationRecorder

Generic ConfigurationRecorder Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationRecorder

Associated Types

type Rep ConfigurationRecorder :: Type -> Type #

Read ConfigurationRecorder Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationRecorder

Show ConfigurationRecorder Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationRecorder

NFData ConfigurationRecorder Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationRecorder

Methods

rnf :: ConfigurationRecorder -> () #

Eq ConfigurationRecorder Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationRecorder

Hashable ConfigurationRecorder Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationRecorder

type Rep ConfigurationRecorder Source # 
Instance details

Defined in Amazonka.Config.Types.ConfigurationRecorder

type Rep ConfigurationRecorder = D1 ('MetaData "ConfigurationRecorder" "Amazonka.Config.Types.ConfigurationRecorder" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "ConfigurationRecorder'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "recordingGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecordingGroup)) :*: S1 ('MetaSel ('Just "roleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newConfigurationRecorder :: ConfigurationRecorder Source #

Create a value of ConfigurationRecorder with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:ConfigurationRecorder', configurationRecorder_name - The name of the recorder. By default, Config automatically assigns the name "default" when creating the configuration recorder. You cannot change the assigned name.

$sel:recordingGroup:ConfigurationRecorder', configurationRecorder_recordingGroup - Specifies the types of Amazon Web Services resources for which Config records configuration changes.

$sel:roleARN:ConfigurationRecorder', configurationRecorder_roleARN - Amazon Resource Name (ARN) of the IAM role used to describe the Amazon Web Services resources associated with the account.

While the API model does not require this field, the server will reject a request without a defined roleARN for the configuration recorder.

configurationRecorder_name :: Lens' ConfigurationRecorder (Maybe Text) Source #

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

configurationRecorder_recordingGroup :: Lens' ConfigurationRecorder (Maybe RecordingGroup) Source #

Specifies the types of Amazon Web Services resources for which Config records configuration changes.

configurationRecorder_roleARN :: Lens' ConfigurationRecorder (Maybe Text) Source #

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

While the API model does not require this field, the server will reject a request without a defined roleARN for the configuration recorder.