interface CfnBudgetMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Budgets.Mixins.CfnBudgetMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbudgets/mixins#CfnBudgetMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.budgets.mixins.CfnBudgetMixinProps |
Python | aws_cdk.mixins_preview.aws_budgets.mixins.CfnBudgetMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_budgets » mixins » CfnBudgetMixinProps |
Properties for CfnBudgetPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budget.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as budgets_mixins } from '@aws-cdk/mixins-preview/aws-budgets';
declare const costFilters: any;
declare const expressionProperty_: budgets_mixins.CfnBudgetPropsMixin.ExpressionProperty;
declare const plannedBudgetLimits: any;
const cfnBudgetMixinProps: budgets_mixins.CfnBudgetMixinProps = {
budget: {
autoAdjustData: {
autoAdjustType: 'autoAdjustType',
historicalOptions: {
budgetAdjustmentPeriod: 123,
},
},
billingViewArn: 'billingViewArn',
budgetLimit: {
amount: 123,
unit: 'unit',
},
budgetName: 'budgetName',
budgetType: 'budgetType',
costFilters: costFilters,
costTypes: {
includeCredit: false,
includeDiscount: false,
includeOtherSubscription: false,
includeRecurring: false,
includeRefund: false,
includeSubscription: false,
includeSupport: false,
includeTax: false,
includeUpfront: false,
useAmortized: false,
useBlended: false,
},
filterExpression: {
and: [expressionProperty_],
costCategories: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
dimensions: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
not: expressionProperty_,
or: [expressionProperty_],
tags: {
key: 'key',
matchOptions: ['matchOptions'],
values: ['values'],
},
},
metrics: ['metrics'],
plannedBudgetLimits: plannedBudgetLimits,
timePeriod: {
end: 'end',
start: 'start',
},
timeUnit: 'timeUnit',
},
notificationsWithSubscribers: [{
notification: {
comparisonOperator: 'comparisonOperator',
notificationType: 'notificationType',
threshold: 123,
thresholdType: 'thresholdType',
},
subscribers: [{
address: 'address',
subscriptionType: 'subscriptionType',
}],
}],
resourceTags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| budget? | IResolvable | Budget | The budget object that you want to create. |
| notifications | IResolvable | (IResolvable | Notification)[] | A notification that you want to associate with a budget. |
| resource | IResolvable | (IResolvable | Resource)[] | An optional list of tags to associate with the specified budget. |
budget?
Type:
IResolvable | Budget
(optional)
The budget object that you want to create.
notificationsWithSubscribers?
Type:
IResolvable | (IResolvable | Notification)[]
(optional)
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 CreateBudget call, AWS creates the notifications and subscribers for you.
resourceTags?
Type:
IResolvable | (IResolvable | Resource)[]
(optional)
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.

.NET
Go
Java
Python
TypeScript