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 CloudWatchLoggingOptionDescription = CloudWatchLoggingOptionDescription' {}
- newCloudWatchLoggingOptionDescription :: Text -> Text -> CloudWatchLoggingOptionDescription
- cloudWatchLoggingOptionDescription_cloudWatchLoggingOptionId :: Lens' CloudWatchLoggingOptionDescription (Maybe Text)
- cloudWatchLoggingOptionDescription_logStreamARN :: Lens' CloudWatchLoggingOptionDescription Text
- cloudWatchLoggingOptionDescription_roleARN :: Lens' CloudWatchLoggingOptionDescription Text
Documentation
data CloudWatchLoggingOptionDescription Source #
Description of the CloudWatch logging option.
See: newCloudWatchLoggingOptionDescription
smart constructor.
CloudWatchLoggingOptionDescription' | |
|
Instances
newCloudWatchLoggingOptionDescription Source #
Create a value of CloudWatchLoggingOptionDescription
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:cloudWatchLoggingOptionId:CloudWatchLoggingOptionDescription'
, cloudWatchLoggingOptionDescription_cloudWatchLoggingOptionId
- ID of the CloudWatch logging option description.
$sel:logStreamARN:CloudWatchLoggingOptionDescription'
, cloudWatchLoggingOptionDescription_logStreamARN
- ARN of the CloudWatch log to receive application messages.
$sel:roleARN:CloudWatchLoggingOptionDescription'
, cloudWatchLoggingOptionDescription_roleARN
- IAM ARN of the role to use to send application messages. Note: To write
application messages to CloudWatch, the IAM role used must have the
PutLogEvents
policy action enabled.
cloudWatchLoggingOptionDescription_cloudWatchLoggingOptionId :: Lens' CloudWatchLoggingOptionDescription (Maybe Text) Source #
ID of the CloudWatch logging option description.
cloudWatchLoggingOptionDescription_logStreamARN :: Lens' CloudWatchLoggingOptionDescription Text Source #
ARN of the CloudWatch log to receive application messages.
cloudWatchLoggingOptionDescription_roleARN :: Lens' CloudWatchLoggingOptionDescription Text Source #
IAM ARN of the role to use to send application messages. Note: To write
application messages to CloudWatch, the IAM role used must have the
PutLogEvents
policy action enabled.