amazonka-transfer-2.0: Amazon Transfer Family 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.Transfer.Types.LoggingConfiguration

Description

 
Synopsis

Documentation

data LoggingConfiguration Source #

Consists of the logging role and the log group name.

See: newLoggingConfiguration smart constructor.

Constructors

LoggingConfiguration' 

Fields

  • logGroupName :: Maybe Text

    The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.

  • loggingRole :: Maybe Text

    The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.

Instances

Instances details
FromJSON LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

Generic LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

Associated Types

type Rep LoggingConfiguration :: Type -> Type #

Read LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

Show LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

NFData LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

Methods

rnf :: LoggingConfiguration -> () #

Eq LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

Hashable LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

type Rep LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

type Rep LoggingConfiguration = D1 ('MetaData "LoggingConfiguration" "Amazonka.Transfer.Types.LoggingConfiguration" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "LoggingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "loggingRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newLoggingConfiguration :: LoggingConfiguration Source #

Create a value of LoggingConfiguration 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:logGroupName:LoggingConfiguration', loggingConfiguration_logGroupName - The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.

$sel:loggingRole:LoggingConfiguration', loggingConfiguration_loggingRole - The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.

loggingConfiguration_logGroupName :: Lens' LoggingConfiguration (Maybe Text) Source #

The name of the CloudWatch logging group for the Transfer Family server to which this workflow belongs.

loggingConfiguration_loggingRole :: Lens' LoggingConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents. When set, you can view user activity in your CloudWatch logs.