Class CfnBudgetProps
Properties for defining a CfnBudget
.
Inheritance
System.Object
CfnBudgetProps
Implements
Namespace: Amazon.CDK.AWS.Budgets
Assembly: Amazon.CDK.AWS.Budgets.dll
Syntax (csharp)
public class CfnBudgetProps : Object, ICfnBudgetProps
Syntax (vb)
Public Class CfnBudgetProps
Inherits Object
Implements 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
Constructors
CfnBudgetProps() |
Properties
Budget | The budget object that you want to create. |
NotificationsWithSubscribers | A notification that you want to associate with a budget. |
Constructors
CfnBudgetProps()
public CfnBudgetProps()
Properties
Budget
The budget object that you want to create.
public object Budget { get; set; }
Property Value
System.Object
Remarks
NotificationsWithSubscribers
A notification that you want to associate with a budget.
public object NotificationsWithSubscribers { get; set; }
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.