aws-cdk-lib.aws_budgets.CfnBudget.NotificationWithSubscribersProperty

interface NotificationWithSubscribersProperty

LanguageType name
.NETAmazon.CDK.AWS.Budgets.CfnBudget.NotificationWithSubscribersProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbudgets#CfnBudget_NotificationWithSubscribersProperty
Javasoftware.amazon.awscdk.services.budgets.CfnBudget.NotificationWithSubscribersProperty
Pythonaws_cdk.aws_budgets.CfnBudget.NotificationWithSubscribersProperty
TypeScript aws-cdk-lib » aws_budgets » CfnBudget » NotificationWithSubscribersProperty

A notification with subscribers.

A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_budgets as budgets } from 'aws-cdk-lib';
const notificationWithSubscribersProperty: budgets.CfnBudget.NotificationWithSubscribersProperty = {
  notification: {
    comparisonOperator: 'comparisonOperator',
    notificationType: 'notificationType',
    threshold: 123,

    // the properties below are optional
    thresholdType: 'thresholdType',
  },
  subscribers: [{
    address: 'address',
    subscriptionType: 'subscriptionType',
  }],
};

Properties

NameTypeDescription
notificationIResolvable | NotificationPropertyThe notification that's associated with a budget.
subscribersIResolvable | IResolvable | SubscriberProperty[]A list of subscribers who are subscribed to this notification.

notification

Type: IResolvable | NotificationProperty

The notification that's associated with a budget.


subscribers

Type: IResolvable | IResolvable | SubscriberProperty[]

A list of subscribers who are subscribed to this notification.