public static interface NotificationChannelConfig.Builder extends SdkPojo, CopyableBuilder<NotificationChannelConfig.Builder,NotificationChannelConfig>
| Modifier and Type | Method and Description |
|---|---|
default NotificationChannelConfig.Builder |
sns(Consumer<SnsChannelConfig.Builder> sns)
Information about a notification channel configured in DevOps Guru to send notifications when insights are
created.
|
NotificationChannelConfig.Builder |
sns(SnsChannelConfig sns)
Information about a notification channel configured in DevOps Guru to send notifications when insights are
created.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNotificationChannelConfig.Builder sns(SnsChannelConfig sns)
Information about a notification channel configured in DevOps Guru to send notifications when insights are created.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics.
sns - Information about a notification channel configured in DevOps Guru to send notifications when insights
are created.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics.
default NotificationChannelConfig.Builder sns(Consumer<SnsChannelConfig.Builder> sns)
Information about a notification channel configured in DevOps Guru to send notifications when insights are created.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics.
This is a convenience that creates an instance of theSnsChannelConfig.Builder avoiding the need to
create one manually via SnsChannelConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sns(SnsChannelConfig).sns - a consumer that will call methods on SnsChannelConfig.Buildersns(SnsChannelConfig)Copyright © 2021. All rights reserved.