Class CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsguru.CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty>
- Enclosing interface:
CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty
@Stability(Stable)
public static final class CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.filters(IResolvable filters) sns(IResolvable sns)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filters
@Stability(Stable) public CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty.Builder filters(IResolvable filters) - Parameters:
filters- The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. If you do not provide filter configurations, the default configurations are to receive notifications for all message types ofHighorMediumseverity.- Returns:
this
-
filters
@Stability(Stable) public CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty.Builder filters(CfnNotificationChannelPropsMixin.NotificationFilterConfigProperty filters) - Parameters:
filters- The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. If you do not provide filter configurations, the default configurations are to receive notifications for all message types ofHighorMediumseverity.- Returns:
this
-
sns
@Stability(Stable) public CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty.Builder sns(IResolvable sns) - Parameters:
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 send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for 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 .
- Returns:
this
-
sns
@Stability(Stable) public CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty.Builder sns(CfnNotificationChannelPropsMixin.SnsChannelConfigProperty sns) - Parameters:
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 send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for 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 .
- Returns:
this
-
build
@Stability(Stable) public CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty>- Returns:
- a new instance of
CfnNotificationChannelPropsMixin.NotificationChannelConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-