budgets

package
v4.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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"`
	// The ARN of the budget.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// 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.StringMapOutput `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. If you don't specify a start date, AWS defaults to the start of your chosen time period. 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`, and `DAILY`.
	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.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/budgets"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := budgets.NewBudget(ctx, "ec2", &budgets.BudgetArgs{
			BudgetType: pulumi.String("COST"),
			CostFilters: pulumi.StringMap{
				pulumi.String{
					Name: "Service",
					Values: []string{
						"Amazon Elastic Compute Cloud - Compute",
					},
				},
			},
			LimitAmount: pulumi.String("1200"),
			LimitUnit:   pulumi.String("USD"),
			Notifications: budgets.BudgetNotificationArray{
				&budgets.BudgetNotificationArgs{
					ComparisonOperator: pulumi.String("GREATER_THAN"),
					NotificationType:   pulumi.String("FORECASTED"),
					SubscriberEmailAddresses: pulumi.StringArray{
						pulumi.String("test@example.com"),
					},
					Threshold:     pulumi.Float64(100),
					ThresholdType: pulumi.String("PERCENTAGE"),
				},
			},
			TimePeriodEnd:   pulumi.String("2087-06-15_00:00"),
			TimePeriodStart: pulumi.String("2017-07-01_00:00"),
			TimeUnit:        pulumi.String("MONTHLY"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a budget for *$100*.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/budgets"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := budgets.NewBudget(ctx, "cost", &budgets.BudgetArgs{
			BudgetType:  pulumi.String("COST"),
			LimitAmount: pulumi.String("100"),
			LimitUnit:   pulumi.String("USD"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a budget for s3 with a limit of *3 GB* of storage.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/budgets"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := budgets.NewBudget(ctx, "s3", &budgets.BudgetArgs{
			BudgetType:  pulumi.String("USAGE"),
			LimitAmount: pulumi.String("3"),
			LimitUnit:   pulumi.String("GB"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a Savings Plan Utilization Budget

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/budgets"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := budgets.NewBudget(ctx, "savingsPlanUtilization", &budgets.BudgetArgs{
			BudgetType: pulumi.String("SAVINGS_PLANS_UTILIZATION"),
			CostTypes: &budgets.BudgetCostTypesArgs{
				IncludeCredit:            pulumi.Bool(false),
				IncludeDiscount:          pulumi.Bool(false),
				IncludeOtherSubscription: pulumi.Bool(false),
				IncludeRecurring:         pulumi.Bool(false),
				IncludeRefund:            pulumi.Bool(false),
				IncludeSubscription:      pulumi.Bool(true),
				IncludeSupport:           pulumi.Bool(false),
				IncludeTax:               pulumi.Bool(false),
				IncludeUpfront:           pulumi.Bool(false),
				UseBlended:               pulumi.Bool(false),
			},
			LimitAmount: pulumi.String("100.0"),
			LimitUnit:   pulumi.String("PERCENTAGE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a RI Utilization Budget

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/budgets"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := budgets.NewBudget(ctx, "riUtilization", &budgets.BudgetArgs{
			BudgetType: pulumi.String("RI_UTILIZATION"),
			CostFilters: pulumi.StringMap{
				"Service": pulumi.String("Amazon Relational Database Service"),
			},
			CostTypes: &budgets.BudgetCostTypesArgs{
				IncludeCredit:            pulumi.Bool(false),
				IncludeDiscount:          pulumi.Bool(false),
				IncludeOtherSubscription: pulumi.Bool(false),
				IncludeRecurring:         pulumi.Bool(false),
				IncludeRefund:            pulumi.Bool(false),
				IncludeSubscription:      pulumi.Bool(true),
				IncludeSupport:           pulumi.Bool(false),
				IncludeTax:               pulumi.Bool(false),
				IncludeUpfront:           pulumi.Bool(false),
				UseBlended:               pulumi.Bool(false),
			},
			LimitAmount: pulumi.String("100.0"),
			LimitUnit:   pulumi.String("PERCENTAGE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Budgets can be imported using `AccountID:BudgetName`, e.g.,

```sh

$ pulumi import aws:budgets/budget:Budget myBudget 123456789012:myBudget`

```

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.

func (*Budget) ElementType

func (*Budget) ElementType() reflect.Type

func (*Budget) ToBudgetOutput

func (i *Budget) ToBudgetOutput() BudgetOutput

func (*Budget) ToBudgetOutputWithContext

func (i *Budget) ToBudgetOutputWithContext(ctx context.Context) BudgetOutput

func (*Budget) ToBudgetPtrOutput

func (i *Budget) ToBudgetPtrOutput() BudgetPtrOutput

func (*Budget) ToBudgetPtrOutputWithContext

func (i *Budget) ToBudgetPtrOutputWithContext(ctx context.Context) BudgetPtrOutput

type BudgetAction added in v4.9.0

type BudgetAction 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"`
	// The id of the budget action.
	ActionId pulumi.StringOutput `pulumi:"actionId"`
	// The trigger threshold of the action. See Action Threshold.
	ActionThreshold BudgetActionActionThresholdOutput `pulumi:"actionThreshold"`
	// The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition. Valid values are `APPLY_IAM_POLICY`, `APPLY_SCP_POLICY`, and `RUN_SSM_DOCUMENTS`.
	ActionType pulumi.StringOutput `pulumi:"actionType"`
	// This specifies if the action needs manual or automatic approval. Valid values are `AUTOMATIC` and `MANUAL`.
	ApprovalModel pulumi.StringOutput `pulumi:"approvalModel"`
	// The ARN of the budget action.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of a budget.
	BudgetName pulumi.StringOutput `pulumi:"budgetName"`
	// Specifies all of the type-specific parameters. See Definition.
	Definition BudgetActionDefinitionOutput `pulumi:"definition"`
	// The role passed for action execution and reversion. Roles and actions must be in the same account.
	ExecutionRoleArn pulumi.StringOutput `pulumi:"executionRoleArn"`
	// The type of a notification. Valid values are `ACTUAL` or `FORECASTED`.
	NotificationType pulumi.StringOutput `pulumi:"notificationType"`
	// The status of the budget action.
	Status pulumi.StringOutput `pulumi:"status"`
	// A list of subscribers. See Subscriber.
	Subscribers BudgetActionSubscriberArrayOutput `pulumi:"subscribers"`
}

Provides a budget action resource. Budget actions are cost savings controls that run either automatically on your behalf or by using a workflow approval process.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/budgets"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		examplePolicy, err := iam.NewPolicy(ctx, "examplePolicy", &iam.PolicyArgs{
			Description: pulumi.String("My example policy"),
			Policy:      pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"Version\": \"2012-10-17\",\n", "  \"Statement\": [\n", "    {\n", "      \"Action\": [\n", "        \"ec2:Describe*\"\n", "      ],\n", "      \"Effect\": \"Allow\",\n", "      \"Resource\": \"*\"\n", "    }\n", "  ]\n", "}\n")),
		})
		if err != nil {
			return err
		}
		current, err := aws.GetPartition(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{
			AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"Version\": \"2012-10-17\",\n", "  \"Statement\": [\n", "    {\n", "      \"Effect\": \"Allow\",\n", "      \"Principal\": {\n", "        \"Service\": [\n", "          \"budgets.", current.DnsSuffix, "\"\n", "        ]\n", "      },\n", "      \"Action\": [\n", "        \"sts:AssumeRole\"\n", "      ]\n", "    }\n", "  ]\n", "}\n")),
		})
		if err != nil {
			return err
		}
		exampleBudget, err := budgets.NewBudget(ctx, "exampleBudget", &budgets.BudgetArgs{
			BudgetType:      pulumi.String("USAGE"),
			LimitAmount:     pulumi.String("10.0"),
			LimitUnit:       pulumi.String("dollars"),
			TimePeriodStart: pulumi.String("2006-01-02_15:04"),
			TimeUnit:        pulumi.String("MONTHLY"),
		})
		if err != nil {
			return err
		}
		_, err = budgets.NewBudgetAction(ctx, "exampleBudgetAction", &budgets.BudgetActionArgs{
			BudgetName:       exampleBudget.Name,
			ActionType:       pulumi.String("APPLY_IAM_POLICY"),
			ApprovalModel:    pulumi.String("AUTOMATIC"),
			NotificationType: pulumi.String("ACTUAL"),
			ExecutionRoleArn: exampleRole.Arn,
			ActionThreshold: &budgets.BudgetActionActionThresholdArgs{
				ActionThresholdType:  pulumi.String("ABSOLUTE_VALUE"),
				ActionThresholdValue: pulumi.Float64(100),
			},
			Definition: &budgets.BudgetActionDefinitionArgs{
				IamActionDefinition: &budgets.BudgetActionDefinitionIamActionDefinitionArgs{
					PolicyArn: examplePolicy.Arn,
					Roles: pulumi.StringArray{
						exampleRole.Name,
					},
				},
			},
			Subscribers: budgets.BudgetActionSubscriberArray{
				&budgets.BudgetActionSubscriberArgs{
					Address:          pulumi.String("example@example.example"),
					SubscriptionType: pulumi.String("EMAIL"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Budgets can be imported using `AccountID:ActionID:BudgetName`, e.g.,

```sh

$ pulumi import aws:budgets/budgetAction:BudgetAction myBudget 123456789012:some-id:myBudget`

```

func GetBudgetAction added in v4.9.0

func GetBudgetAction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BudgetActionState, opts ...pulumi.ResourceOption) (*BudgetAction, error)

GetBudgetAction gets an existing BudgetAction 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 NewBudgetAction added in v4.9.0

func NewBudgetAction(ctx *pulumi.Context,
	name string, args *BudgetActionArgs, opts ...pulumi.ResourceOption) (*BudgetAction, error)

NewBudgetAction registers a new resource with the given unique name, arguments, and options.

func (*BudgetAction) ElementType added in v4.9.0

func (*BudgetAction) ElementType() reflect.Type

func (*BudgetAction) ToBudgetActionOutput added in v4.9.0

func (i *BudgetAction) ToBudgetActionOutput() BudgetActionOutput

func (*BudgetAction) ToBudgetActionOutputWithContext added in v4.9.0

func (i *BudgetAction) ToBudgetActionOutputWithContext(ctx context.Context) BudgetActionOutput

func (*BudgetAction) ToBudgetActionPtrOutput added in v4.9.0

func (i *BudgetAction) ToBudgetActionPtrOutput() BudgetActionPtrOutput

func (*BudgetAction) ToBudgetActionPtrOutputWithContext added in v4.9.0

func (i *BudgetAction) ToBudgetActionPtrOutputWithContext(ctx context.Context) BudgetActionPtrOutput

type BudgetActionActionThreshold added in v4.9.0

type BudgetActionActionThreshold struct {
	// The type of threshold for a notification. Valid values are `PERCENTAGE` or `ABSOLUTE_VALUE`.
	ActionThresholdType string `pulumi:"actionThresholdType"`
	// The threshold of a notification.
	ActionThresholdValue float64 `pulumi:"actionThresholdValue"`
}

type BudgetActionActionThresholdArgs added in v4.9.0

type BudgetActionActionThresholdArgs struct {
	// The type of threshold for a notification. Valid values are `PERCENTAGE` or `ABSOLUTE_VALUE`.
	ActionThresholdType pulumi.StringInput `pulumi:"actionThresholdType"`
	// The threshold of a notification.
	ActionThresholdValue pulumi.Float64Input `pulumi:"actionThresholdValue"`
}

func (BudgetActionActionThresholdArgs) ElementType added in v4.9.0

func (BudgetActionActionThresholdArgs) ToBudgetActionActionThresholdOutput added in v4.9.0

func (i BudgetActionActionThresholdArgs) ToBudgetActionActionThresholdOutput() BudgetActionActionThresholdOutput

func (BudgetActionActionThresholdArgs) ToBudgetActionActionThresholdOutputWithContext added in v4.9.0

func (i BudgetActionActionThresholdArgs) ToBudgetActionActionThresholdOutputWithContext(ctx context.Context) BudgetActionActionThresholdOutput

func (BudgetActionActionThresholdArgs) ToBudgetActionActionThresholdPtrOutput added in v4.9.0

func (i BudgetActionActionThresholdArgs) ToBudgetActionActionThresholdPtrOutput() BudgetActionActionThresholdPtrOutput

func (BudgetActionActionThresholdArgs) ToBudgetActionActionThresholdPtrOutputWithContext added in v4.9.0

func (i BudgetActionActionThresholdArgs) ToBudgetActionActionThresholdPtrOutputWithContext(ctx context.Context) BudgetActionActionThresholdPtrOutput

type BudgetActionActionThresholdInput added in v4.9.0

type BudgetActionActionThresholdInput interface {
	pulumi.Input

	ToBudgetActionActionThresholdOutput() BudgetActionActionThresholdOutput
	ToBudgetActionActionThresholdOutputWithContext(context.Context) BudgetActionActionThresholdOutput
}

BudgetActionActionThresholdInput is an input type that accepts BudgetActionActionThresholdArgs and BudgetActionActionThresholdOutput values. You can construct a concrete instance of `BudgetActionActionThresholdInput` via:

BudgetActionActionThresholdArgs{...}

type BudgetActionActionThresholdOutput added in v4.9.0

type BudgetActionActionThresholdOutput struct{ *pulumi.OutputState }

func (BudgetActionActionThresholdOutput) ActionThresholdType added in v4.9.0

func (o BudgetActionActionThresholdOutput) ActionThresholdType() pulumi.StringOutput

The type of threshold for a notification. Valid values are `PERCENTAGE` or `ABSOLUTE_VALUE`.

func (BudgetActionActionThresholdOutput) ActionThresholdValue added in v4.9.0

func (o BudgetActionActionThresholdOutput) ActionThresholdValue() pulumi.Float64Output

The threshold of a notification.

func (BudgetActionActionThresholdOutput) ElementType added in v4.9.0

func (BudgetActionActionThresholdOutput) ToBudgetActionActionThresholdOutput added in v4.9.0

func (o BudgetActionActionThresholdOutput) ToBudgetActionActionThresholdOutput() BudgetActionActionThresholdOutput

func (BudgetActionActionThresholdOutput) ToBudgetActionActionThresholdOutputWithContext added in v4.9.0

func (o BudgetActionActionThresholdOutput) ToBudgetActionActionThresholdOutputWithContext(ctx context.Context) BudgetActionActionThresholdOutput

func (BudgetActionActionThresholdOutput) ToBudgetActionActionThresholdPtrOutput added in v4.9.0

func (o BudgetActionActionThresholdOutput) ToBudgetActionActionThresholdPtrOutput() BudgetActionActionThresholdPtrOutput

func (BudgetActionActionThresholdOutput) ToBudgetActionActionThresholdPtrOutputWithContext added in v4.9.0

func (o BudgetActionActionThresholdOutput) ToBudgetActionActionThresholdPtrOutputWithContext(ctx context.Context) BudgetActionActionThresholdPtrOutput

type BudgetActionActionThresholdPtrInput added in v4.9.0

type BudgetActionActionThresholdPtrInput interface {
	pulumi.Input

	ToBudgetActionActionThresholdPtrOutput() BudgetActionActionThresholdPtrOutput
	ToBudgetActionActionThresholdPtrOutputWithContext(context.Context) BudgetActionActionThresholdPtrOutput
}

BudgetActionActionThresholdPtrInput is an input type that accepts BudgetActionActionThresholdArgs, BudgetActionActionThresholdPtr and BudgetActionActionThresholdPtrOutput values. You can construct a concrete instance of `BudgetActionActionThresholdPtrInput` via:

        BudgetActionActionThresholdArgs{...}

or:

        nil

func BudgetActionActionThresholdPtr added in v4.9.0

type BudgetActionActionThresholdPtrOutput added in v4.9.0

type BudgetActionActionThresholdPtrOutput struct{ *pulumi.OutputState }

func (BudgetActionActionThresholdPtrOutput) ActionThresholdType added in v4.9.0

The type of threshold for a notification. Valid values are `PERCENTAGE` or `ABSOLUTE_VALUE`.

func (BudgetActionActionThresholdPtrOutput) ActionThresholdValue added in v4.9.0

The threshold of a notification.

func (BudgetActionActionThresholdPtrOutput) Elem added in v4.9.0

func (BudgetActionActionThresholdPtrOutput) ElementType added in v4.9.0

func (BudgetActionActionThresholdPtrOutput) ToBudgetActionActionThresholdPtrOutput added in v4.9.0

func (o BudgetActionActionThresholdPtrOutput) ToBudgetActionActionThresholdPtrOutput() BudgetActionActionThresholdPtrOutput

func (BudgetActionActionThresholdPtrOutput) ToBudgetActionActionThresholdPtrOutputWithContext added in v4.9.0

func (o BudgetActionActionThresholdPtrOutput) ToBudgetActionActionThresholdPtrOutputWithContext(ctx context.Context) BudgetActionActionThresholdPtrOutput

type BudgetActionArgs added in v4.9.0

type BudgetActionArgs struct {
	// The ID of the target account for budget. Will use current user's accountId by default if omitted.
	AccountId pulumi.StringPtrInput
	// The trigger threshold of the action. See Action Threshold.
	ActionThreshold BudgetActionActionThresholdInput
	// The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition. Valid values are `APPLY_IAM_POLICY`, `APPLY_SCP_POLICY`, and `RUN_SSM_DOCUMENTS`.
	ActionType pulumi.StringInput
	// This specifies if the action needs manual or automatic approval. Valid values are `AUTOMATIC` and `MANUAL`.
	ApprovalModel pulumi.StringInput
	// The name of a budget.
	BudgetName pulumi.StringInput
	// Specifies all of the type-specific parameters. See Definition.
	Definition BudgetActionDefinitionInput
	// The role passed for action execution and reversion. Roles and actions must be in the same account.
	ExecutionRoleArn pulumi.StringInput
	// The type of a notification. Valid values are `ACTUAL` or `FORECASTED`.
	NotificationType pulumi.StringInput
	// A list of subscribers. See Subscriber.
	Subscribers BudgetActionSubscriberArrayInput
}

The set of arguments for constructing a BudgetAction resource.

func (BudgetActionArgs) ElementType added in v4.9.0

func (BudgetActionArgs) ElementType() reflect.Type

type BudgetActionArray added in v4.9.0

type BudgetActionArray []BudgetActionInput

func (BudgetActionArray) ElementType added in v4.9.0

func (BudgetActionArray) ElementType() reflect.Type

func (BudgetActionArray) ToBudgetActionArrayOutput added in v4.9.0

func (i BudgetActionArray) ToBudgetActionArrayOutput() BudgetActionArrayOutput

func (BudgetActionArray) ToBudgetActionArrayOutputWithContext added in v4.9.0

func (i BudgetActionArray) ToBudgetActionArrayOutputWithContext(ctx context.Context) BudgetActionArrayOutput

type BudgetActionArrayInput added in v4.9.0

type BudgetActionArrayInput interface {
	pulumi.Input

	ToBudgetActionArrayOutput() BudgetActionArrayOutput
	ToBudgetActionArrayOutputWithContext(context.Context) BudgetActionArrayOutput
}

BudgetActionArrayInput is an input type that accepts BudgetActionArray and BudgetActionArrayOutput values. You can construct a concrete instance of `BudgetActionArrayInput` via:

BudgetActionArray{ BudgetActionArgs{...} }

type BudgetActionArrayOutput added in v4.9.0

type BudgetActionArrayOutput struct{ *pulumi.OutputState }

func (BudgetActionArrayOutput) ElementType added in v4.9.0

func (BudgetActionArrayOutput) ElementType() reflect.Type

func (BudgetActionArrayOutput) Index added in v4.9.0

func (BudgetActionArrayOutput) ToBudgetActionArrayOutput added in v4.9.0

func (o BudgetActionArrayOutput) ToBudgetActionArrayOutput() BudgetActionArrayOutput

func (BudgetActionArrayOutput) ToBudgetActionArrayOutputWithContext added in v4.9.0

func (o BudgetActionArrayOutput) ToBudgetActionArrayOutputWithContext(ctx context.Context) BudgetActionArrayOutput

type BudgetActionDefinition added in v4.9.0

type BudgetActionDefinition struct {
	// The AWS Identity and Access Management (IAM) action definition details. See IAM Action Definition.
	IamActionDefinition *BudgetActionDefinitionIamActionDefinition `pulumi:"iamActionDefinition"`
	// The service control policies (SCPs) action definition details. See SCP Action Definition.
	ScpActionDefinition *BudgetActionDefinitionScpActionDefinition `pulumi:"scpActionDefinition"`
	// The AWS Systems Manager (SSM) action definition details. See SSM Action Definition.
	SsmActionDefinition *BudgetActionDefinitionSsmActionDefinition `pulumi:"ssmActionDefinition"`
}

type BudgetActionDefinitionArgs added in v4.9.0

type BudgetActionDefinitionArgs struct {
	// The AWS Identity and Access Management (IAM) action definition details. See IAM Action Definition.
	IamActionDefinition BudgetActionDefinitionIamActionDefinitionPtrInput `pulumi:"iamActionDefinition"`
	// The service control policies (SCPs) action definition details. See SCP Action Definition.
	ScpActionDefinition BudgetActionDefinitionScpActionDefinitionPtrInput `pulumi:"scpActionDefinition"`
	// The AWS Systems Manager (SSM) action definition details. See SSM Action Definition.
	SsmActionDefinition BudgetActionDefinitionSsmActionDefinitionPtrInput `pulumi:"ssmActionDefinition"`
}

func (BudgetActionDefinitionArgs) ElementType added in v4.9.0

func (BudgetActionDefinitionArgs) ElementType() reflect.Type

func (BudgetActionDefinitionArgs) ToBudgetActionDefinitionOutput added in v4.9.0

func (i BudgetActionDefinitionArgs) ToBudgetActionDefinitionOutput() BudgetActionDefinitionOutput

func (BudgetActionDefinitionArgs) ToBudgetActionDefinitionOutputWithContext added in v4.9.0

func (i BudgetActionDefinitionArgs) ToBudgetActionDefinitionOutputWithContext(ctx context.Context) BudgetActionDefinitionOutput

func (BudgetActionDefinitionArgs) ToBudgetActionDefinitionPtrOutput added in v4.9.0

func (i BudgetActionDefinitionArgs) ToBudgetActionDefinitionPtrOutput() BudgetActionDefinitionPtrOutput

func (BudgetActionDefinitionArgs) ToBudgetActionDefinitionPtrOutputWithContext added in v4.9.0

func (i BudgetActionDefinitionArgs) ToBudgetActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionPtrOutput

type BudgetActionDefinitionIamActionDefinition added in v4.9.0

type BudgetActionDefinitionIamActionDefinition struct {
	// A list of groups to be attached. There must be at least one group.
	Groups []string `pulumi:"groups"`
	// The Amazon Resource Name (ARN) of the policy to be attached.
	PolicyArn string `pulumi:"policyArn"`
	// A list of roles to be attached. There must be at least one role.
	Roles []string `pulumi:"roles"`
	// A list of users to be attached. There must be at least one user.
	Users []string `pulumi:"users"`
}

type BudgetActionDefinitionIamActionDefinitionArgs added in v4.9.0

type BudgetActionDefinitionIamActionDefinitionArgs struct {
	// A list of groups to be attached. There must be at least one group.
	Groups pulumi.StringArrayInput `pulumi:"groups"`
	// The Amazon Resource Name (ARN) of the policy to be attached.
	PolicyArn pulumi.StringInput `pulumi:"policyArn"`
	// A list of roles to be attached. There must be at least one role.
	Roles pulumi.StringArrayInput `pulumi:"roles"`
	// A list of users to be attached. There must be at least one user.
	Users pulumi.StringArrayInput `pulumi:"users"`
}

func (BudgetActionDefinitionIamActionDefinitionArgs) ElementType added in v4.9.0

func (BudgetActionDefinitionIamActionDefinitionArgs) ToBudgetActionDefinitionIamActionDefinitionOutput added in v4.9.0

func (i BudgetActionDefinitionIamActionDefinitionArgs) ToBudgetActionDefinitionIamActionDefinitionOutput() BudgetActionDefinitionIamActionDefinitionOutput

func (BudgetActionDefinitionIamActionDefinitionArgs) ToBudgetActionDefinitionIamActionDefinitionOutputWithContext added in v4.9.0

func (i BudgetActionDefinitionIamActionDefinitionArgs) ToBudgetActionDefinitionIamActionDefinitionOutputWithContext(ctx context.Context) BudgetActionDefinitionIamActionDefinitionOutput

func (BudgetActionDefinitionIamActionDefinitionArgs) ToBudgetActionDefinitionIamActionDefinitionPtrOutput added in v4.9.0

func (i BudgetActionDefinitionIamActionDefinitionArgs) ToBudgetActionDefinitionIamActionDefinitionPtrOutput() BudgetActionDefinitionIamActionDefinitionPtrOutput

func (BudgetActionDefinitionIamActionDefinitionArgs) ToBudgetActionDefinitionIamActionDefinitionPtrOutputWithContext added in v4.9.0

func (i BudgetActionDefinitionIamActionDefinitionArgs) ToBudgetActionDefinitionIamActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionIamActionDefinitionPtrOutput

type BudgetActionDefinitionIamActionDefinitionInput added in v4.9.0

type BudgetActionDefinitionIamActionDefinitionInput interface {
	pulumi.Input

	ToBudgetActionDefinitionIamActionDefinitionOutput() BudgetActionDefinitionIamActionDefinitionOutput
	ToBudgetActionDefinitionIamActionDefinitionOutputWithContext(context.Context) BudgetActionDefinitionIamActionDefinitionOutput
}

BudgetActionDefinitionIamActionDefinitionInput is an input type that accepts BudgetActionDefinitionIamActionDefinitionArgs and BudgetActionDefinitionIamActionDefinitionOutput values. You can construct a concrete instance of `BudgetActionDefinitionIamActionDefinitionInput` via:

BudgetActionDefinitionIamActionDefinitionArgs{...}

type BudgetActionDefinitionIamActionDefinitionOutput added in v4.9.0

type BudgetActionDefinitionIamActionDefinitionOutput struct{ *pulumi.OutputState }

func (BudgetActionDefinitionIamActionDefinitionOutput) ElementType added in v4.9.0

func (BudgetActionDefinitionIamActionDefinitionOutput) Groups added in v4.9.0

A list of groups to be attached. There must be at least one group.

func (BudgetActionDefinitionIamActionDefinitionOutput) PolicyArn added in v4.9.0

The Amazon Resource Name (ARN) of the policy to be attached.

func (BudgetActionDefinitionIamActionDefinitionOutput) Roles added in v4.9.0

A list of roles to be attached. There must be at least one role.

func (BudgetActionDefinitionIamActionDefinitionOutput) ToBudgetActionDefinitionIamActionDefinitionOutput added in v4.9.0

func (o BudgetActionDefinitionIamActionDefinitionOutput) ToBudgetActionDefinitionIamActionDefinitionOutput() BudgetActionDefinitionIamActionDefinitionOutput

func (BudgetActionDefinitionIamActionDefinitionOutput) ToBudgetActionDefinitionIamActionDefinitionOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionIamActionDefinitionOutput) ToBudgetActionDefinitionIamActionDefinitionOutputWithContext(ctx context.Context) BudgetActionDefinitionIamActionDefinitionOutput

func (BudgetActionDefinitionIamActionDefinitionOutput) ToBudgetActionDefinitionIamActionDefinitionPtrOutput added in v4.9.0

func (o BudgetActionDefinitionIamActionDefinitionOutput) ToBudgetActionDefinitionIamActionDefinitionPtrOutput() BudgetActionDefinitionIamActionDefinitionPtrOutput

func (BudgetActionDefinitionIamActionDefinitionOutput) ToBudgetActionDefinitionIamActionDefinitionPtrOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionIamActionDefinitionOutput) ToBudgetActionDefinitionIamActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionIamActionDefinitionPtrOutput

func (BudgetActionDefinitionIamActionDefinitionOutput) Users added in v4.9.0

A list of users to be attached. There must be at least one user.

type BudgetActionDefinitionIamActionDefinitionPtrInput added in v4.9.0

type BudgetActionDefinitionIamActionDefinitionPtrInput interface {
	pulumi.Input

	ToBudgetActionDefinitionIamActionDefinitionPtrOutput() BudgetActionDefinitionIamActionDefinitionPtrOutput
	ToBudgetActionDefinitionIamActionDefinitionPtrOutputWithContext(context.Context) BudgetActionDefinitionIamActionDefinitionPtrOutput
}

BudgetActionDefinitionIamActionDefinitionPtrInput is an input type that accepts BudgetActionDefinitionIamActionDefinitionArgs, BudgetActionDefinitionIamActionDefinitionPtr and BudgetActionDefinitionIamActionDefinitionPtrOutput values. You can construct a concrete instance of `BudgetActionDefinitionIamActionDefinitionPtrInput` via:

        BudgetActionDefinitionIamActionDefinitionArgs{...}

or:

        nil

type BudgetActionDefinitionIamActionDefinitionPtrOutput added in v4.9.0

type BudgetActionDefinitionIamActionDefinitionPtrOutput struct{ *pulumi.OutputState }

func (BudgetActionDefinitionIamActionDefinitionPtrOutput) Elem added in v4.9.0

func (BudgetActionDefinitionIamActionDefinitionPtrOutput) ElementType added in v4.9.0

func (BudgetActionDefinitionIamActionDefinitionPtrOutput) Groups added in v4.9.0

A list of groups to be attached. There must be at least one group.

func (BudgetActionDefinitionIamActionDefinitionPtrOutput) PolicyArn added in v4.9.0

The Amazon Resource Name (ARN) of the policy to be attached.

func (BudgetActionDefinitionIamActionDefinitionPtrOutput) Roles added in v4.9.0

A list of roles to be attached. There must be at least one role.

func (BudgetActionDefinitionIamActionDefinitionPtrOutput) ToBudgetActionDefinitionIamActionDefinitionPtrOutput added in v4.9.0

func (o BudgetActionDefinitionIamActionDefinitionPtrOutput) ToBudgetActionDefinitionIamActionDefinitionPtrOutput() BudgetActionDefinitionIamActionDefinitionPtrOutput

func (BudgetActionDefinitionIamActionDefinitionPtrOutput) ToBudgetActionDefinitionIamActionDefinitionPtrOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionIamActionDefinitionPtrOutput) ToBudgetActionDefinitionIamActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionIamActionDefinitionPtrOutput

func (BudgetActionDefinitionIamActionDefinitionPtrOutput) Users added in v4.9.0

A list of users to be attached. There must be at least one user.

type BudgetActionDefinitionInput added in v4.9.0

type BudgetActionDefinitionInput interface {
	pulumi.Input

	ToBudgetActionDefinitionOutput() BudgetActionDefinitionOutput
	ToBudgetActionDefinitionOutputWithContext(context.Context) BudgetActionDefinitionOutput
}

BudgetActionDefinitionInput is an input type that accepts BudgetActionDefinitionArgs and BudgetActionDefinitionOutput values. You can construct a concrete instance of `BudgetActionDefinitionInput` via:

BudgetActionDefinitionArgs{...}

type BudgetActionDefinitionOutput added in v4.9.0

type BudgetActionDefinitionOutput struct{ *pulumi.OutputState }

func (BudgetActionDefinitionOutput) ElementType added in v4.9.0

func (BudgetActionDefinitionOutput) IamActionDefinition added in v4.9.0

The AWS Identity and Access Management (IAM) action definition details. See IAM Action Definition.

func (BudgetActionDefinitionOutput) ScpActionDefinition added in v4.9.0

The service control policies (SCPs) action definition details. See SCP Action Definition.

func (BudgetActionDefinitionOutput) SsmActionDefinition added in v4.9.0

The AWS Systems Manager (SSM) action definition details. See SSM Action Definition.

func (BudgetActionDefinitionOutput) ToBudgetActionDefinitionOutput added in v4.9.0

func (o BudgetActionDefinitionOutput) ToBudgetActionDefinitionOutput() BudgetActionDefinitionOutput

func (BudgetActionDefinitionOutput) ToBudgetActionDefinitionOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionOutput) ToBudgetActionDefinitionOutputWithContext(ctx context.Context) BudgetActionDefinitionOutput

func (BudgetActionDefinitionOutput) ToBudgetActionDefinitionPtrOutput added in v4.9.0

func (o BudgetActionDefinitionOutput) ToBudgetActionDefinitionPtrOutput() BudgetActionDefinitionPtrOutput

func (BudgetActionDefinitionOutput) ToBudgetActionDefinitionPtrOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionOutput) ToBudgetActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionPtrOutput

type BudgetActionDefinitionPtrInput added in v4.9.0

type BudgetActionDefinitionPtrInput interface {
	pulumi.Input

	ToBudgetActionDefinitionPtrOutput() BudgetActionDefinitionPtrOutput
	ToBudgetActionDefinitionPtrOutputWithContext(context.Context) BudgetActionDefinitionPtrOutput
}

BudgetActionDefinitionPtrInput is an input type that accepts BudgetActionDefinitionArgs, BudgetActionDefinitionPtr and BudgetActionDefinitionPtrOutput values. You can construct a concrete instance of `BudgetActionDefinitionPtrInput` via:

        BudgetActionDefinitionArgs{...}

or:

        nil

func BudgetActionDefinitionPtr added in v4.9.0

func BudgetActionDefinitionPtr(v *BudgetActionDefinitionArgs) BudgetActionDefinitionPtrInput

type BudgetActionDefinitionPtrOutput added in v4.9.0

type BudgetActionDefinitionPtrOutput struct{ *pulumi.OutputState }

func (BudgetActionDefinitionPtrOutput) Elem added in v4.9.0

func (BudgetActionDefinitionPtrOutput) ElementType added in v4.9.0

func (BudgetActionDefinitionPtrOutput) IamActionDefinition added in v4.9.0

The AWS Identity and Access Management (IAM) action definition details. See IAM Action Definition.

func (BudgetActionDefinitionPtrOutput) ScpActionDefinition added in v4.9.0

The service control policies (SCPs) action definition details. See SCP Action Definition.

func (BudgetActionDefinitionPtrOutput) SsmActionDefinition added in v4.9.0

The AWS Systems Manager (SSM) action definition details. See SSM Action Definition.

func (BudgetActionDefinitionPtrOutput) ToBudgetActionDefinitionPtrOutput added in v4.9.0

func (o BudgetActionDefinitionPtrOutput) ToBudgetActionDefinitionPtrOutput() BudgetActionDefinitionPtrOutput

func (BudgetActionDefinitionPtrOutput) ToBudgetActionDefinitionPtrOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionPtrOutput) ToBudgetActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionPtrOutput

type BudgetActionDefinitionScpActionDefinition added in v4.9.0

type BudgetActionDefinitionScpActionDefinition struct {
	// The policy ID attached.
	PolicyId string `pulumi:"policyId"`
	// A list of target IDs.
	TargetIds []string `pulumi:"targetIds"`
}

type BudgetActionDefinitionScpActionDefinitionArgs added in v4.9.0

type BudgetActionDefinitionScpActionDefinitionArgs struct {
	// The policy ID attached.
	PolicyId pulumi.StringInput `pulumi:"policyId"`
	// A list of target IDs.
	TargetIds pulumi.StringArrayInput `pulumi:"targetIds"`
}

func (BudgetActionDefinitionScpActionDefinitionArgs) ElementType added in v4.9.0

func (BudgetActionDefinitionScpActionDefinitionArgs) ToBudgetActionDefinitionScpActionDefinitionOutput added in v4.9.0

func (i BudgetActionDefinitionScpActionDefinitionArgs) ToBudgetActionDefinitionScpActionDefinitionOutput() BudgetActionDefinitionScpActionDefinitionOutput

func (BudgetActionDefinitionScpActionDefinitionArgs) ToBudgetActionDefinitionScpActionDefinitionOutputWithContext added in v4.9.0

func (i BudgetActionDefinitionScpActionDefinitionArgs) ToBudgetActionDefinitionScpActionDefinitionOutputWithContext(ctx context.Context) BudgetActionDefinitionScpActionDefinitionOutput

func (BudgetActionDefinitionScpActionDefinitionArgs) ToBudgetActionDefinitionScpActionDefinitionPtrOutput added in v4.9.0

func (i BudgetActionDefinitionScpActionDefinitionArgs) ToBudgetActionDefinitionScpActionDefinitionPtrOutput() BudgetActionDefinitionScpActionDefinitionPtrOutput

func (BudgetActionDefinitionScpActionDefinitionArgs) ToBudgetActionDefinitionScpActionDefinitionPtrOutputWithContext added in v4.9.0

func (i BudgetActionDefinitionScpActionDefinitionArgs) ToBudgetActionDefinitionScpActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionScpActionDefinitionPtrOutput

type BudgetActionDefinitionScpActionDefinitionInput added in v4.9.0

type BudgetActionDefinitionScpActionDefinitionInput interface {
	pulumi.Input

	ToBudgetActionDefinitionScpActionDefinitionOutput() BudgetActionDefinitionScpActionDefinitionOutput
	ToBudgetActionDefinitionScpActionDefinitionOutputWithContext(context.Context) BudgetActionDefinitionScpActionDefinitionOutput
}

BudgetActionDefinitionScpActionDefinitionInput is an input type that accepts BudgetActionDefinitionScpActionDefinitionArgs and BudgetActionDefinitionScpActionDefinitionOutput values. You can construct a concrete instance of `BudgetActionDefinitionScpActionDefinitionInput` via:

BudgetActionDefinitionScpActionDefinitionArgs{...}

type BudgetActionDefinitionScpActionDefinitionOutput added in v4.9.0

type BudgetActionDefinitionScpActionDefinitionOutput struct{ *pulumi.OutputState }

func (BudgetActionDefinitionScpActionDefinitionOutput) ElementType added in v4.9.0

func (BudgetActionDefinitionScpActionDefinitionOutput) PolicyId added in v4.9.0

The policy ID attached.

func (BudgetActionDefinitionScpActionDefinitionOutput) TargetIds added in v4.9.0

A list of target IDs.

func (BudgetActionDefinitionScpActionDefinitionOutput) ToBudgetActionDefinitionScpActionDefinitionOutput added in v4.9.0

func (o BudgetActionDefinitionScpActionDefinitionOutput) ToBudgetActionDefinitionScpActionDefinitionOutput() BudgetActionDefinitionScpActionDefinitionOutput

func (BudgetActionDefinitionScpActionDefinitionOutput) ToBudgetActionDefinitionScpActionDefinitionOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionScpActionDefinitionOutput) ToBudgetActionDefinitionScpActionDefinitionOutputWithContext(ctx context.Context) BudgetActionDefinitionScpActionDefinitionOutput

func (BudgetActionDefinitionScpActionDefinitionOutput) ToBudgetActionDefinitionScpActionDefinitionPtrOutput added in v4.9.0

func (o BudgetActionDefinitionScpActionDefinitionOutput) ToBudgetActionDefinitionScpActionDefinitionPtrOutput() BudgetActionDefinitionScpActionDefinitionPtrOutput

func (BudgetActionDefinitionScpActionDefinitionOutput) ToBudgetActionDefinitionScpActionDefinitionPtrOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionScpActionDefinitionOutput) ToBudgetActionDefinitionScpActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionScpActionDefinitionPtrOutput

type BudgetActionDefinitionScpActionDefinitionPtrInput added in v4.9.0

type BudgetActionDefinitionScpActionDefinitionPtrInput interface {
	pulumi.Input

	ToBudgetActionDefinitionScpActionDefinitionPtrOutput() BudgetActionDefinitionScpActionDefinitionPtrOutput
	ToBudgetActionDefinitionScpActionDefinitionPtrOutputWithContext(context.Context) BudgetActionDefinitionScpActionDefinitionPtrOutput
}

BudgetActionDefinitionScpActionDefinitionPtrInput is an input type that accepts BudgetActionDefinitionScpActionDefinitionArgs, BudgetActionDefinitionScpActionDefinitionPtr and BudgetActionDefinitionScpActionDefinitionPtrOutput values. You can construct a concrete instance of `BudgetActionDefinitionScpActionDefinitionPtrInput` via:

        BudgetActionDefinitionScpActionDefinitionArgs{...}

or:

        nil

type BudgetActionDefinitionScpActionDefinitionPtrOutput added in v4.9.0

type BudgetActionDefinitionScpActionDefinitionPtrOutput struct{ *pulumi.OutputState }

func (BudgetActionDefinitionScpActionDefinitionPtrOutput) Elem added in v4.9.0

func (BudgetActionDefinitionScpActionDefinitionPtrOutput) ElementType added in v4.9.0

func (BudgetActionDefinitionScpActionDefinitionPtrOutput) PolicyId added in v4.9.0

The policy ID attached.

func (BudgetActionDefinitionScpActionDefinitionPtrOutput) TargetIds added in v4.9.0

A list of target IDs.

func (BudgetActionDefinitionScpActionDefinitionPtrOutput) ToBudgetActionDefinitionScpActionDefinitionPtrOutput added in v4.9.0

func (o BudgetActionDefinitionScpActionDefinitionPtrOutput) ToBudgetActionDefinitionScpActionDefinitionPtrOutput() BudgetActionDefinitionScpActionDefinitionPtrOutput

func (BudgetActionDefinitionScpActionDefinitionPtrOutput) ToBudgetActionDefinitionScpActionDefinitionPtrOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionScpActionDefinitionPtrOutput) ToBudgetActionDefinitionScpActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionScpActionDefinitionPtrOutput

type BudgetActionDefinitionSsmActionDefinition added in v4.9.0

type BudgetActionDefinitionSsmActionDefinition struct {
	// The action subType. Valid values are `STOP_EC2_INSTANCES` or `STOP_RDS_INSTANCES`.
	ActionSubType string `pulumi:"actionSubType"`
	// The EC2 and RDS instance IDs.
	InstanceIds []string `pulumi:"instanceIds"`
	// The Region to run the SSM document.
	Region string `pulumi:"region"`
}

type BudgetActionDefinitionSsmActionDefinitionArgs added in v4.9.0

type BudgetActionDefinitionSsmActionDefinitionArgs struct {
	// The action subType. Valid values are `STOP_EC2_INSTANCES` or `STOP_RDS_INSTANCES`.
	ActionSubType pulumi.StringInput `pulumi:"actionSubType"`
	// The EC2 and RDS instance IDs.
	InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"`
	// The Region to run the SSM document.
	Region pulumi.StringInput `pulumi:"region"`
}

func (BudgetActionDefinitionSsmActionDefinitionArgs) ElementType added in v4.9.0

func (BudgetActionDefinitionSsmActionDefinitionArgs) ToBudgetActionDefinitionSsmActionDefinitionOutput added in v4.9.0

func (i BudgetActionDefinitionSsmActionDefinitionArgs) ToBudgetActionDefinitionSsmActionDefinitionOutput() BudgetActionDefinitionSsmActionDefinitionOutput

func (BudgetActionDefinitionSsmActionDefinitionArgs) ToBudgetActionDefinitionSsmActionDefinitionOutputWithContext added in v4.9.0

func (i BudgetActionDefinitionSsmActionDefinitionArgs) ToBudgetActionDefinitionSsmActionDefinitionOutputWithContext(ctx context.Context) BudgetActionDefinitionSsmActionDefinitionOutput

func (BudgetActionDefinitionSsmActionDefinitionArgs) ToBudgetActionDefinitionSsmActionDefinitionPtrOutput added in v4.9.0

func (i BudgetActionDefinitionSsmActionDefinitionArgs) ToBudgetActionDefinitionSsmActionDefinitionPtrOutput() BudgetActionDefinitionSsmActionDefinitionPtrOutput

func (BudgetActionDefinitionSsmActionDefinitionArgs) ToBudgetActionDefinitionSsmActionDefinitionPtrOutputWithContext added in v4.9.0

func (i BudgetActionDefinitionSsmActionDefinitionArgs) ToBudgetActionDefinitionSsmActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionSsmActionDefinitionPtrOutput

type BudgetActionDefinitionSsmActionDefinitionInput added in v4.9.0

type BudgetActionDefinitionSsmActionDefinitionInput interface {
	pulumi.Input

	ToBudgetActionDefinitionSsmActionDefinitionOutput() BudgetActionDefinitionSsmActionDefinitionOutput
	ToBudgetActionDefinitionSsmActionDefinitionOutputWithContext(context.Context) BudgetActionDefinitionSsmActionDefinitionOutput
}

BudgetActionDefinitionSsmActionDefinitionInput is an input type that accepts BudgetActionDefinitionSsmActionDefinitionArgs and BudgetActionDefinitionSsmActionDefinitionOutput values. You can construct a concrete instance of `BudgetActionDefinitionSsmActionDefinitionInput` via:

BudgetActionDefinitionSsmActionDefinitionArgs{...}

type BudgetActionDefinitionSsmActionDefinitionOutput added in v4.9.0

type BudgetActionDefinitionSsmActionDefinitionOutput struct{ *pulumi.OutputState }

func (BudgetActionDefinitionSsmActionDefinitionOutput) ActionSubType added in v4.9.0

The action subType. Valid values are `STOP_EC2_INSTANCES` or `STOP_RDS_INSTANCES`.

func (BudgetActionDefinitionSsmActionDefinitionOutput) ElementType added in v4.9.0

func (BudgetActionDefinitionSsmActionDefinitionOutput) InstanceIds added in v4.9.0

The EC2 and RDS instance IDs.

func (BudgetActionDefinitionSsmActionDefinitionOutput) Region added in v4.9.0

The Region to run the SSM document.

func (BudgetActionDefinitionSsmActionDefinitionOutput) ToBudgetActionDefinitionSsmActionDefinitionOutput added in v4.9.0

func (o BudgetActionDefinitionSsmActionDefinitionOutput) ToBudgetActionDefinitionSsmActionDefinitionOutput() BudgetActionDefinitionSsmActionDefinitionOutput

func (BudgetActionDefinitionSsmActionDefinitionOutput) ToBudgetActionDefinitionSsmActionDefinitionOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionSsmActionDefinitionOutput) ToBudgetActionDefinitionSsmActionDefinitionOutputWithContext(ctx context.Context) BudgetActionDefinitionSsmActionDefinitionOutput

func (BudgetActionDefinitionSsmActionDefinitionOutput) ToBudgetActionDefinitionSsmActionDefinitionPtrOutput added in v4.9.0

func (o BudgetActionDefinitionSsmActionDefinitionOutput) ToBudgetActionDefinitionSsmActionDefinitionPtrOutput() BudgetActionDefinitionSsmActionDefinitionPtrOutput

func (BudgetActionDefinitionSsmActionDefinitionOutput) ToBudgetActionDefinitionSsmActionDefinitionPtrOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionSsmActionDefinitionOutput) ToBudgetActionDefinitionSsmActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionSsmActionDefinitionPtrOutput

type BudgetActionDefinitionSsmActionDefinitionPtrInput added in v4.9.0

type BudgetActionDefinitionSsmActionDefinitionPtrInput interface {
	pulumi.Input

	ToBudgetActionDefinitionSsmActionDefinitionPtrOutput() BudgetActionDefinitionSsmActionDefinitionPtrOutput
	ToBudgetActionDefinitionSsmActionDefinitionPtrOutputWithContext(context.Context) BudgetActionDefinitionSsmActionDefinitionPtrOutput
}

BudgetActionDefinitionSsmActionDefinitionPtrInput is an input type that accepts BudgetActionDefinitionSsmActionDefinitionArgs, BudgetActionDefinitionSsmActionDefinitionPtr and BudgetActionDefinitionSsmActionDefinitionPtrOutput values. You can construct a concrete instance of `BudgetActionDefinitionSsmActionDefinitionPtrInput` via:

        BudgetActionDefinitionSsmActionDefinitionArgs{...}

or:

        nil

type BudgetActionDefinitionSsmActionDefinitionPtrOutput added in v4.9.0

type BudgetActionDefinitionSsmActionDefinitionPtrOutput struct{ *pulumi.OutputState }

func (BudgetActionDefinitionSsmActionDefinitionPtrOutput) ActionSubType added in v4.9.0

The action subType. Valid values are `STOP_EC2_INSTANCES` or `STOP_RDS_INSTANCES`.

func (BudgetActionDefinitionSsmActionDefinitionPtrOutput) Elem added in v4.9.0

func (BudgetActionDefinitionSsmActionDefinitionPtrOutput) ElementType added in v4.9.0

func (BudgetActionDefinitionSsmActionDefinitionPtrOutput) InstanceIds added in v4.9.0

The EC2 and RDS instance IDs.

func (BudgetActionDefinitionSsmActionDefinitionPtrOutput) Region added in v4.9.0

The Region to run the SSM document.

func (BudgetActionDefinitionSsmActionDefinitionPtrOutput) ToBudgetActionDefinitionSsmActionDefinitionPtrOutput added in v4.9.0

func (o BudgetActionDefinitionSsmActionDefinitionPtrOutput) ToBudgetActionDefinitionSsmActionDefinitionPtrOutput() BudgetActionDefinitionSsmActionDefinitionPtrOutput

func (BudgetActionDefinitionSsmActionDefinitionPtrOutput) ToBudgetActionDefinitionSsmActionDefinitionPtrOutputWithContext added in v4.9.0

func (o BudgetActionDefinitionSsmActionDefinitionPtrOutput) ToBudgetActionDefinitionSsmActionDefinitionPtrOutputWithContext(ctx context.Context) BudgetActionDefinitionSsmActionDefinitionPtrOutput

type BudgetActionInput added in v4.9.0

type BudgetActionInput interface {
	pulumi.Input

	ToBudgetActionOutput() BudgetActionOutput
	ToBudgetActionOutputWithContext(ctx context.Context) BudgetActionOutput
}

type BudgetActionMap added in v4.9.0

type BudgetActionMap map[string]BudgetActionInput

func (BudgetActionMap) ElementType added in v4.9.0

func (BudgetActionMap) ElementType() reflect.Type

func (BudgetActionMap) ToBudgetActionMapOutput added in v4.9.0

func (i BudgetActionMap) ToBudgetActionMapOutput() BudgetActionMapOutput

func (BudgetActionMap) ToBudgetActionMapOutputWithContext added in v4.9.0

func (i BudgetActionMap) ToBudgetActionMapOutputWithContext(ctx context.Context) BudgetActionMapOutput

type BudgetActionMapInput added in v4.9.0

type BudgetActionMapInput interface {
	pulumi.Input

	ToBudgetActionMapOutput() BudgetActionMapOutput
	ToBudgetActionMapOutputWithContext(context.Context) BudgetActionMapOutput
}

BudgetActionMapInput is an input type that accepts BudgetActionMap and BudgetActionMapOutput values. You can construct a concrete instance of `BudgetActionMapInput` via:

BudgetActionMap{ "key": BudgetActionArgs{...} }

type BudgetActionMapOutput added in v4.9.0

type BudgetActionMapOutput struct{ *pulumi.OutputState }

func (BudgetActionMapOutput) ElementType added in v4.9.0

func (BudgetActionMapOutput) ElementType() reflect.Type

func (BudgetActionMapOutput) MapIndex added in v4.9.0

func (BudgetActionMapOutput) ToBudgetActionMapOutput added in v4.9.0

func (o BudgetActionMapOutput) ToBudgetActionMapOutput() BudgetActionMapOutput

func (BudgetActionMapOutput) ToBudgetActionMapOutputWithContext added in v4.9.0

func (o BudgetActionMapOutput) ToBudgetActionMapOutputWithContext(ctx context.Context) BudgetActionMapOutput

type BudgetActionOutput added in v4.9.0

type BudgetActionOutput struct{ *pulumi.OutputState }

func (BudgetActionOutput) ElementType added in v4.9.0

func (BudgetActionOutput) ElementType() reflect.Type

func (BudgetActionOutput) ToBudgetActionOutput added in v4.9.0

func (o BudgetActionOutput) ToBudgetActionOutput() BudgetActionOutput

func (BudgetActionOutput) ToBudgetActionOutputWithContext added in v4.9.0

func (o BudgetActionOutput) ToBudgetActionOutputWithContext(ctx context.Context) BudgetActionOutput

func (BudgetActionOutput) ToBudgetActionPtrOutput added in v4.9.0

func (o BudgetActionOutput) ToBudgetActionPtrOutput() BudgetActionPtrOutput

func (BudgetActionOutput) ToBudgetActionPtrOutputWithContext added in v4.9.0

func (o BudgetActionOutput) ToBudgetActionPtrOutputWithContext(ctx context.Context) BudgetActionPtrOutput

type BudgetActionPtrInput added in v4.9.0

type BudgetActionPtrInput interface {
	pulumi.Input

	ToBudgetActionPtrOutput() BudgetActionPtrOutput
	ToBudgetActionPtrOutputWithContext(ctx context.Context) BudgetActionPtrOutput
}

type BudgetActionPtrOutput added in v4.9.0

type BudgetActionPtrOutput struct{ *pulumi.OutputState }

func (BudgetActionPtrOutput) Elem added in v4.15.0

func (BudgetActionPtrOutput) ElementType added in v4.9.0

func (BudgetActionPtrOutput) ElementType() reflect.Type

func (BudgetActionPtrOutput) ToBudgetActionPtrOutput added in v4.9.0

func (o BudgetActionPtrOutput) ToBudgetActionPtrOutput() BudgetActionPtrOutput

func (BudgetActionPtrOutput) ToBudgetActionPtrOutputWithContext added in v4.9.0

func (o BudgetActionPtrOutput) ToBudgetActionPtrOutputWithContext(ctx context.Context) BudgetActionPtrOutput

type BudgetActionState added in v4.9.0

type BudgetActionState struct {
	// The ID of the target account for budget. Will use current user's accountId by default if omitted.
	AccountId pulumi.StringPtrInput
	// The id of the budget action.
	ActionId pulumi.StringPtrInput
	// The trigger threshold of the action. See Action Threshold.
	ActionThreshold BudgetActionActionThresholdPtrInput
	// The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition. Valid values are `APPLY_IAM_POLICY`, `APPLY_SCP_POLICY`, and `RUN_SSM_DOCUMENTS`.
	ActionType pulumi.StringPtrInput
	// This specifies if the action needs manual or automatic approval. Valid values are `AUTOMATIC` and `MANUAL`.
	ApprovalModel pulumi.StringPtrInput
	// The ARN of the budget action.
	Arn pulumi.StringPtrInput
	// The name of a budget.
	BudgetName pulumi.StringPtrInput
	// Specifies all of the type-specific parameters. See Definition.
	Definition BudgetActionDefinitionPtrInput
	// The role passed for action execution and reversion. Roles and actions must be in the same account.
	ExecutionRoleArn pulumi.StringPtrInput
	// The type of a notification. Valid values are `ACTUAL` or `FORECASTED`.
	NotificationType pulumi.StringPtrInput
	// The status of the budget action.
	Status pulumi.StringPtrInput
	// A list of subscribers. See Subscriber.
	Subscribers BudgetActionSubscriberArrayInput
}

func (BudgetActionState) ElementType added in v4.9.0

func (BudgetActionState) ElementType() reflect.Type

type BudgetActionSubscriber added in v4.9.0

type BudgetActionSubscriber struct {
	// The address that AWS sends budget notifications to, either an SNS topic or an email.
	Address string `pulumi:"address"`
	// The type of notification that AWS sends to a subscriber. Valid values are `SNS` or `EMAIL`.
	SubscriptionType string `pulumi:"subscriptionType"`
}

type BudgetActionSubscriberArgs added in v4.9.0

type BudgetActionSubscriberArgs struct {
	// The address that AWS sends budget notifications to, either an SNS topic or an email.
	Address pulumi.StringInput `pulumi:"address"`
	// The type of notification that AWS sends to a subscriber. Valid values are `SNS` or `EMAIL`.
	SubscriptionType pulumi.StringInput `pulumi:"subscriptionType"`
}

func (BudgetActionSubscriberArgs) ElementType added in v4.9.0

func (BudgetActionSubscriberArgs) ElementType() reflect.Type

func (BudgetActionSubscriberArgs) ToBudgetActionSubscriberOutput added in v4.9.0

func (i BudgetActionSubscriberArgs) ToBudgetActionSubscriberOutput() BudgetActionSubscriberOutput

func (BudgetActionSubscriberArgs) ToBudgetActionSubscriberOutputWithContext added in v4.9.0

func (i BudgetActionSubscriberArgs) ToBudgetActionSubscriberOutputWithContext(ctx context.Context) BudgetActionSubscriberOutput

type BudgetActionSubscriberArray added in v4.9.0

type BudgetActionSubscriberArray []BudgetActionSubscriberInput

func (BudgetActionSubscriberArray) ElementType added in v4.9.0

func (BudgetActionSubscriberArray) ToBudgetActionSubscriberArrayOutput added in v4.9.0

func (i BudgetActionSubscriberArray) ToBudgetActionSubscriberArrayOutput() BudgetActionSubscriberArrayOutput

func (BudgetActionSubscriberArray) ToBudgetActionSubscriberArrayOutputWithContext added in v4.9.0

func (i BudgetActionSubscriberArray) ToBudgetActionSubscriberArrayOutputWithContext(ctx context.Context) BudgetActionSubscriberArrayOutput

type BudgetActionSubscriberArrayInput added in v4.9.0

type BudgetActionSubscriberArrayInput interface {
	pulumi.Input

	ToBudgetActionSubscriberArrayOutput() BudgetActionSubscriberArrayOutput
	ToBudgetActionSubscriberArrayOutputWithContext(context.Context) BudgetActionSubscriberArrayOutput
}

BudgetActionSubscriberArrayInput is an input type that accepts BudgetActionSubscriberArray and BudgetActionSubscriberArrayOutput values. You can construct a concrete instance of `BudgetActionSubscriberArrayInput` via:

BudgetActionSubscriberArray{ BudgetActionSubscriberArgs{...} }

type BudgetActionSubscriberArrayOutput added in v4.9.0

type BudgetActionSubscriberArrayOutput struct{ *pulumi.OutputState }

func (BudgetActionSubscriberArrayOutput) ElementType added in v4.9.0

func (BudgetActionSubscriberArrayOutput) Index added in v4.9.0

func (BudgetActionSubscriberArrayOutput) ToBudgetActionSubscriberArrayOutput added in v4.9.0

func (o BudgetActionSubscriberArrayOutput) ToBudgetActionSubscriberArrayOutput() BudgetActionSubscriberArrayOutput

func (BudgetActionSubscriberArrayOutput) ToBudgetActionSubscriberArrayOutputWithContext added in v4.9.0

func (o BudgetActionSubscriberArrayOutput) ToBudgetActionSubscriberArrayOutputWithContext(ctx context.Context) BudgetActionSubscriberArrayOutput

type BudgetActionSubscriberInput added in v4.9.0

type BudgetActionSubscriberInput interface {
	pulumi.Input

	ToBudgetActionSubscriberOutput() BudgetActionSubscriberOutput
	ToBudgetActionSubscriberOutputWithContext(context.Context) BudgetActionSubscriberOutput
}

BudgetActionSubscriberInput is an input type that accepts BudgetActionSubscriberArgs and BudgetActionSubscriberOutput values. You can construct a concrete instance of `BudgetActionSubscriberInput` via:

BudgetActionSubscriberArgs{...}

type BudgetActionSubscriberOutput added in v4.9.0

type BudgetActionSubscriberOutput struct{ *pulumi.OutputState }

func (BudgetActionSubscriberOutput) Address added in v4.9.0

The address that AWS sends budget notifications to, either an SNS topic or an email.

func (BudgetActionSubscriberOutput) ElementType added in v4.9.0

func (BudgetActionSubscriberOutput) SubscriptionType added in v4.9.0

func (o BudgetActionSubscriberOutput) SubscriptionType() pulumi.StringOutput

The type of notification that AWS sends to a subscriber. Valid values are `SNS` or `EMAIL`.

func (BudgetActionSubscriberOutput) ToBudgetActionSubscriberOutput added in v4.9.0

func (o BudgetActionSubscriberOutput) ToBudgetActionSubscriberOutput() BudgetActionSubscriberOutput

func (BudgetActionSubscriberOutput) ToBudgetActionSubscriberOutputWithContext added in v4.9.0

func (o BudgetActionSubscriberOutput) ToBudgetActionSubscriberOutputWithContext(ctx context.Context) BudgetActionSubscriberOutput

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.StringMapInput
	// 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. If you don't specify a start date, AWS defaults to the start of your chosen time period. 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`, and `DAILY`.
	TimeUnit pulumi.StringInput
}

The set of arguments for constructing a Budget resource.

func (BudgetArgs) ElementType

func (BudgetArgs) ElementType() reflect.Type

type BudgetArray

type BudgetArray []BudgetInput

func (BudgetArray) ElementType

func (BudgetArray) ElementType() reflect.Type

func (BudgetArray) ToBudgetArrayOutput

func (i BudgetArray) ToBudgetArrayOutput() BudgetArrayOutput

func (BudgetArray) ToBudgetArrayOutputWithContext

func (i BudgetArray) ToBudgetArrayOutputWithContext(ctx context.Context) BudgetArrayOutput

type BudgetArrayInput

type BudgetArrayInput interface {
	pulumi.Input

	ToBudgetArrayOutput() BudgetArrayOutput
	ToBudgetArrayOutputWithContext(context.Context) BudgetArrayOutput
}

BudgetArrayInput is an input type that accepts BudgetArray and BudgetArrayOutput values. You can construct a concrete instance of `BudgetArrayInput` via:

BudgetArray{ BudgetArgs{...} }

type BudgetArrayOutput

type BudgetArrayOutput struct{ *pulumi.OutputState }

func (BudgetArrayOutput) ElementType

func (BudgetArrayOutput) ElementType() reflect.Type

func (BudgetArrayOutput) Index

func (BudgetArrayOutput) ToBudgetArrayOutput

func (o BudgetArrayOutput) ToBudgetArrayOutput() BudgetArrayOutput

func (BudgetArrayOutput) ToBudgetArrayOutputWithContext

func (o BudgetArrayOutput) ToBudgetArrayOutputWithContext(ctx context.Context) BudgetArrayOutput

type BudgetCostFilter added in v4.15.0

type BudgetCostFilter struct {
	// The name of a budget. Unique within accounts.
	Name   string   `pulumi:"name"`
	Values []string `pulumi:"values"`
}

type BudgetCostFilterArgs added in v4.15.0

type BudgetCostFilterArgs struct {
	// The name of a budget. Unique within accounts.
	Name   pulumi.StringInput      `pulumi:"name"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (BudgetCostFilterArgs) ElementType added in v4.15.0

func (BudgetCostFilterArgs) ElementType() reflect.Type

func (BudgetCostFilterArgs) ToBudgetCostFilterOutput added in v4.15.0

func (i BudgetCostFilterArgs) ToBudgetCostFilterOutput() BudgetCostFilterOutput

func (BudgetCostFilterArgs) ToBudgetCostFilterOutputWithContext added in v4.15.0

func (i BudgetCostFilterArgs) ToBudgetCostFilterOutputWithContext(ctx context.Context) BudgetCostFilterOutput

type BudgetCostFilterInput added in v4.15.0

type BudgetCostFilterInput interface {
	pulumi.Input

	ToBudgetCostFilterOutput() BudgetCostFilterOutput
	ToBudgetCostFilterOutputWithContext(context.Context) BudgetCostFilterOutput
}

BudgetCostFilterInput is an input type that accepts BudgetCostFilterArgs and BudgetCostFilterOutput values. You can construct a concrete instance of `BudgetCostFilterInput` via:

BudgetCostFilterArgs{...}

type BudgetCostFilterOutput added in v4.15.0

type BudgetCostFilterOutput struct{ *pulumi.OutputState }

func (BudgetCostFilterOutput) ElementType added in v4.15.0

func (BudgetCostFilterOutput) ElementType() reflect.Type

func (BudgetCostFilterOutput) Name added in v4.15.0

The name of a budget. Unique within accounts.

func (BudgetCostFilterOutput) ToBudgetCostFilterOutput added in v4.15.0

func (o BudgetCostFilterOutput) ToBudgetCostFilterOutput() BudgetCostFilterOutput

func (BudgetCostFilterOutput) ToBudgetCostFilterOutputWithContext added in v4.15.0

func (o BudgetCostFilterOutput) ToBudgetCostFilterOutputWithContext(ctx context.Context) BudgetCostFilterOutput

func (BudgetCostFilterOutput) Values added in v4.15.0

type BudgetCostTypes

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

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

func (BudgetCostTypesArgs) ElementType() reflect.Type

func (BudgetCostTypesArgs) ToBudgetCostTypesOutput

func (i BudgetCostTypesArgs) ToBudgetCostTypesOutput() BudgetCostTypesOutput

func (BudgetCostTypesArgs) ToBudgetCostTypesOutputWithContext

func (i BudgetCostTypesArgs) ToBudgetCostTypesOutputWithContext(ctx context.Context) BudgetCostTypesOutput

func (BudgetCostTypesArgs) ToBudgetCostTypesPtrOutput

func (i BudgetCostTypesArgs) ToBudgetCostTypesPtrOutput() BudgetCostTypesPtrOutput

func (BudgetCostTypesArgs) ToBudgetCostTypesPtrOutputWithContext

func (i BudgetCostTypesArgs) ToBudgetCostTypesPtrOutputWithContext(ctx context.Context) BudgetCostTypesPtrOutput

type BudgetCostTypesInput

type BudgetCostTypesInput interface {
	pulumi.Input

	ToBudgetCostTypesOutput() BudgetCostTypesOutput
	ToBudgetCostTypesOutputWithContext(context.Context) BudgetCostTypesOutput
}

BudgetCostTypesInput is an input type that accepts BudgetCostTypesArgs and BudgetCostTypesOutput values. You can construct a concrete instance of `BudgetCostTypesInput` via:

BudgetCostTypesArgs{...}

type BudgetCostTypesOutput

type BudgetCostTypesOutput struct{ *pulumi.OutputState }

func (BudgetCostTypesOutput) ElementType

func (BudgetCostTypesOutput) ElementType() reflect.Type

func (BudgetCostTypesOutput) IncludeCredit

func (o BudgetCostTypesOutput) IncludeCredit() pulumi.BoolPtrOutput

A boolean value whether to include credits in the cost budget. Defaults to `true`

func (BudgetCostTypesOutput) IncludeDiscount

func (o BudgetCostTypesOutput) IncludeDiscount() pulumi.BoolPtrOutput

Specifies whether a budget includes discounts. Defaults to `true`

func (BudgetCostTypesOutput) IncludeOtherSubscription

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

func (o BudgetCostTypesOutput) IncludeRecurring() pulumi.BoolPtrOutput

A boolean value whether to include recurring costs in the cost budget. Defaults to `true`

func (BudgetCostTypesOutput) IncludeRefund

func (o BudgetCostTypesOutput) IncludeRefund() pulumi.BoolPtrOutput

A boolean value whether to include refunds in the cost budget. Defaults to `true`

func (BudgetCostTypesOutput) IncludeSubscription

func (o BudgetCostTypesOutput) IncludeSubscription() pulumi.BoolPtrOutput

A boolean value whether to include subscriptions in the cost budget. Defaults to `true`

func (BudgetCostTypesOutput) IncludeSupport

func (o BudgetCostTypesOutput) IncludeSupport() pulumi.BoolPtrOutput

A boolean value whether to include support costs in the cost budget. Defaults to `true`

func (BudgetCostTypesOutput) IncludeTax

A boolean value whether to include tax in the cost budget. Defaults to `true`

func (BudgetCostTypesOutput) IncludeUpfront

func (o BudgetCostTypesOutput) IncludeUpfront() pulumi.BoolPtrOutput

A boolean value whether to include upfront costs in the cost budget. Defaults to `true`

func (BudgetCostTypesOutput) ToBudgetCostTypesOutput

func (o BudgetCostTypesOutput) ToBudgetCostTypesOutput() BudgetCostTypesOutput

func (BudgetCostTypesOutput) ToBudgetCostTypesOutputWithContext

func (o BudgetCostTypesOutput) ToBudgetCostTypesOutputWithContext(ctx context.Context) BudgetCostTypesOutput

func (BudgetCostTypesOutput) ToBudgetCostTypesPtrOutput

func (o BudgetCostTypesOutput) ToBudgetCostTypesPtrOutput() BudgetCostTypesPtrOutput

func (BudgetCostTypesOutput) ToBudgetCostTypesPtrOutputWithContext

func (o BudgetCostTypesOutput) ToBudgetCostTypesPtrOutputWithContext(ctx context.Context) BudgetCostTypesPtrOutput

func (BudgetCostTypesOutput) UseAmortized

func (o BudgetCostTypesOutput) UseAmortized() pulumi.BoolPtrOutput

Specifies whether a budget uses the amortized rate. Defaults to `false`

func (BudgetCostTypesOutput) UseBlended

A boolean value whether to use blended costs in the cost budget. Defaults to `false`

type BudgetCostTypesPtrInput

type BudgetCostTypesPtrInput interface {
	pulumi.Input

	ToBudgetCostTypesPtrOutput() BudgetCostTypesPtrOutput
	ToBudgetCostTypesPtrOutputWithContext(context.Context) BudgetCostTypesPtrOutput
}

BudgetCostTypesPtrInput is an input type that accepts BudgetCostTypesArgs, BudgetCostTypesPtr and BudgetCostTypesPtrOutput values. You can construct a concrete instance of `BudgetCostTypesPtrInput` via:

        BudgetCostTypesArgs{...}

or:

        nil

type BudgetCostTypesPtrOutput

type BudgetCostTypesPtrOutput struct{ *pulumi.OutputState }

func (BudgetCostTypesPtrOutput) Elem

func (BudgetCostTypesPtrOutput) ElementType

func (BudgetCostTypesPtrOutput) ElementType() reflect.Type

func (BudgetCostTypesPtrOutput) IncludeCredit

func (o BudgetCostTypesPtrOutput) IncludeCredit() pulumi.BoolPtrOutput

A boolean value whether to include credits in the cost budget. Defaults to `true`

func (BudgetCostTypesPtrOutput) IncludeDiscount

func (o BudgetCostTypesPtrOutput) IncludeDiscount() pulumi.BoolPtrOutput

Specifies whether a budget includes discounts. Defaults to `true`

func (BudgetCostTypesPtrOutput) IncludeOtherSubscription

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

func (o BudgetCostTypesPtrOutput) IncludeRecurring() pulumi.BoolPtrOutput

A boolean value whether to include recurring costs in the cost budget. Defaults to `true`

func (BudgetCostTypesPtrOutput) IncludeRefund

func (o BudgetCostTypesPtrOutput) IncludeRefund() pulumi.BoolPtrOutput

A boolean value whether to include refunds in the cost budget. Defaults to `true`

func (BudgetCostTypesPtrOutput) IncludeSubscription

func (o BudgetCostTypesPtrOutput) IncludeSubscription() pulumi.BoolPtrOutput

A boolean value whether to include subscriptions in the cost budget. Defaults to `true`

func (BudgetCostTypesPtrOutput) IncludeSupport

func (o BudgetCostTypesPtrOutput) IncludeSupport() pulumi.BoolPtrOutput

A boolean value whether to include support costs in the cost budget. Defaults to `true`

func (BudgetCostTypesPtrOutput) IncludeTax

A boolean value whether to include tax in the cost budget. Defaults to `true`

func (BudgetCostTypesPtrOutput) IncludeUpfront

func (o BudgetCostTypesPtrOutput) IncludeUpfront() pulumi.BoolPtrOutput

A boolean value whether to include upfront costs in the cost budget. Defaults to `true`

func (BudgetCostTypesPtrOutput) ToBudgetCostTypesPtrOutput

func (o BudgetCostTypesPtrOutput) ToBudgetCostTypesPtrOutput() BudgetCostTypesPtrOutput

func (BudgetCostTypesPtrOutput) ToBudgetCostTypesPtrOutputWithContext

func (o BudgetCostTypesPtrOutput) ToBudgetCostTypesPtrOutputWithContext(ctx context.Context) BudgetCostTypesPtrOutput

func (BudgetCostTypesPtrOutput) UseAmortized

Specifies whether a budget uses the amortized rate. Defaults to `false`

func (BudgetCostTypesPtrOutput) UseBlended

A boolean value whether to use blended costs in the cost budget. Defaults to `false`

type BudgetInput

type BudgetInput interface {
	pulumi.Input

	ToBudgetOutput() BudgetOutput
	ToBudgetOutputWithContext(ctx context.Context) BudgetOutput
}

type BudgetMap

type BudgetMap map[string]BudgetInput

func (BudgetMap) ElementType

func (BudgetMap) ElementType() reflect.Type

func (BudgetMap) ToBudgetMapOutput

func (i BudgetMap) ToBudgetMapOutput() BudgetMapOutput

func (BudgetMap) ToBudgetMapOutputWithContext

func (i BudgetMap) ToBudgetMapOutputWithContext(ctx context.Context) BudgetMapOutput

type BudgetMapInput

type BudgetMapInput interface {
	pulumi.Input

	ToBudgetMapOutput() BudgetMapOutput
	ToBudgetMapOutputWithContext(context.Context) BudgetMapOutput
}

BudgetMapInput is an input type that accepts BudgetMap and BudgetMapOutput values. You can construct a concrete instance of `BudgetMapInput` via:

BudgetMap{ "key": BudgetArgs{...} }

type BudgetMapOutput

type BudgetMapOutput struct{ *pulumi.OutputState }

func (BudgetMapOutput) ElementType

func (BudgetMapOutput) ElementType() reflect.Type

func (BudgetMapOutput) MapIndex

func (BudgetMapOutput) ToBudgetMapOutput

func (o BudgetMapOutput) ToBudgetMapOutput() BudgetMapOutput

func (BudgetMapOutput) ToBudgetMapOutputWithContext

func (o BudgetMapOutput) ToBudgetMapOutputWithContext(ctx context.Context) BudgetMapOutput

type BudgetNotification

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

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

func (BudgetNotificationArgs) ElementType() reflect.Type

func (BudgetNotificationArgs) ToBudgetNotificationOutput

func (i BudgetNotificationArgs) ToBudgetNotificationOutput() BudgetNotificationOutput

func (BudgetNotificationArgs) ToBudgetNotificationOutputWithContext

func (i BudgetNotificationArgs) ToBudgetNotificationOutputWithContext(ctx context.Context) BudgetNotificationOutput

type BudgetNotificationArray

type BudgetNotificationArray []BudgetNotificationInput

func (BudgetNotificationArray) ElementType

func (BudgetNotificationArray) ElementType() reflect.Type

func (BudgetNotificationArray) ToBudgetNotificationArrayOutput

func (i BudgetNotificationArray) ToBudgetNotificationArrayOutput() BudgetNotificationArrayOutput

func (BudgetNotificationArray) ToBudgetNotificationArrayOutputWithContext

func (i BudgetNotificationArray) ToBudgetNotificationArrayOutputWithContext(ctx context.Context) BudgetNotificationArrayOutput

type BudgetNotificationArrayInput

type BudgetNotificationArrayInput interface {
	pulumi.Input

	ToBudgetNotificationArrayOutput() BudgetNotificationArrayOutput
	ToBudgetNotificationArrayOutputWithContext(context.Context) BudgetNotificationArrayOutput
}

BudgetNotificationArrayInput is an input type that accepts BudgetNotificationArray and BudgetNotificationArrayOutput values. You can construct a concrete instance of `BudgetNotificationArrayInput` via:

BudgetNotificationArray{ BudgetNotificationArgs{...} }

type BudgetNotificationArrayOutput

type BudgetNotificationArrayOutput struct{ *pulumi.OutputState }

func (BudgetNotificationArrayOutput) ElementType

func (BudgetNotificationArrayOutput) Index

func (BudgetNotificationArrayOutput) ToBudgetNotificationArrayOutput

func (o BudgetNotificationArrayOutput) ToBudgetNotificationArrayOutput() BudgetNotificationArrayOutput

func (BudgetNotificationArrayOutput) ToBudgetNotificationArrayOutputWithContext

func (o BudgetNotificationArrayOutput) ToBudgetNotificationArrayOutputWithContext(ctx context.Context) BudgetNotificationArrayOutput

type BudgetNotificationInput

type BudgetNotificationInput interface {
	pulumi.Input

	ToBudgetNotificationOutput() BudgetNotificationOutput
	ToBudgetNotificationOutputWithContext(context.Context) BudgetNotificationOutput
}

BudgetNotificationInput is an input type that accepts BudgetNotificationArgs and BudgetNotificationOutput values. You can construct a concrete instance of `BudgetNotificationInput` via:

BudgetNotificationArgs{...}

type BudgetNotificationOutput

type BudgetNotificationOutput struct{ *pulumi.OutputState }

func (BudgetNotificationOutput) ComparisonOperator

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

func (BudgetNotificationOutput) ElementType() reflect.Type

func (BudgetNotificationOutput) NotificationType

func (o BudgetNotificationOutput) NotificationType() pulumi.StringOutput

(Required) What kind of budget value to notify on. Can be `ACTUAL` or `FORECASTED`

func (BudgetNotificationOutput) SubscriberEmailAddresses

func (o BudgetNotificationOutput) SubscriberEmailAddresses() pulumi.StringArrayOutput

(Optional) E-Mail addresses to notify. Either this or `subscriberSnsTopicArns` is required.

func (BudgetNotificationOutput) SubscriberSnsTopicArns

func (o BudgetNotificationOutput) SubscriberSnsTopicArns() pulumi.StringArrayOutput

(Optional) SNS topics to notify. Either this or `subscriberEmailAddresses` is required.

func (BudgetNotificationOutput) Threshold

(Required) Threshold when the notification should be sent.

func (BudgetNotificationOutput) ThresholdType

func (o BudgetNotificationOutput) ThresholdType() pulumi.StringOutput

(Required) What kind of threshold is defined. Can be `PERCENTAGE` OR `ABSOLUTE_VALUE`.

func (BudgetNotificationOutput) ToBudgetNotificationOutput

func (o BudgetNotificationOutput) ToBudgetNotificationOutput() BudgetNotificationOutput

func (BudgetNotificationOutput) ToBudgetNotificationOutputWithContext

func (o BudgetNotificationOutput) ToBudgetNotificationOutputWithContext(ctx context.Context) BudgetNotificationOutput

type BudgetOutput

type BudgetOutput struct{ *pulumi.OutputState }

func (BudgetOutput) ElementType

func (BudgetOutput) ElementType() reflect.Type

func (BudgetOutput) ToBudgetOutput

func (o BudgetOutput) ToBudgetOutput() BudgetOutput

func (BudgetOutput) ToBudgetOutputWithContext

func (o BudgetOutput) ToBudgetOutputWithContext(ctx context.Context) BudgetOutput

func (BudgetOutput) ToBudgetPtrOutput

func (o BudgetOutput) ToBudgetPtrOutput() BudgetPtrOutput

func (BudgetOutput) ToBudgetPtrOutputWithContext

func (o BudgetOutput) ToBudgetPtrOutputWithContext(ctx context.Context) BudgetPtrOutput

type BudgetPtrInput

type BudgetPtrInput interface {
	pulumi.Input

	ToBudgetPtrOutput() BudgetPtrOutput
	ToBudgetPtrOutputWithContext(ctx context.Context) BudgetPtrOutput
}

type BudgetPtrOutput

type BudgetPtrOutput struct{ *pulumi.OutputState }

func (BudgetPtrOutput) Elem added in v4.15.0

func (o BudgetPtrOutput) Elem() BudgetOutput

func (BudgetPtrOutput) ElementType

func (BudgetPtrOutput) ElementType() reflect.Type

func (BudgetPtrOutput) ToBudgetPtrOutput

func (o BudgetPtrOutput) ToBudgetPtrOutput() BudgetPtrOutput

func (BudgetPtrOutput) ToBudgetPtrOutputWithContext

func (o BudgetPtrOutput) ToBudgetPtrOutputWithContext(ctx context.Context) BudgetPtrOutput

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
	// The ARN of the budget.
	Arn 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.StringMapInput
	// 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. If you don't specify a start date, AWS defaults to the start of your chosen time period. 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`, and `DAILY`.
	TimeUnit pulumi.StringPtrInput
}

func (BudgetState) ElementType

func (BudgetState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL