本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
CloudWatchLoggingOption
Provides a description of CloudWatch logging options, including the log stream Amazon Resource Name (ARN) and the role ARN.
Contents
- LogStreamARN
-
ARN of the CloudWatch log to receive application messages.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
arn:.*
Required: Yes
- 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.Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
arn:.*
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: