Interface ICfnBudgetProps
Properties for defining a CfnBudget
.
Namespace: Amazon.CDK.AWS.Budgets
Assembly: Amazon.CDK.AWS.Budgets.dll
Syntax (csharp)
public interface ICfnBudgetProps
Syntax (vb)
Public Interface ICfnBudgetProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budget.html
ExampleMetadata: fixture=_generated
Examples
// 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 costFilters;
var plannedBudgetLimits;
var cfnBudgetProps = new CfnBudgetProps {
Budget = new BudgetDataProperty {
BudgetType = "budgetType",
TimeUnit = "timeUnit",
// the properties below are optional
AutoAdjustData = new AutoAdjustDataProperty {
AutoAdjustType = "autoAdjustType",
// the properties below are optional
HistoricalOptions = new HistoricalOptionsProperty {
BudgetAdjustmentPeriod = 123
}
},
BudgetLimit = new SpendProperty {
Amount = 123,
Unit = "unit"
},
BudgetName = "budgetName",
CostFilters = costFilters,
CostTypes = new CostTypesProperty {
IncludeCredit = false,
IncludeDiscount = false,
IncludeOtherSubscription = false,
IncludeRecurring = false,
IncludeRefund = false,
IncludeSubscription = false,
IncludeSupport = false,
IncludeTax = false,
IncludeUpfront = false,
UseAmortized = false,
UseBlended = false
},
PlannedBudgetLimits = plannedBudgetLimits,
TimePeriod = new TimePeriodProperty {
End = "end",
Start = "start"
}
},
// the properties below are optional
NotificationsWithSubscribers = new [] { new NotificationWithSubscribersProperty {
Notification = new NotificationProperty {
ComparisonOperator = "comparisonOperator",
NotificationType = "notificationType",
Threshold = 123,
// the properties below are optional
ThresholdType = "thresholdType"
},
Subscribers = new [] { new SubscriberProperty {
Address = "address",
SubscriptionType = "subscriptionType"
} }
} }
};
Synopsis
Properties
Budget | The budget object that you want to create. |
NotificationsWithSubscribers | A notification that you want to associate with a budget. |
Properties
Budget
The budget object that you want to create.
object Budget { get; }
Property Value
System.Object
Remarks
NotificationsWithSubscribers
A notification that you want to associate with a budget.
virtual object NotificationsWithSubscribers { get; }
Property Value
System.Object
Remarks
A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget
call, AWS creates the notifications and subscribers for you.