CfnBudgetMixinProps
- class aws_cdk.mixins_preview.aws_budgets.mixins.CfnBudgetMixinProps(*, budget=None, notifications_with_subscribers=None, resource_tags=None)
Bases:
objectProperties for CfnBudgetPropsMixin.
- Parameters:
budget (
Union[IResolvable,BudgetDataProperty,Dict[str,Any],None]) – The budget object that you want to create.notifications_with_subscribers (
Union[IResolvable,Sequence[Union[IResolvable,NotificationWithSubscribersProperty,Dict[str,Any]]],None]) – A notification that you want to associate with a budget. 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 yourCreateBudgetcall, AWS creates the notifications and subscribers for you.resource_tags (
Union[IResolvable,Sequence[Union[IResolvable,ResourceTagProperty,Dict[str,Any]]],None]) – An optional list of tags to associate with the specified budget. 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
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_budgets import mixins as budgets_mixins # cost_filters: Any # expression_property_: budgets_mixins.CfnBudgetPropsMixin.ExpressionProperty # planned_budget_limits: Any cfn_budget_mixin_props = budgets_mixins.CfnBudgetMixinProps( budget=budgets_mixins.CfnBudgetPropsMixin.BudgetDataProperty( auto_adjust_data=budgets_mixins.CfnBudgetPropsMixin.AutoAdjustDataProperty( auto_adjust_type="autoAdjustType", historical_options=budgets_mixins.CfnBudgetPropsMixin.HistoricalOptionsProperty( budget_adjustment_period=123 ) ), billing_view_arn="billingViewArn", budget_limit=budgets_mixins.CfnBudgetPropsMixin.SpendProperty( amount=123, unit="unit" ), budget_name="budgetName", budget_type="budgetType", cost_filters=cost_filters, cost_types=budgets_mixins.CfnBudgetPropsMixin.CostTypesProperty( include_credit=False, include_discount=False, include_other_subscription=False, include_recurring=False, include_refund=False, include_subscription=False, include_support=False, include_tax=False, include_upfront=False, use_amortized=False, use_blended=False ), filter_expression=budgets_mixins.CfnBudgetPropsMixin.ExpressionProperty( and=[expression_property_], cost_categories=budgets_mixins.CfnBudgetPropsMixin.CostCategoryValuesProperty( key="key", match_options=["matchOptions"], values=["values"] ), dimensions=budgets_mixins.CfnBudgetPropsMixin.ExpressionDimensionValuesProperty( key="key", match_options=["matchOptions"], values=["values"] ), not=expression_property_, or=[expression_property_], tags=budgets_mixins.CfnBudgetPropsMixin.TagValuesProperty( key="key", match_options=["matchOptions"], values=["values"] ) ), metrics=["metrics"], planned_budget_limits=planned_budget_limits, time_period=budgets_mixins.CfnBudgetPropsMixin.TimePeriodProperty( end="end", start="start" ), time_unit="timeUnit" ), notifications_with_subscribers=[budgets_mixins.CfnBudgetPropsMixin.NotificationWithSubscribersProperty( notification=budgets_mixins.CfnBudgetPropsMixin.NotificationProperty( comparison_operator="comparisonOperator", notification_type="notificationType", threshold=123, threshold_type="thresholdType" ), subscribers=[budgets_mixins.CfnBudgetPropsMixin.SubscriberProperty( address="address", subscription_type="subscriptionType" )] )], resource_tags=[budgets_mixins.CfnBudgetPropsMixin.ResourceTagProperty( key="key", value="value" )] )
Attributes
- budget
The budget object that you want to create.
- notifications_with_subscribers
A notification that you want to associate with a budget.
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
CreateBudgetcall, AWS creates the notifications and subscribers for you.
- resource_tags
An optional list of tags to associate with the specified budget.
Each tag consists of a key and a value, and each key must be unique for the resource.