CopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>
, SdkBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>
public static interface CloudWatchLoggingOption.Builder extends CopyableBuilder<CloudWatchLoggingOption.Builder,CloudWatchLoggingOption>
Modifier and Type | Method | Description |
---|---|---|
CloudWatchLoggingOption.Builder |
logStreamARN(String logStreamARN) |
ARN of the CloudWatch log to receive application messages.
|
CloudWatchLoggingOption.Builder |
roleARN(String roleARN) |
IAM ARN of the role to use to send application messages.
|
copy
apply, build
CloudWatchLoggingOption.Builder logStreamARN(String logStreamARN)
ARN of the CloudWatch log to receive application messages.
logStreamARN
- ARN of the CloudWatch log to receive application messages.CloudWatchLoggingOption.Builder roleARN(String 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.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.