Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data CloudwatchLogsAction Source #
Describes an action that sends data to CloudWatch Logs.
See: newCloudwatchLogsAction
smart constructor.
CloudwatchLogsAction' | |
|
Instances
newCloudwatchLogsAction Source #
:: Text | |
-> Text | |
-> CloudwatchLogsAction |
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.