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 |
Synopsis
- data CloudWatchLogsDestination = CloudWatchLogsDestination' {
- iamRoleArn :: Maybe Text
- logGroupArn :: Maybe Text
- newCloudWatchLogsDestination :: CloudWatchLogsDestination
- cloudWatchLogsDestination_iamRoleArn :: Lens' CloudWatchLogsDestination (Maybe Text)
- cloudWatchLogsDestination_logGroupArn :: Lens' CloudWatchLogsDestination (Maybe Text)
Documentation
data CloudWatchLogsDestination Source #
An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.
See: newCloudWatchLogsDestination
smart constructor.
CloudWatchLogsDestination' | |
|
Instances
newCloudWatchLogsDestination :: CloudWatchLogsDestination Source #
Create a value of CloudWatchLogsDestination
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:iamRoleArn:CloudWatchLogsDestination'
, cloudWatchLogsDestination_iamRoleArn
- The Amazon Resource Name (ARN) of an Amazon Identity and Access
Management (IAM) role that is able to write event data to an Amazon
CloudWatch destination.
$sel:logGroupArn:CloudWatchLogsDestination'
, cloudWatchLogsDestination_logGroupArn
- The name of the Amazon CloudWatch Log Group that you want to record
events in.
cloudWatchLogsDestination_iamRoleArn :: Lens' CloudWatchLogsDestination (Maybe Text) Source #
The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.
cloudWatchLogsDestination_logGroupArn :: Lens' CloudWatchLogsDestination (Maybe Text) Source #
The name of the Amazon CloudWatch Log Group that you want to record events in.