interface SubscriberProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Budgets.CfnBudgetsAction.SubscriberProperty |
Java | software.amazon.awscdk.services.budgets.CfnBudgetsAction.SubscriberProperty |
Python | aws_cdk.aws_budgets.CfnBudgetsAction.SubscriberProperty |
TypeScript | @aws-cdk/aws-budgets » CfnBudgetsAction » SubscriberProperty |
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
ofEMAIL
- An
address
ofexample@example.com
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as budgets from '@aws-cdk/aws-budgets';
const subscriberProperty: budgets.CfnBudgetsAction.SubscriberProperty = {
address: 'address',
type: 'type',
};
Properties
Name | Type | Description |
---|---|---|
address | string | The address that AWS sends budget notifications to, either an SNS topic or an email. |
type | string | The type of notification that AWS sends to a subscriber. |
address
Type:
string
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.
type
Type:
string
The type of notification that AWS sends to a subscriber.