Documentation
¶
Overview ¶
nolint: lll
nolint: lll
Index ¶
- type Budget
- type BudgetArgs
- type BudgetCostTypes
- type BudgetCostTypesArgs
- func (BudgetCostTypesArgs) ElementType() reflect.Type
- func (i BudgetCostTypesArgs) ToBudgetCostTypesOutput() BudgetCostTypesOutput
- func (i BudgetCostTypesArgs) ToBudgetCostTypesOutputWithContext(ctx context.Context) BudgetCostTypesOutput
- func (i BudgetCostTypesArgs) ToBudgetCostTypesPtrOutput() BudgetCostTypesPtrOutput
- func (i BudgetCostTypesArgs) ToBudgetCostTypesPtrOutputWithContext(ctx context.Context) BudgetCostTypesPtrOutput
- type BudgetCostTypesInput
- type BudgetCostTypesOutput
- func (BudgetCostTypesOutput) ElementType() reflect.Type
- func (o BudgetCostTypesOutput) IncludeCredit() pulumi.BoolPtrOutput
- func (o BudgetCostTypesOutput) IncludeDiscount() pulumi.BoolPtrOutput
- func (o BudgetCostTypesOutput) IncludeOtherSubscription() pulumi.BoolPtrOutput
- func (o BudgetCostTypesOutput) IncludeRecurring() pulumi.BoolPtrOutput
- func (o BudgetCostTypesOutput) IncludeRefund() pulumi.BoolPtrOutput
- func (o BudgetCostTypesOutput) IncludeSubscription() pulumi.BoolPtrOutput
- func (o BudgetCostTypesOutput) IncludeSupport() pulumi.BoolPtrOutput
- func (o BudgetCostTypesOutput) IncludeTax() pulumi.BoolPtrOutput
- func (o BudgetCostTypesOutput) IncludeUpfront() pulumi.BoolPtrOutput
- func (o BudgetCostTypesOutput) ToBudgetCostTypesOutput() BudgetCostTypesOutput
- func (o BudgetCostTypesOutput) ToBudgetCostTypesOutputWithContext(ctx context.Context) BudgetCostTypesOutput
- func (o BudgetCostTypesOutput) ToBudgetCostTypesPtrOutput() BudgetCostTypesPtrOutput
- func (o BudgetCostTypesOutput) ToBudgetCostTypesPtrOutputWithContext(ctx context.Context) BudgetCostTypesPtrOutput
- func (o BudgetCostTypesOutput) UseAmortized() pulumi.BoolPtrOutput
- func (o BudgetCostTypesOutput) UseBlended() pulumi.BoolPtrOutput
- type BudgetCostTypesPtrInput
- type BudgetCostTypesPtrOutput
- func (o BudgetCostTypesPtrOutput) Elem() BudgetCostTypesOutput
- func (BudgetCostTypesPtrOutput) ElementType() reflect.Type
- func (o BudgetCostTypesPtrOutput) IncludeCredit() pulumi.BoolPtrOutput
- func (o BudgetCostTypesPtrOutput) IncludeDiscount() pulumi.BoolPtrOutput
- func (o BudgetCostTypesPtrOutput) IncludeOtherSubscription() pulumi.BoolPtrOutput
- func (o BudgetCostTypesPtrOutput) IncludeRecurring() pulumi.BoolPtrOutput
- func (o BudgetCostTypesPtrOutput) IncludeRefund() pulumi.BoolPtrOutput
- func (o BudgetCostTypesPtrOutput) IncludeSubscription() pulumi.BoolPtrOutput
- func (o BudgetCostTypesPtrOutput) IncludeSupport() pulumi.BoolPtrOutput
- func (o BudgetCostTypesPtrOutput) IncludeTax() pulumi.BoolPtrOutput
- func (o BudgetCostTypesPtrOutput) IncludeUpfront() pulumi.BoolPtrOutput
- func (o BudgetCostTypesPtrOutput) ToBudgetCostTypesPtrOutput() BudgetCostTypesPtrOutput
- func (o BudgetCostTypesPtrOutput) ToBudgetCostTypesPtrOutputWithContext(ctx context.Context) BudgetCostTypesPtrOutput
- func (o BudgetCostTypesPtrOutput) UseAmortized() pulumi.BoolPtrOutput
- func (o BudgetCostTypesPtrOutput) UseBlended() pulumi.BoolPtrOutput
- type BudgetNotification
- type BudgetNotificationArgs
- type BudgetNotificationArray
- type BudgetNotificationArrayInput
- type BudgetNotificationArrayOutput
- func (BudgetNotificationArrayOutput) ElementType() reflect.Type
- func (o BudgetNotificationArrayOutput) Index(i pulumi.IntInput) BudgetNotificationOutput
- func (o BudgetNotificationArrayOutput) ToBudgetNotificationArrayOutput() BudgetNotificationArrayOutput
- func (o BudgetNotificationArrayOutput) ToBudgetNotificationArrayOutputWithContext(ctx context.Context) BudgetNotificationArrayOutput
- type BudgetNotificationInput
- type BudgetNotificationOutput
- func (o BudgetNotificationOutput) ComparisonOperator() pulumi.StringOutput
- func (BudgetNotificationOutput) ElementType() reflect.Type
- func (o BudgetNotificationOutput) NotificationType() pulumi.StringOutput
- func (o BudgetNotificationOutput) SubscriberEmailAddresses() pulumi.StringArrayOutput
- func (o BudgetNotificationOutput) SubscriberSnsTopicArns() pulumi.StringArrayOutput
- func (o BudgetNotificationOutput) Threshold() pulumi.Float64Output
- func (o BudgetNotificationOutput) ThresholdType() pulumi.StringOutput
- func (o BudgetNotificationOutput) ToBudgetNotificationOutput() BudgetNotificationOutput
- func (o BudgetNotificationOutput) ToBudgetNotificationOutputWithContext(ctx context.Context) BudgetNotificationOutput
- type BudgetState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Budget ¶
type Budget struct { pulumi.CustomResourceState // The ID of the target account for budget. Will use current user's accountId by default if omitted. AccountId pulumi.StringOutput `pulumi:"accountId"` // Whether this budget tracks monetary cost or usage. BudgetType pulumi.StringOutput `pulumi:"budgetType"` // Map of CostFilters key/value pairs to apply to the budget. CostFilters pulumi.MapOutput `pulumi:"costFilters"` // Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions.. CostTypes BudgetCostTypesOutput `pulumi:"costTypes"` // The amount of cost or usage being measured for a budget. LimitAmount pulumi.StringOutput `pulumi:"limitAmount"` // The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB. See [Spend](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/data-type-spend.html) documentation. LimitUnit pulumi.StringOutput `pulumi:"limitUnit"` // The name of a budget. Unique within accounts. Name pulumi.StringOutput `pulumi:"name"` // The prefix of the name of a budget. Unique within accounts. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // Object containing Budget Notifications. Can be used multiple times to define more than one budget notification Notifications BudgetNotificationArrayOutput `pulumi:"notifications"` // The end of the time period covered by the budget. There are no restrictions on the end date. Format: `2017-01-01_12:00`. TimePeriodEnd pulumi.StringPtrOutput `pulumi:"timePeriodEnd"` // The start of the time period covered by the budget. The start date must come before the end date. Format: `2017-01-01_12:00`. TimePeriodStart pulumi.StringOutput `pulumi:"timePeriodStart"` // The length of time until a budget resets the actual and forecasted spend. Valid values: `MONTHLY`, `QUARTERLY`, `ANNUALLY`. TimeUnit pulumi.StringOutput `pulumi:"timeUnit"` }
Provides a budgets budget resource. Budgets use the cost visualisation provided by Cost Explorer to show you the status of your budgets, to provide forecasts of your estimated costs, and to track your AWS usage, including your free tier usage.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/budgets_budget.html.markdown.
func GetBudget ¶
func GetBudget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BudgetState, opts ...pulumi.ResourceOption) (*Budget, error)
GetBudget gets an existing Budget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBudget ¶
func NewBudget(ctx *pulumi.Context, name string, args *BudgetArgs, opts ...pulumi.ResourceOption) (*Budget, error)
NewBudget registers a new resource with the given unique name, arguments, and options.
type BudgetArgs ¶
type BudgetArgs struct { // The ID of the target account for budget. Will use current user's accountId by default if omitted. AccountId pulumi.StringPtrInput // Whether this budget tracks monetary cost or usage. BudgetType pulumi.StringInput // Map of CostFilters key/value pairs to apply to the budget. CostFilters pulumi.MapInput // Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions.. CostTypes BudgetCostTypesPtrInput // The amount of cost or usage being measured for a budget. LimitAmount pulumi.StringInput // The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB. See [Spend](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/data-type-spend.html) documentation. LimitUnit pulumi.StringInput // The name of a budget. Unique within accounts. Name pulumi.StringPtrInput // The prefix of the name of a budget. Unique within accounts. NamePrefix pulumi.StringPtrInput // Object containing Budget Notifications. Can be used multiple times to define more than one budget notification Notifications BudgetNotificationArrayInput // The end of the time period covered by the budget. There are no restrictions on the end date. Format: `2017-01-01_12:00`. TimePeriodEnd pulumi.StringPtrInput // The start of the time period covered by the budget. The start date must come before the end date. Format: `2017-01-01_12:00`. TimePeriodStart pulumi.StringInput // The length of time until a budget resets the actual and forecasted spend. Valid values: `MONTHLY`, `QUARTERLY`, `ANNUALLY`. TimeUnit pulumi.StringInput }
The set of arguments for constructing a Budget resource.
func (BudgetArgs) ElementType ¶ added in v1.19.0
func (BudgetArgs) ElementType() reflect.Type
type BudgetCostTypes ¶ added in v1.19.0
type BudgetCostTypes struct { // A boolean value whether to include credits in the cost budget. Defaults to `true` IncludeCredit *bool `pulumi:"includeCredit"` // Specifies whether a budget includes discounts. Defaults to `true` IncludeDiscount *bool `pulumi:"includeDiscount"` // A boolean value whether to include other subscription costs in the cost budget. Defaults to `true` IncludeOtherSubscription *bool `pulumi:"includeOtherSubscription"` // A boolean value whether to include recurring costs in the cost budget. Defaults to `true` IncludeRecurring *bool `pulumi:"includeRecurring"` // A boolean value whether to include refunds in the cost budget. Defaults to `true` IncludeRefund *bool `pulumi:"includeRefund"` // A boolean value whether to include subscriptions in the cost budget. Defaults to `true` IncludeSubscription *bool `pulumi:"includeSubscription"` // A boolean value whether to include support costs in the cost budget. Defaults to `true` IncludeSupport *bool `pulumi:"includeSupport"` // A boolean value whether to include tax in the cost budget. Defaults to `true` IncludeTax *bool `pulumi:"includeTax"` // A boolean value whether to include upfront costs in the cost budget. Defaults to `true` IncludeUpfront *bool `pulumi:"includeUpfront"` // Specifies whether a budget uses the amortized rate. Defaults to `false` UseAmortized *bool `pulumi:"useAmortized"` // A boolean value whether to use blended costs in the cost budget. Defaults to `false` UseBlended *bool `pulumi:"useBlended"` }
type BudgetCostTypesArgs ¶ added in v1.19.0
type BudgetCostTypesArgs struct { // A boolean value whether to include credits in the cost budget. Defaults to `true` IncludeCredit pulumi.BoolPtrInput `pulumi:"includeCredit"` // Specifies whether a budget includes discounts. Defaults to `true` IncludeDiscount pulumi.BoolPtrInput `pulumi:"includeDiscount"` // A boolean value whether to include other subscription costs in the cost budget. Defaults to `true` IncludeOtherSubscription pulumi.BoolPtrInput `pulumi:"includeOtherSubscription"` // A boolean value whether to include recurring costs in the cost budget. Defaults to `true` IncludeRecurring pulumi.BoolPtrInput `pulumi:"includeRecurring"` // A boolean value whether to include refunds in the cost budget. Defaults to `true` IncludeRefund pulumi.BoolPtrInput `pulumi:"includeRefund"` // A boolean value whether to include subscriptions in the cost budget. Defaults to `true` IncludeSubscription pulumi.BoolPtrInput `pulumi:"includeSubscription"` // A boolean value whether to include support costs in the cost budget. Defaults to `true` IncludeSupport pulumi.BoolPtrInput `pulumi:"includeSupport"` // A boolean value whether to include tax in the cost budget. Defaults to `true` IncludeTax pulumi.BoolPtrInput `pulumi:"includeTax"` // A boolean value whether to include upfront costs in the cost budget. Defaults to `true` IncludeUpfront pulumi.BoolPtrInput `pulumi:"includeUpfront"` // Specifies whether a budget uses the amortized rate. Defaults to `false` UseAmortized pulumi.BoolPtrInput `pulumi:"useAmortized"` // A boolean value whether to use blended costs in the cost budget. Defaults to `false` UseBlended pulumi.BoolPtrInput `pulumi:"useBlended"` }
func (BudgetCostTypesArgs) ElementType ¶ added in v1.19.0
func (BudgetCostTypesArgs) ElementType() reflect.Type
func (BudgetCostTypesArgs) ToBudgetCostTypesOutput ¶ added in v1.19.0
func (i BudgetCostTypesArgs) ToBudgetCostTypesOutput() BudgetCostTypesOutput
func (BudgetCostTypesArgs) ToBudgetCostTypesOutputWithContext ¶ added in v1.19.0
func (i BudgetCostTypesArgs) ToBudgetCostTypesOutputWithContext(ctx context.Context) BudgetCostTypesOutput
func (BudgetCostTypesArgs) ToBudgetCostTypesPtrOutput ¶ added in v1.19.0
func (i BudgetCostTypesArgs) ToBudgetCostTypesPtrOutput() BudgetCostTypesPtrOutput
func (BudgetCostTypesArgs) ToBudgetCostTypesPtrOutputWithContext ¶ added in v1.19.0
func (i BudgetCostTypesArgs) ToBudgetCostTypesPtrOutputWithContext(ctx context.Context) BudgetCostTypesPtrOutput
type BudgetCostTypesInput ¶ added in v1.19.0
type BudgetCostTypesInput interface { pulumi.Input ToBudgetCostTypesOutput() BudgetCostTypesOutput ToBudgetCostTypesOutputWithContext(context.Context) BudgetCostTypesOutput }
type BudgetCostTypesOutput ¶ added in v1.19.0
type BudgetCostTypesOutput struct{ *pulumi.OutputState }
func (BudgetCostTypesOutput) ElementType ¶ added in v1.19.0
func (BudgetCostTypesOutput) ElementType() reflect.Type
func (BudgetCostTypesOutput) IncludeCredit ¶ added in v1.19.0
func (o BudgetCostTypesOutput) IncludeCredit() pulumi.BoolPtrOutput
A boolean value whether to include credits in the cost budget. Defaults to `true`
func (BudgetCostTypesOutput) IncludeDiscount ¶ added in v1.19.0
func (o BudgetCostTypesOutput) IncludeDiscount() pulumi.BoolPtrOutput
Specifies whether a budget includes discounts. Defaults to `true`
func (BudgetCostTypesOutput) IncludeOtherSubscription ¶ added in v1.19.0
func (o BudgetCostTypesOutput) IncludeOtherSubscription() pulumi.BoolPtrOutput
A boolean value whether to include other subscription costs in the cost budget. Defaults to `true`
func (BudgetCostTypesOutput) IncludeRecurring ¶ added in v1.19.0
func (o BudgetCostTypesOutput) IncludeRecurring() pulumi.BoolPtrOutput
A boolean value whether to include recurring costs in the cost budget. Defaults to `true`
func (BudgetCostTypesOutput) IncludeRefund ¶ added in v1.19.0
func (o BudgetCostTypesOutput) IncludeRefund() pulumi.BoolPtrOutput
A boolean value whether to include refunds in the cost budget. Defaults to `true`
func (BudgetCostTypesOutput) IncludeSubscription ¶ added in v1.19.0
func (o BudgetCostTypesOutput) IncludeSubscription() pulumi.BoolPtrOutput
A boolean value whether to include subscriptions in the cost budget. Defaults to `true`
func (BudgetCostTypesOutput) IncludeSupport ¶ added in v1.19.0
func (o BudgetCostTypesOutput) IncludeSupport() pulumi.BoolPtrOutput
A boolean value whether to include support costs in the cost budget. Defaults to `true`
func (BudgetCostTypesOutput) IncludeTax ¶ added in v1.19.0
func (o BudgetCostTypesOutput) IncludeTax() pulumi.BoolPtrOutput
A boolean value whether to include tax in the cost budget. Defaults to `true`
func (BudgetCostTypesOutput) IncludeUpfront ¶ added in v1.19.0
func (o BudgetCostTypesOutput) IncludeUpfront() pulumi.BoolPtrOutput
A boolean value whether to include upfront costs in the cost budget. Defaults to `true`
func (BudgetCostTypesOutput) ToBudgetCostTypesOutput ¶ added in v1.19.0
func (o BudgetCostTypesOutput) ToBudgetCostTypesOutput() BudgetCostTypesOutput
func (BudgetCostTypesOutput) ToBudgetCostTypesOutputWithContext ¶ added in v1.19.0
func (o BudgetCostTypesOutput) ToBudgetCostTypesOutputWithContext(ctx context.Context) BudgetCostTypesOutput
func (BudgetCostTypesOutput) ToBudgetCostTypesPtrOutput ¶ added in v1.19.0
func (o BudgetCostTypesOutput) ToBudgetCostTypesPtrOutput() BudgetCostTypesPtrOutput
func (BudgetCostTypesOutput) ToBudgetCostTypesPtrOutputWithContext ¶ added in v1.19.0
func (o BudgetCostTypesOutput) ToBudgetCostTypesPtrOutputWithContext(ctx context.Context) BudgetCostTypesPtrOutput
func (BudgetCostTypesOutput) UseAmortized ¶ added in v1.19.0
func (o BudgetCostTypesOutput) UseAmortized() pulumi.BoolPtrOutput
Specifies whether a budget uses the amortized rate. Defaults to `false`
func (BudgetCostTypesOutput) UseBlended ¶ added in v1.19.0
func (o BudgetCostTypesOutput) UseBlended() pulumi.BoolPtrOutput
A boolean value whether to use blended costs in the cost budget. Defaults to `false`
type BudgetCostTypesPtrInput ¶ added in v1.19.0
type BudgetCostTypesPtrInput interface { pulumi.Input ToBudgetCostTypesPtrOutput() BudgetCostTypesPtrOutput ToBudgetCostTypesPtrOutputWithContext(context.Context) BudgetCostTypesPtrOutput }
func BudgetCostTypesPtr ¶ added in v1.19.0
func BudgetCostTypesPtr(v *BudgetCostTypesArgs) BudgetCostTypesPtrInput
type BudgetCostTypesPtrOutput ¶ added in v1.19.0
type BudgetCostTypesPtrOutput struct{ *pulumi.OutputState }
func (BudgetCostTypesPtrOutput) Elem ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) Elem() BudgetCostTypesOutput
func (BudgetCostTypesPtrOutput) ElementType ¶ added in v1.19.0
func (BudgetCostTypesPtrOutput) ElementType() reflect.Type
func (BudgetCostTypesPtrOutput) IncludeCredit ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) IncludeCredit() pulumi.BoolPtrOutput
A boolean value whether to include credits in the cost budget. Defaults to `true`
func (BudgetCostTypesPtrOutput) IncludeDiscount ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) IncludeDiscount() pulumi.BoolPtrOutput
Specifies whether a budget includes discounts. Defaults to `true`
func (BudgetCostTypesPtrOutput) IncludeOtherSubscription ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) IncludeOtherSubscription() pulumi.BoolPtrOutput
A boolean value whether to include other subscription costs in the cost budget. Defaults to `true`
func (BudgetCostTypesPtrOutput) IncludeRecurring ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) IncludeRecurring() pulumi.BoolPtrOutput
A boolean value whether to include recurring costs in the cost budget. Defaults to `true`
func (BudgetCostTypesPtrOutput) IncludeRefund ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) IncludeRefund() pulumi.BoolPtrOutput
A boolean value whether to include refunds in the cost budget. Defaults to `true`
func (BudgetCostTypesPtrOutput) IncludeSubscription ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) IncludeSubscription() pulumi.BoolPtrOutput
A boolean value whether to include subscriptions in the cost budget. Defaults to `true`
func (BudgetCostTypesPtrOutput) IncludeSupport ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) IncludeSupport() pulumi.BoolPtrOutput
A boolean value whether to include support costs in the cost budget. Defaults to `true`
func (BudgetCostTypesPtrOutput) IncludeTax ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) IncludeTax() pulumi.BoolPtrOutput
A boolean value whether to include tax in the cost budget. Defaults to `true`
func (BudgetCostTypesPtrOutput) IncludeUpfront ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) IncludeUpfront() pulumi.BoolPtrOutput
A boolean value whether to include upfront costs in the cost budget. Defaults to `true`
func (BudgetCostTypesPtrOutput) ToBudgetCostTypesPtrOutput ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) ToBudgetCostTypesPtrOutput() BudgetCostTypesPtrOutput
func (BudgetCostTypesPtrOutput) ToBudgetCostTypesPtrOutputWithContext ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) ToBudgetCostTypesPtrOutputWithContext(ctx context.Context) BudgetCostTypesPtrOutput
func (BudgetCostTypesPtrOutput) UseAmortized ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) UseAmortized() pulumi.BoolPtrOutput
Specifies whether a budget uses the amortized rate. Defaults to `false`
func (BudgetCostTypesPtrOutput) UseBlended ¶ added in v1.19.0
func (o BudgetCostTypesPtrOutput) UseBlended() pulumi.BoolPtrOutput
A boolean value whether to use blended costs in the cost budget. Defaults to `false`
type BudgetNotification ¶ added in v1.19.0
type BudgetNotification struct { // (Required) Comparison operator to use to evaluate the condition. Can be `LESS_THAN`, `EQUAL_TO` or `GREATER_THAN`. ComparisonOperator string `pulumi:"comparisonOperator"` // (Required) What kind of budget value to notify on. Can be `ACTUAL` or `FORECASTED` NotificationType string `pulumi:"notificationType"` // (Optional) E-Mail addresses to notify. Either this or `subscriberSnsTopicArns` is required. SubscriberEmailAddresses []string `pulumi:"subscriberEmailAddresses"` // (Optional) SNS topics to notify. Either this or `subscriberEmailAddresses` is required. SubscriberSnsTopicArns []string `pulumi:"subscriberSnsTopicArns"` // (Required) Threshold when the notification should be sent. Threshold float64 `pulumi:"threshold"` // (Required) What kind of threshold is defined. Can be `PERCENTAGE` OR `ABSOLUTE_VALUE`. ThresholdType string `pulumi:"thresholdType"` }
type BudgetNotificationArgs ¶ added in v1.19.0
type BudgetNotificationArgs struct { // (Required) Comparison operator to use to evaluate the condition. Can be `LESS_THAN`, `EQUAL_TO` or `GREATER_THAN`. ComparisonOperator pulumi.StringInput `pulumi:"comparisonOperator"` // (Required) What kind of budget value to notify on. Can be `ACTUAL` or `FORECASTED` NotificationType pulumi.StringInput `pulumi:"notificationType"` // (Optional) E-Mail addresses to notify. Either this or `subscriberSnsTopicArns` is required. SubscriberEmailAddresses pulumi.StringArrayInput `pulumi:"subscriberEmailAddresses"` // (Optional) SNS topics to notify. Either this or `subscriberEmailAddresses` is required. SubscriberSnsTopicArns pulumi.StringArrayInput `pulumi:"subscriberSnsTopicArns"` // (Required) Threshold when the notification should be sent. Threshold pulumi.Float64Input `pulumi:"threshold"` // (Required) What kind of threshold is defined. Can be `PERCENTAGE` OR `ABSOLUTE_VALUE`. ThresholdType pulumi.StringInput `pulumi:"thresholdType"` }
func (BudgetNotificationArgs) ElementType ¶ added in v1.19.0
func (BudgetNotificationArgs) ElementType() reflect.Type
func (BudgetNotificationArgs) ToBudgetNotificationOutput ¶ added in v1.19.0
func (i BudgetNotificationArgs) ToBudgetNotificationOutput() BudgetNotificationOutput
func (BudgetNotificationArgs) ToBudgetNotificationOutputWithContext ¶ added in v1.19.0
func (i BudgetNotificationArgs) ToBudgetNotificationOutputWithContext(ctx context.Context) BudgetNotificationOutput
type BudgetNotificationArray ¶ added in v1.19.0
type BudgetNotificationArray []BudgetNotificationInput
func (BudgetNotificationArray) ElementType ¶ added in v1.19.0
func (BudgetNotificationArray) ElementType() reflect.Type
func (BudgetNotificationArray) ToBudgetNotificationArrayOutput ¶ added in v1.19.0
func (i BudgetNotificationArray) ToBudgetNotificationArrayOutput() BudgetNotificationArrayOutput
func (BudgetNotificationArray) ToBudgetNotificationArrayOutputWithContext ¶ added in v1.19.0
func (i BudgetNotificationArray) ToBudgetNotificationArrayOutputWithContext(ctx context.Context) BudgetNotificationArrayOutput
type BudgetNotificationArrayInput ¶ added in v1.19.0
type BudgetNotificationArrayInput interface { pulumi.Input ToBudgetNotificationArrayOutput() BudgetNotificationArrayOutput ToBudgetNotificationArrayOutputWithContext(context.Context) BudgetNotificationArrayOutput }
type BudgetNotificationArrayOutput ¶ added in v1.19.0
type BudgetNotificationArrayOutput struct{ *pulumi.OutputState }
func (BudgetNotificationArrayOutput) ElementType ¶ added in v1.19.0
func (BudgetNotificationArrayOutput) ElementType() reflect.Type
func (BudgetNotificationArrayOutput) Index ¶ added in v1.19.0
func (o BudgetNotificationArrayOutput) Index(i pulumi.IntInput) BudgetNotificationOutput
func (BudgetNotificationArrayOutput) ToBudgetNotificationArrayOutput ¶ added in v1.19.0
func (o BudgetNotificationArrayOutput) ToBudgetNotificationArrayOutput() BudgetNotificationArrayOutput
func (BudgetNotificationArrayOutput) ToBudgetNotificationArrayOutputWithContext ¶ added in v1.19.0
func (o BudgetNotificationArrayOutput) ToBudgetNotificationArrayOutputWithContext(ctx context.Context) BudgetNotificationArrayOutput
type BudgetNotificationInput ¶ added in v1.19.0
type BudgetNotificationInput interface { pulumi.Input ToBudgetNotificationOutput() BudgetNotificationOutput ToBudgetNotificationOutputWithContext(context.Context) BudgetNotificationOutput }
type BudgetNotificationOutput ¶ added in v1.19.0
type BudgetNotificationOutput struct{ *pulumi.OutputState }
func (BudgetNotificationOutput) ComparisonOperator ¶ added in v1.19.0
func (o BudgetNotificationOutput) ComparisonOperator() pulumi.StringOutput
(Required) Comparison operator to use to evaluate the condition. Can be `LESS_THAN`, `EQUAL_TO` or `GREATER_THAN`.
func (BudgetNotificationOutput) ElementType ¶ added in v1.19.0
func (BudgetNotificationOutput) ElementType() reflect.Type
func (BudgetNotificationOutput) NotificationType ¶ added in v1.19.0
func (o BudgetNotificationOutput) NotificationType() pulumi.StringOutput
(Required) What kind of budget value to notify on. Can be `ACTUAL` or `FORECASTED`
func (BudgetNotificationOutput) SubscriberEmailAddresses ¶ added in v1.19.0
func (o BudgetNotificationOutput) SubscriberEmailAddresses() pulumi.StringArrayOutput
(Optional) E-Mail addresses to notify. Either this or `subscriberSnsTopicArns` is required.
func (BudgetNotificationOutput) SubscriberSnsTopicArns ¶ added in v1.19.0
func (o BudgetNotificationOutput) SubscriberSnsTopicArns() pulumi.StringArrayOutput
(Optional) SNS topics to notify. Either this or `subscriberEmailAddresses` is required.
func (BudgetNotificationOutput) Threshold ¶ added in v1.19.0
func (o BudgetNotificationOutput) Threshold() pulumi.Float64Output
(Required) Threshold when the notification should be sent.
func (BudgetNotificationOutput) ThresholdType ¶ added in v1.19.0
func (o BudgetNotificationOutput) ThresholdType() pulumi.StringOutput
(Required) What kind of threshold is defined. Can be `PERCENTAGE` OR `ABSOLUTE_VALUE`.
func (BudgetNotificationOutput) ToBudgetNotificationOutput ¶ added in v1.19.0
func (o BudgetNotificationOutput) ToBudgetNotificationOutput() BudgetNotificationOutput
func (BudgetNotificationOutput) ToBudgetNotificationOutputWithContext ¶ added in v1.19.0
func (o BudgetNotificationOutput) ToBudgetNotificationOutputWithContext(ctx context.Context) BudgetNotificationOutput
type BudgetState ¶
type BudgetState struct { // The ID of the target account for budget. Will use current user's accountId by default if omitted. AccountId pulumi.StringPtrInput // Whether this budget tracks monetary cost or usage. BudgetType pulumi.StringPtrInput // Map of CostFilters key/value pairs to apply to the budget. CostFilters pulumi.MapInput // Object containing CostTypes The types of cost included in a budget, such as tax and subscriptions.. CostTypes BudgetCostTypesPtrInput // The amount of cost or usage being measured for a budget. LimitAmount pulumi.StringPtrInput // The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB. See [Spend](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/data-type-spend.html) documentation. LimitUnit pulumi.StringPtrInput // The name of a budget. Unique within accounts. Name pulumi.StringPtrInput // The prefix of the name of a budget. Unique within accounts. NamePrefix pulumi.StringPtrInput // Object containing Budget Notifications. Can be used multiple times to define more than one budget notification Notifications BudgetNotificationArrayInput // The end of the time period covered by the budget. There are no restrictions on the end date. Format: `2017-01-01_12:00`. TimePeriodEnd pulumi.StringPtrInput // The start of the time period covered by the budget. The start date must come before the end date. Format: `2017-01-01_12:00`. TimePeriodStart pulumi.StringPtrInput // The length of time until a budget resets the actual and forecasted spend. Valid values: `MONTHLY`, `QUARTERLY`, `ANNUALLY`. TimeUnit pulumi.StringPtrInput }
func (BudgetState) ElementType ¶ added in v1.19.0
func (BudgetState) ElementType() reflect.Type