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 CloudWatchLoggingOption = CloudWatchLoggingOption' {
- logStreamARN :: Text
- roleARN :: Text
- newCloudWatchLoggingOption :: Text -> Text -> CloudWatchLoggingOption
- cloudWatchLoggingOption_logStreamARN :: Lens' CloudWatchLoggingOption Text
- cloudWatchLoggingOption_roleARN :: Lens' CloudWatchLoggingOption Text
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.
CloudWatchLoggingOption' | |
|
Instances
newCloudWatchLoggingOption Source #
:: Text | |
-> Text | |
-> CloudWatchLoggingOption |
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.