amazonka-cloudformation-2.0: Amazon CloudFormation 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.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 Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.

  • logGroupName :: Text

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

Instances

Instances details
ToQuery LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

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

Read LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

Show LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

NFData LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

Methods

rnf :: LoggingConfig -> () #

Eq LoggingConfig Source # 
Instance details

Defined in Amazonka.CloudFormation.Types.LoggingConfig

Hashable 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" '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 Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.

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

loggingConfig_logRoleArn :: Lens' LoggingConfig Text Source #

The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.

loggingConfig_logGroupName :: Lens' LoggingConfig Text Source #

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