Skip to content
v2.275.0

SubscriberProperty Struct ​

The subscriber to a budget notification.

The subscriber consists of a subscription type and either an Amazon SNS topic or an email address.

For example, an email subscriber has the following parameters:

  • A subscriptionType of EMAIL
  • An address of example@example.com

Example ​

ts
// 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 subscriberProperty: budgets.CfnBudgetsAction.SubscriberProperty = {
  address: 'address',
  type: 'type',
};

Properties ​

addressstringaddressstraddressStringAddressstringAddress*stringrequired#
The address that AWS sends budget notifications to, either an SNS topic or an email.

When you create a subscriber, the value of Address can't contain line breaks.

typestringtypestrtypeStringTypestringType*stringrequired#
The type of notification that AWS sends to a subscriber.