CostTypesProperty Struct
The types of cost that are included in a COST budget, such as tax and subscriptions.
USAGE , RI_UTILIZATION , RI_COVERAGE , SAVINGS_PLANS_UTILIZATION , and SAVINGS_PLANS_COVERAGE budgets don't have CostTypes .
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 costTypesProperty: budgets.CfnBudget.CostTypesProperty = {
includeCredit: false,
includeDiscount: false,
includeOtherSubscription: false,
includeRecurring: false,
includeRefund: false,
includeSubscription: false,
includeSupport: false,
includeTax: false,
includeUpfront: false,
useAmortized: false,
useBlended: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_budgets as budgets
cost_types_property = budgets.CfnBudget.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
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.budgets.*;
CostTypesProperty costTypesProperty = CostTypesProperty.builder()
.includeCredit(false)
.includeDiscount(false)
.includeOtherSubscription(false)
.includeRecurring(false)
.includeRefund(false)
.includeSubscription(false)
.includeSupport(false)
.includeTax(false)
.includeUpfront(false)
.useAmortized(false)
.useBlended(false)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Budgets;
var costTypesProperty = new CostTypesProperty {
IncludeCredit = false,
IncludeDiscount = false,
IncludeOtherSubscription = false,
IncludeRecurring = false,
IncludeRefund = false,
IncludeSubscription = false,
IncludeSupport = false,
IncludeTax = false,
IncludeUpfront = false,
UseAmortized = false,
UseBlended = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
costTypesProperty := &CostTypesProperty{
IncludeCredit: jsii.Boolean(false),
IncludeDiscount: jsii.Boolean(false),
IncludeOtherSubscription: jsii.Boolean(false),
IncludeRecurring: jsii.Boolean(false),
IncludeRefund: jsii.Boolean(false),
IncludeSubscription: jsii.Boolean(false),
IncludeSupport: jsii.Boolean(false),
IncludeTax: jsii.Boolean(false),
IncludeUpfront: jsii.Boolean(false),
UseAmortized: jsii.Boolean(false),
UseBlended: jsii.Boolean(false),
}
Properties
includeCreditoptionalboolean | IResolvableinclude_creditoptionaltyping.Union[bool, IResolvable]includeCreditoptionalBooleanIncludeCreditoptionalboolIncludeCreditoptionalinterface{} #Specifies whether a budget includes credits.
The default value is true .
includeDiscountoptionalboolean | IResolvableinclude_discountoptionaltyping.Union[bool, IResolvable]includeDiscountoptionalBooleanIncludeDiscountoptionalboolIncludeDiscountoptionalinterface{} #Specifies whether a budget includes discounts.
The default value is true .
includeOtherSubscriptionoptionalboolean | IResolvableinclude_other_subscriptionoptionaltyping.Union[bool, IResolvable]includeOtherSubscriptionoptionalBooleanIncludeOtherSubscriptionoptionalboolIncludeOtherSubscriptionoptionalinterface{} #Specifies whether a budget includes non-RI subscription costs.
The default value is true .
includeRecurringoptionalboolean | IResolvableinclude_recurringoptionaltyping.Union[bool, IResolvable]includeRecurringoptionalBooleanIncludeRecurringoptionalboolIncludeRecurringoptionalinterface{} #Specifies whether a budget includes recurring fees such as monthly RI fees.
The default value is true .
includeRefundoptionalboolean | IResolvableinclude_refundoptionaltyping.Union[bool, IResolvable]includeRefundoptionalBooleanIncludeRefundoptionalboolIncludeRefundoptionalinterface{} #Specifies whether a budget includes refunds.
The default value is true .
includeSubscriptionoptionalboolean | IResolvableinclude_subscriptionoptionaltyping.Union[bool, IResolvable]includeSubscriptionoptionalBooleanIncludeSubscriptionoptionalboolIncludeSubscriptionoptionalinterface{} #Specifies whether a budget includes subscriptions.
The default value is true .
includeSupportoptionalboolean | IResolvableinclude_supportoptionaltyping.Union[bool, IResolvable]includeSupportoptionalBooleanIncludeSupportoptionalboolIncludeSupportoptionalinterface{} #Specifies whether a budget includes support subscription fees.
The default value is true .
includeTaxoptionalboolean | IResolvableinclude_taxoptionaltyping.Union[bool, IResolvable]includeTaxoptionalBooleanIncludeTaxoptionalboolIncludeTaxoptionalinterface{} #Specifies whether a budget includes taxes.
The default value is true .
includeUpfrontoptionalboolean | IResolvableinclude_upfrontoptionaltyping.Union[bool, IResolvable]includeUpfrontoptionalBooleanIncludeUpfrontoptionalboolIncludeUpfrontoptionalinterface{} #Specifies whether a budget includes upfront RI costs.
The default value is true .
useAmortizedoptionalboolean | IResolvableuse_amortizedoptionaltyping.Union[bool, IResolvable]useAmortizedoptionalBooleanUseAmortizedoptionalboolUseAmortizedoptionalinterface{} #Specifies whether a budget uses the amortized rate.
The default value is false .
useBlendedoptionalboolean | IResolvableuse_blendedoptionaltyping.Union[bool, IResolvable]useBlendedoptionalBooleanUseBlendedoptionalboolUseBlendedoptionalinterface{} #Specifies whether a budget uses a blended rate.
The default value is false .