interface SubscriberProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Budgets.CfnBudget.SubscriberProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbudgets#CfnBudget_SubscriberProperty |
![]() | software.amazon.awscdk.services.budgets.CfnBudget.SubscriberProperty |
![]() | aws_cdk.aws_budgets.CfnBudget.SubscriberProperty |
![]() | aws-cdk-lib » aws_budgets » CfnBudget » SubscriberProperty |
The Subscriber
property type specifies who to notify for a Billing and Cost Management budget notification.
The subscriber consists of a subscription type, and either an Amazon SNS topic or an email address.
For example, an email subscriber would have 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 { aws_budgets as budgets } from 'aws-cdk-lib';
const subscriberProperty: budgets.CfnBudget.SubscriberProperty = {
address: 'address',
subscriptionType: 'subscriptionType',
};
Properties
Name | Type | Description |
---|---|---|
address | string | The address that AWS sends budget notifications to, either an SNS topic or an email. |
subscription | 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.
subscriptionType
Type:
string
The type of notification that AWS sends to a subscriber.