libZSservicesZSamazonka-transferZSamazonka-transfer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • loggingRole :: Maybe Text

    Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs.

  • logGroupName :: Maybe Text

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

Instances

Instances details
Eq LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

Read LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

Show 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 #

NFData LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

Methods

rnf :: LoggingConfiguration -> () #

Hashable LoggingConfiguration Source # 
Instance details

Defined in Amazonka.Transfer.Types.LoggingConfiguration

FromJSON 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" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "LoggingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loggingRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "logGroupName") '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:loggingRole:LoggingConfiguration', loggingConfiguration_loggingRole - Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs.

$sel:logGroupName:LoggingConfiguration', loggingConfiguration_logGroupName - The name of the CloudWatch logging group for the Amazon Web Services Transfer server to which this workflow belongs.

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

Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs.

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

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