libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
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.CloudFormation.Types.LoggingConfig

Description

 
Synopsis

Documentation

data LoggingConfig Source #

Contains logging configuration information for an extension.

See: newLoggingConfig smart constructor.

Constructors

LoggingConfig' 

Fields

  • logRoleArn :: Text

    The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.

  • logGroupName :: Text

    The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the extension's handlers.

Instances

Instances details
Eq LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

Read LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

Show LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

Generic LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

Associated Types

type Rep LoggingConfig :: Type -> Type #

NFData LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

Methods

rnf :: LoggingConfig -> () #

Hashable LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

ToQuery LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

FromXML LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

type Rep LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

type Rep LoggingConfig = D1 ('MetaData "LoggingConfig" "Amazonka.CloudFormation.Types.LoggingConfig" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "LoggingConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newLoggingConfig Source #

Create a value of LoggingConfig 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:logRoleArn:LoggingConfig', loggingConfig_logRoleArn - The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.

$sel:logGroupName:LoggingConfig', loggingConfig_logGroupName - The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the extension's handlers.

loggingConfig_logRoleArn :: Lens' LoggingConfig Text Source #

The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.

loggingConfig_logGroupName :: Lens' LoggingConfig Text Source #

The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the extension's handlers.