libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.CloudwatchLogsAction

Description

 
Synopsis

Documentation

data CloudwatchLogsAction Source #

Describes an action that sends data to CloudWatch Logs.

See: newCloudwatchLogsAction smart constructor.

Constructors

CloudwatchLogsAction' 

Fields

  • roleArn :: Text

    The IAM role that allows access to the CloudWatch log.

  • logGroupName :: Text

    The CloudWatch log group to which the action sends data.

Instances

Instances details
Eq CloudwatchLogsAction Source # 
Instance details

Defined in Amazonka.IoT.Types.CloudwatchLogsAction

Read CloudwatchLogsAction Source # 
Instance details

Defined in Amazonka.IoT.Types.CloudwatchLogsAction

Show CloudwatchLogsAction Source # 
Instance details

Defined in Amazonka.IoT.Types.CloudwatchLogsAction

Generic CloudwatchLogsAction Source # 
Instance details

Defined in Amazonka.IoT.Types.CloudwatchLogsAction

Associated Types

type Rep CloudwatchLogsAction :: Type -> Type #

NFData CloudwatchLogsAction Source # 
Instance details

Defined in Amazonka.IoT.Types.CloudwatchLogsAction

Methods

rnf :: CloudwatchLogsAction -> () #

Hashable CloudwatchLogsAction Source # 
Instance details

Defined in Amazonka.IoT.Types.CloudwatchLogsAction

ToJSON CloudwatchLogsAction Source # 
Instance details

Defined in Amazonka.IoT.Types.CloudwatchLogsAction

FromJSON CloudwatchLogsAction Source # 
Instance details

Defined in Amazonka.IoT.Types.CloudwatchLogsAction

type Rep CloudwatchLogsAction Source # 
Instance details

Defined in Amazonka.IoT.Types.CloudwatchLogsAction

type Rep CloudwatchLogsAction = D1 ('MetaData "CloudwatchLogsAction" "Amazonka.IoT.Types.CloudwatchLogsAction" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CloudwatchLogsAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCloudwatchLogsAction Source #

Create a value of CloudwatchLogsAction 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:roleArn:CloudwatchLogsAction', cloudwatchLogsAction_roleArn - The IAM role that allows access to the CloudWatch log.

$sel:logGroupName:CloudwatchLogsAction', cloudwatchLogsAction_logGroupName - The CloudWatch log group to which the action sends data.

cloudwatchLogsAction_roleArn :: Lens' CloudwatchLogsAction Text Source #

The IAM role that allows access to the CloudWatch log.

cloudwatchLogsAction_logGroupName :: Lens' CloudwatchLogsAction Text Source #

The CloudWatch log group to which the action sends data.