Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data LogPublishingOption Source #
Specifies whether the Amazon OpenSearch Service domain publishes the OpenSearch application and slow logs to Amazon CloudWatch. For more information, see Monitoring OpenSearch logs with Amazon CloudWatch Logs.
After you enable log publishing, you still have to enable the collection of slow logs using the OpenSearch REST API.
See: newLogPublishingOption
smart constructor.
Instances
newLogPublishingOption :: LogPublishingOption Source #
Create a value of LogPublishingOption
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:cloudWatchLogsLogGroupArn:LogPublishingOption'
, logPublishingOption_cloudWatchLogsLogGroupArn
- The Amazon Resource Name (ARN) of the CloudWatch Logs group to publish
logs to.
$sel:enabled:LogPublishingOption'
, logPublishingOption_enabled
- Whether the log should be published.
logPublishingOption_cloudWatchLogsLogGroupArn :: Lens' LogPublishingOption (Maybe Text) Source #
The Amazon Resource Name (ARN) of the CloudWatch Logs group to publish logs to.
logPublishingOption_enabled :: Lens' LogPublishingOption (Maybe Bool) Source #
Whether the log should be published.