amazonka-cloudtrail-2.0: Amazon CloudTrail 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.CloudTrail.Types.SourceConfig

Description

 
Synopsis

Documentation

data SourceConfig Source #

Contains configuration information about the channel.

See: newSourceConfig smart constructor.

Constructors

SourceConfig' 

Fields

Instances

Instances details
FromJSON SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

Generic SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

Associated Types

type Rep SourceConfig :: Type -> Type #

Read SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

Show SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

NFData SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

Methods

rnf :: SourceConfig -> () #

Eq SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

Hashable SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

type Rep SourceConfig Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.SourceConfig

type Rep SourceConfig = D1 ('MetaData "SourceConfig" "Amazonka.CloudTrail.Types.SourceConfig" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "SourceConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: S1 ('MetaSel ('Just "applyToAllRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newSourceConfig :: SourceConfig Source #

Create a value of SourceConfig 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:advancedEventSelectors:SourceConfig', sourceConfig_advancedEventSelectors - The advanced event selectors that are configured for the channel.

$sel:applyToAllRegions:SourceConfig', sourceConfig_applyToAllRegions - Specifies whether the channel applies to a single region or to all regions.

sourceConfig_advancedEventSelectors :: Lens' SourceConfig (Maybe [AdvancedEventSelector]) Source #

The advanced event selectors that are configured for the channel.

sourceConfig_applyToAllRegions :: Lens' SourceConfig (Maybe Bool) Source #

Specifies whether the channel applies to a single region or to all regions.