public static interface SNSConfiguration.Builder extends SdkPojo, CopyableBuilder<SNSConfiguration.Builder,SNSConfiguration>
| Modifier and Type | Method and Description |
|---|---|
SNSConfiguration.Builder |
roleArn(String roleArn)
The ARN of the IAM role that has access to the target SNS topic.
|
SNSConfiguration.Builder |
snsFormat(SnsFormat snsFormat)
The format of the SNS topic.
|
SNSConfiguration.Builder |
snsFormat(String snsFormat)
The format of the SNS topic.
|
SNSConfiguration.Builder |
snsTopicArn(String snsTopicArn)
The ARN of the target SNS topic.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSNSConfiguration.Builder roleArn(String roleArn)
The ARN of the IAM role that has access to the target SNS topic.
roleArn - The ARN of the IAM role that has access to the target SNS topic.SNSConfiguration.Builder snsTopicArn(String snsTopicArn)
The ARN of the target SNS topic.
snsTopicArn - The ARN of the target SNS topic.SNSConfiguration.Builder snsFormat(String snsFormat)
The format of the SNS topic.
JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the
default.
LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and a link
to the anomaly detail page. We recommend this for email.
SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We recommend
this for SMS.
snsFormat - The format of the SNS topic.
JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is
the default.
LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and
a link to the anomaly detail page. We recommend this for email.
SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We
recommend this for SMS.
SnsFormat,
SnsFormatSNSConfiguration.Builder snsFormat(SnsFormat snsFormat)
The format of the SNS topic.
JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the
default.
LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and a link
to the anomaly detail page. We recommend this for email.
SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We recommend
this for SMS.
snsFormat - The format of the SNS topic.
JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is
the default.
LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and
a link to the anomaly detail page. We recommend this for email.
SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We
recommend this for SMS.
SnsFormat,
SnsFormatCopyright © 2023. All rights reserved.