@Stability(value=Stable)
public static interface CfnBudget.SubscriberProperty
extends software.amazon.jsii.JsiiSerializable
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:
subscriptionType of EMAILaddress of example@example.comExample:
// 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")
.subscriptionType("subscriptionType")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBudget.SubscriberProperty.Builder
A builder for
CfnBudget.SubscriberProperty |
static class |
CfnBudget.SubscriberProperty.Jsii$Proxy
An implementation for
CfnBudget.SubscriberProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBudget.SubscriberProperty.Builder |
builder() |
String |
getAddress()
The address that AWS sends budget notifications to, either an SNS topic or an email.
|
String |
getSubscriptionType()
The type of notification that AWS sends to a subscriber.
|
@Stability(value=Stable) @NotNull String getAddress()
When you create a subscriber, the value of Address can't contain line breaks.
@Stability(value=Stable) @NotNull String getSubscriptionType()
@Stability(value=Stable) static CfnBudget.SubscriberProperty.Builder builder()
Copyright © 2022. All rights reserved.