Show / Hide Table of Contents

Interface ICfnBudgetProps

Properties for defining a CfnBudget.

Namespace: Amazon.CDK.AWS.Budgets
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnBudgetProps
Syntax (vb)
Public Interface ICfnBudgetProps
Remarks

See: 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;
             ExpressionProperty expressionProperty_;
             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
                         }
                     },
                     BillingViewArn = "billingViewArn",
                     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
                     },
                     FilterExpression = new ExpressionProperty {
                         And = new [] { expressionProperty_ },
                         CostCategories = new CostCategoryValuesProperty {
                             Key = "key",
                             MatchOptions = new [] { "matchOptions" },
                             Values = new [] { "values" }
                         },
                         Dimensions = new ExpressionDimensionValuesProperty {
                             Key = "key",
                             MatchOptions = new [] { "matchOptions" },
                             Values = new [] { "values" }
                         },
                         Not = expressionProperty_,
                         Or = new [] { expressionProperty_ },
                         Tags = new TagValuesProperty {
                             Key = "key",
                             MatchOptions = new [] { "matchOptions" },
                             Values = new [] { "values" }
                         }
                     },
                     Metrics = new [] { "metrics" },
                     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"
                     } }
                 } },
                 ResourceTags = new [] { new ResourceTagProperty {
                     Key = "key",

                     // the properties below are optional
                     Value = "value"
                 } }
             };

Synopsis

Properties

Budget

The budget object that you want to create.

NotificationsWithSubscribers

A notification that you want to associate with a budget.

ResourceTags

An optional list of tags to associate with the specified budget.

Properties

Budget

The budget object that you want to create.

object Budget { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budget.html#cfn-budgets-budget-budget

Type union: either IResolvable or CfnBudget.IBudgetDataProperty

NotificationsWithSubscribers

A notification that you want to associate with a budget.

object? NotificationsWithSubscribers { get; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budget.html#cfn-budgets-budget-notificationswithsubscribers

Type union: either IResolvable or (either IResolvable or CfnBudget.INotificationWithSubscribersProperty)[]

ResourceTags

An optional list of tags to associate with the specified budget.

object? ResourceTags { get; }
Property Value

object

Remarks

Each tag consists of a key and a value, and each key must be unique for the resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budget.html#cfn-budgets-budget-resourcetags

Type union: either IResolvable or (either IResolvable or CfnBudget.IResourceTagProperty)[]

Back to top Generated by DocFX