libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics
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.KinesisAnalytics.Types.CloudWatchLoggingOption

Description

 
Synopsis

Documentation

data CloudWatchLoggingOption Source #

Provides a description of CloudWatch logging options, including the log stream Amazon Resource Name (ARN) and the role ARN.

See: newCloudWatchLoggingOption smart constructor.

Constructors

CloudWatchLoggingOption' 

Fields

  • logStreamARN :: Text

    ARN of the CloudWatch log to receive application messages.

  • roleARN :: Text

    IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role that is used must have the PutLogEvents policy action enabled.

Instances

Instances details
Eq CloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.CloudWatchLoggingOption

Read CloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.CloudWatchLoggingOption

Show CloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.CloudWatchLoggingOption

Generic CloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.CloudWatchLoggingOption

Associated Types

type Rep CloudWatchLoggingOption :: Type -> Type #

NFData CloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.CloudWatchLoggingOption

Methods

rnf :: CloudWatchLoggingOption -> () #

Hashable CloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.CloudWatchLoggingOption

ToJSON CloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.CloudWatchLoggingOption

type Rep CloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.CloudWatchLoggingOption

type Rep CloudWatchLoggingOption = D1 ('MetaData "CloudWatchLoggingOption" "Amazonka.KinesisAnalytics.Types.CloudWatchLoggingOption" "libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics" 'False) (C1 ('MetaCons "CloudWatchLoggingOption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logStreamARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "roleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCloudWatchLoggingOption Source #

Create a value of CloudWatchLoggingOption 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:logStreamARN:CloudWatchLoggingOption', cloudWatchLoggingOption_logStreamARN - ARN of the CloudWatch log to receive application messages.

$sel:roleARN:CloudWatchLoggingOption', cloudWatchLoggingOption_roleARN - IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role that is used must have the PutLogEvents policy action enabled.

cloudWatchLoggingOption_logStreamARN :: Lens' CloudWatchLoggingOption Text Source #

ARN of the CloudWatch log to receive application messages.

cloudWatchLoggingOption_roleARN :: Lens' CloudWatchLoggingOption Text Source #

IAM ARN of the role to use to send application messages. Note: To write application messages to CloudWatch, the IAM role that is used must have the PutLogEvents policy action enabled.