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
subscriptionTypeofEMAIL - An
addressofexample@example.com
| Source | |
|---|---|
| Type last changed |
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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_budgets as budgets
subscriber_property = budgets.CfnBudgetsAction.SubscriberProperty(
address="address",
type="type"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.budgets.*;
SubscriberProperty subscriberProperty = SubscriberProperty.builder()
.address("address")
.type("type")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Budgets;
var subscriberProperty = new SubscriberProperty {
Address = "address",
Type = "type"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
subscriberProperty := &SubscriberProperty{
Address: jsii.String("address"),
Type: jsii.String("type"),
}
Properties
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.
The type of notification that AWS sends to a subscriber.