amazonka-securitylake-2.0: Amazon Security Lake 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.SecurityLake.Types.AccountSources

Description

 
Synopsis

Documentation

data AccountSources Source #

Amazon Security Lake collects logs and events from supported Amazon Web Services and custom sources. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.

See: newAccountSources smart constructor.

Constructors

AccountSources' 

Fields

  • eventClass :: Maybe OcsfEventClass

    Initializes a new instance of the Event class.

  • logsStatus :: Maybe [LogsStatus]

    The log status for the Security Lake account.

  • account :: Text

    The ID of the Security Lake account for which logs are collected.

  • sourceType :: Text

    The supported Amazon Web Services from which logs and events are collected. Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.

Instances

Instances details
FromJSON AccountSources Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.AccountSources

Generic AccountSources Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.AccountSources

Associated Types

type Rep AccountSources :: Type -> Type #

Read AccountSources Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.AccountSources

Show AccountSources Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.AccountSources

NFData AccountSources Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.AccountSources

Methods

rnf :: AccountSources -> () #

Eq AccountSources Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.AccountSources

Hashable AccountSources Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.AccountSources

type Rep AccountSources Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.AccountSources

type Rep AccountSources = D1 ('MetaData "AccountSources" "Amazonka.SecurityLake.Types.AccountSources" "amazonka-securitylake-2.0-4WRm07ESU278sNrKhxoCOb" 'False) (C1 ('MetaCons "AccountSources'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eventClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OcsfEventClass)) :*: S1 ('MetaSel ('Just "logsStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LogsStatus]))) :*: (S1 ('MetaSel ('Just "account") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAccountSources Source #

Create a value of AccountSources 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:eventClass:AccountSources', accountSources_eventClass - Initializes a new instance of the Event class.

$sel:logsStatus:AccountSources', accountSources_logsStatus - The log status for the Security Lake account.

$sel:account:AccountSources', accountSources_account - The ID of the Security Lake account for which logs are collected.

$sel:sourceType:AccountSources', accountSources_sourceType - The supported Amazon Web Services from which logs and events are collected. Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.

accountSources_eventClass :: Lens' AccountSources (Maybe OcsfEventClass) Source #

Initializes a new instance of the Event class.

accountSources_logsStatus :: Lens' AccountSources (Maybe [LogsStatus]) Source #

The log status for the Security Lake account.

accountSources_account :: Lens' AccountSources Text Source #

The ID of the Security Lake account for which logs are collected.

accountSources_sourceType :: Lens' AccountSources Text Source #

The supported Amazon Web Services from which logs and events are collected. Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.