interface CfnBudgetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Deadline.CfnBudgetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdeadline#CfnBudgetProps |
Java | software.amazon.awscdk.services.deadline.CfnBudgetProps |
Python | aws_cdk.aws_deadline.CfnBudgetProps |
TypeScript | aws-cdk-lib » aws_deadline » CfnBudgetProps |
Properties for defining a CfnBudget.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_deadline as deadline } from 'aws-cdk-lib';
const cfnBudgetProps: deadline.CfnBudgetProps = {
actions: [{
thresholdPercentage: 123,
type: 'type',
// the properties below are optional
description: 'description',
}],
approximateDollarLimit: 123,
displayName: 'displayName',
farmId: 'farmId',
schedule: {
fixed: {
endTime: 'endTime',
startTime: 'startTime',
},
},
usageTrackingResource: {
queueId: 'queueId',
},
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| actions | IResolvable | (IResolvable | Budget)[] | The budget actions to specify what happens when the budget runs out. |
| approximate | number | The dollar limit based on consumed usage. |
| display | string | The display name of the budget. |
| farm | string | The farm ID. |
| schedule | IResolvable | Budget | The start and end time of the budget. |
| usage | IResolvable | Usage | The usage details of the allotted budget. |
| description? | string | The description of the budget. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
actions
Type:
IResolvable | (IResolvable | Budget)[]
The budget actions to specify what happens when the budget runs out.
approximateDollarLimit
Type:
number
The dollar limit based on consumed usage.
displayName
Type:
string
The display name of the budget.
farmId
Type:
string
The farm ID.
schedule
Type:
IResolvable | Budget
The start and end time of the budget.
usageTrackingResource
Type:
IResolvable | Usage
The usage details of the allotted budget.
description?
Type:
string
(optional)
The description of the budget.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.

.NET
Go
Java
Python
TypeScript