Show / Hide Table of Contents

Class CfnBudgetPropsMixin

The AWS::Budgets::Budget resource allows customers to take pre-defined actions that will trigger once a budget threshold has been exceeded.

Inheritance
object
Mixin
CfnBudgetPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Budgets
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnBudgetPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnBudgetPropsMixin Inherits Mixin Implements IMixin
Remarks

creates, replaces, or deletes budgets for Billing and Cost Management. For more information, see Managing Your Costs with Budgets in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::Budgets::Budget

Mixin: true

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.CfnPropertyMixins.AWS.Budgets;
             using Amazon.CDK;

             var costFilters;
             ExpressionProperty expressionProperty_;
             IMergeStrategy mergeStrategy;
             var plannedBudgetLimits;

             var cfnBudgetPropsMixin = new CfnBudgetPropsMixin(new CfnBudgetMixinProps {
                 Budget = new BudgetDataProperty {
                     AutoAdjustData = new AutoAdjustDataProperty {
                         AutoAdjustType = "autoAdjustType",
                         HistoricalOptions = new HistoricalOptionsProperty {
                             BudgetAdjustmentPeriod = 123
                         }
                     },
                     BillingViewArn = "billingViewArn",
                     BudgetLimit = new SpendProperty {
                         Amount = 123,
                         Unit = "unit"
                     },
                     BudgetName = "budgetName",
                     BudgetType = "budgetType",
                     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"
                     },
                     TimeUnit = "timeUnit"
                 },
                 NotificationsWithSubscribers = new [] { new NotificationWithSubscribersProperty {
                     Notification = new NotificationProperty {
                         ComparisonOperator = "comparisonOperator",
                         NotificationType = "notificationType",
                         Threshold = 123,
                         ThresholdType = "thresholdType"
                     },
                     Subscribers = new [] { new SubscriberProperty {
                         Address = "address",
                         SubscriptionType = "subscriptionType"
                     } }
                 } },
                 ResourceTags = new [] { new ResourceTagProperty {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Synopsis

Constructors

CfnBudgetPropsMixin(ICfnBudgetMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Budgets::Budget.

Properties

CFN_PROPERTY_KEYS

The AWS::Budgets::Budget resource allows customers to take pre-defined actions that will trigger once a budget threshold has been exceeded.

Props

The AWS::Budgets::Budget resource allows customers to take pre-defined actions that will trigger once a budget threshold has been exceeded.

Strategy

The AWS::Budgets::Budget resource allows customers to take pre-defined actions that will trigger once a budget threshold has been exceeded.

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnBudgetPropsMixin(ICfnBudgetMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Budgets::Budget.

public CfnBudgetPropsMixin(ICfnBudgetMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnBudgetMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

creates, replaces, or deletes budgets for Billing and Cost Management. For more information, see Managing Your Costs with Budgets in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::Budgets::Budget

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

The AWS::Budgets::Budget resource allows customers to take pre-defined actions that will trigger once a budget threshold has been exceeded.

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

creates, replaces, or deletes budgets for Billing and Cost Management. For more information, see Managing Your Costs with Budgets in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::Budgets::Budget

Mixin: true

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.CfnPropertyMixins.AWS.Budgets;
             using Amazon.CDK;

             var costFilters;
             ExpressionProperty expressionProperty_;
             IMergeStrategy mergeStrategy;
             var plannedBudgetLimits;

             var cfnBudgetPropsMixin = new CfnBudgetPropsMixin(new CfnBudgetMixinProps {
                 Budget = new BudgetDataProperty {
                     AutoAdjustData = new AutoAdjustDataProperty {
                         AutoAdjustType = "autoAdjustType",
                         HistoricalOptions = new HistoricalOptionsProperty {
                             BudgetAdjustmentPeriod = 123
                         }
                     },
                     BillingViewArn = "billingViewArn",
                     BudgetLimit = new SpendProperty {
                         Amount = 123,
                         Unit = "unit"
                     },
                     BudgetName = "budgetName",
                     BudgetType = "budgetType",
                     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"
                     },
                     TimeUnit = "timeUnit"
                 },
                 NotificationsWithSubscribers = new [] { new NotificationWithSubscribersProperty {
                     Notification = new NotificationProperty {
                         ComparisonOperator = "comparisonOperator",
                         NotificationType = "notificationType",
                         Threshold = 123,
                         ThresholdType = "thresholdType"
                     },
                     Subscribers = new [] { new SubscriberProperty {
                         Address = "address",
                         SubscriptionType = "subscriptionType"
                     } }
                 } },
                 ResourceTags = new [] { new ResourceTagProperty {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Props

The AWS::Budgets::Budget resource allows customers to take pre-defined actions that will trigger once a budget threshold has been exceeded.

protected virtual ICfnBudgetMixinProps Props { get; }
Property Value

ICfnBudgetMixinProps

Remarks

creates, replaces, or deletes budgets for Billing and Cost Management. For more information, see Managing Your Costs with Budgets in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::Budgets::Budget

Mixin: true

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.CfnPropertyMixins.AWS.Budgets;
             using Amazon.CDK;

             var costFilters;
             ExpressionProperty expressionProperty_;
             IMergeStrategy mergeStrategy;
             var plannedBudgetLimits;

             var cfnBudgetPropsMixin = new CfnBudgetPropsMixin(new CfnBudgetMixinProps {
                 Budget = new BudgetDataProperty {
                     AutoAdjustData = new AutoAdjustDataProperty {
                         AutoAdjustType = "autoAdjustType",
                         HistoricalOptions = new HistoricalOptionsProperty {
                             BudgetAdjustmentPeriod = 123
                         }
                     },
                     BillingViewArn = "billingViewArn",
                     BudgetLimit = new SpendProperty {
                         Amount = 123,
                         Unit = "unit"
                     },
                     BudgetName = "budgetName",
                     BudgetType = "budgetType",
                     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"
                     },
                     TimeUnit = "timeUnit"
                 },
                 NotificationsWithSubscribers = new [] { new NotificationWithSubscribersProperty {
                     Notification = new NotificationProperty {
                         ComparisonOperator = "comparisonOperator",
                         NotificationType = "notificationType",
                         Threshold = 123,
                         ThresholdType = "thresholdType"
                     },
                     Subscribers = new [] { new SubscriberProperty {
                         Address = "address",
                         SubscriptionType = "subscriptionType"
                     } }
                 } },
                 ResourceTags = new [] { new ResourceTagProperty {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Strategy

The AWS::Budgets::Budget resource allows customers to take pre-defined actions that will trigger once a budget threshold has been exceeded.

protected virtual IMergeStrategy Strategy { get; }
Property Value

IMergeStrategy

Remarks

creates, replaces, or deletes budgets for Billing and Cost Management. For more information, see Managing Your Costs with Budgets in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::Budgets::Budget

Mixin: true

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.CfnPropertyMixins.AWS.Budgets;
             using Amazon.CDK;

             var costFilters;
             ExpressionProperty expressionProperty_;
             IMergeStrategy mergeStrategy;
             var plannedBudgetLimits;

             var cfnBudgetPropsMixin = new CfnBudgetPropsMixin(new CfnBudgetMixinProps {
                 Budget = new BudgetDataProperty {
                     AutoAdjustData = new AutoAdjustDataProperty {
                         AutoAdjustType = "autoAdjustType",
                         HistoricalOptions = new HistoricalOptionsProperty {
                             BudgetAdjustmentPeriod = 123
                         }
                     },
                     BillingViewArn = "billingViewArn",
                     BudgetLimit = new SpendProperty {
                         Amount = 123,
                         Unit = "unit"
                     },
                     BudgetName = "budgetName",
                     BudgetType = "budgetType",
                     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"
                     },
                     TimeUnit = "timeUnit"
                 },
                 NotificationsWithSubscribers = new [] { new NotificationWithSubscribersProperty {
                     Notification = new NotificationProperty {
                         ComparisonOperator = "comparisonOperator",
                         NotificationType = "notificationType",
                         Threshold = 123,
                         ThresholdType = "thresholdType"
                     },
                     Subscribers = new [] { new SubscriberProperty {
                         Address = "address",
                         SubscriptionType = "subscriptionType"
                     } }
                 } },
                 ResourceTags = new [] { new ResourceTagProperty {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override void ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Overrides
Mixin.ApplyTo(IConstruct)
Remarks

creates, replaces, or deletes budgets for Billing and Cost Management. For more information, see Managing Your Costs with Budgets in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::Budgets::Budget

Mixin: true

ExampleMetadata: fixture=_generated

Supports(IConstruct)

Check if this mixin supports the given construct.

public override bool Supports(IConstruct construct)
Parameters
construct IConstruct
Returns

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

creates, replaces, or deletes budgets for Billing and Cost Management. For more information, see Managing Your Costs with Budgets in the Billing and Cost Management User Guide .

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

CloudformationResource: AWS::Budgets::Budget

Mixin: true

ExampleMetadata: fixture=_generated

Implements

Constructs.IMixin
Back to top Generated by DocFX