interface TimePeriodProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Budgets.CfnBudget.TimePeriodProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbudgets#CfnBudget_TimePeriodProperty |
![]() | software.amazon.awscdk.services.budgets.CfnBudget.TimePeriodProperty |
![]() | aws_cdk.aws_budgets.CfnBudget.TimePeriodProperty |
![]() | aws-cdk-lib » aws_budgets » CfnBudget » TimePeriodProperty |
The period of time that is covered by a budget.
The period has a start date and an end date. The start date must come before the end date. There are no restrictions on the end date.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_budgets as budgets } from 'aws-cdk-lib';
const timePeriodProperty: budgets.CfnBudget.TimePeriodProperty = {
end: 'end',
start: 'start',
};
Properties
Name | Type | Description |
---|---|---|
end? | string | The end date for a budget. |
start? | string | The start date for a budget. |
end?
Type:
string
(optional)
The end date for a budget.
If you didn't specify an end date, AWS set your end date to 06/15/87 00:00 UTC
. The defaults are the same for the AWS Billing and Cost Management console and the API.
After the end date, AWS deletes the budget and all the associated notifications and subscribers. You can change your end date with the UpdateBudget
operation.
start?
Type:
string
(optional)
The start date for a budget.
If you created your budget and didn't specify a start date, the start date defaults to the start of the chosen time period (MONTHLY, QUARTERLY, or ANNUALLY). For example, if you create your budget on January 24, 2019, choose MONTHLY
, and don't set a start date, the start date defaults to 01/01/19 00:00 UTC
. The defaults are the same for the AWS Billing and Cost Management console and the API.
You can change your start date with the UpdateBudget
operation.
Valid values depend on the value of BudgetType
:
- If
BudgetType
isCOST
orUSAGE
: Valid values areMONTHLY
,QUARTERLY
, andANNUALLY
. - If
BudgetType
isRI_UTILIZATION
orRI_COVERAGE
: Valid values areDAILY
,MONTHLY
,QUARTERLY
, andANNUALLY
.