billing

package
v7.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetViewsArgs

type GetViewsArgs struct {
	// List of billing view types to retrieve. Valid values are `PRIMARY`, `BILLING_GROUP`, `CUSTOM`.
	BillingViewTypes []string `pulumi:"billingViewTypes"`
}

A collection of arguments for invoking getViews.

type GetViewsBillingView

type GetViewsBillingView struct {
	// ARN of the billing view.
	Arn             string `pulumi:"arn"`
	BillingViewType string `pulumi:"billingViewType"`
	// Description of the billing view.
	Description string `pulumi:"description"`
	// Name of the billing view.
	Name string `pulumi:"name"`
	// Account ID of the billing view owner.
	OwnerAccountId string `pulumi:"ownerAccountId"`
}

type GetViewsBillingViewArgs

type GetViewsBillingViewArgs struct {
	// ARN of the billing view.
	Arn             pulumi.StringInput `pulumi:"arn"`
	BillingViewType pulumi.StringInput `pulumi:"billingViewType"`
	// Description of the billing view.
	Description pulumi.StringInput `pulumi:"description"`
	// Name of the billing view.
	Name pulumi.StringInput `pulumi:"name"`
	// Account ID of the billing view owner.
	OwnerAccountId pulumi.StringInput `pulumi:"ownerAccountId"`
}

func (GetViewsBillingViewArgs) ElementType

func (GetViewsBillingViewArgs) ElementType() reflect.Type

func (GetViewsBillingViewArgs) ToGetViewsBillingViewOutput

func (i GetViewsBillingViewArgs) ToGetViewsBillingViewOutput() GetViewsBillingViewOutput

func (GetViewsBillingViewArgs) ToGetViewsBillingViewOutputWithContext

func (i GetViewsBillingViewArgs) ToGetViewsBillingViewOutputWithContext(ctx context.Context) GetViewsBillingViewOutput

type GetViewsBillingViewArray

type GetViewsBillingViewArray []GetViewsBillingViewInput

func (GetViewsBillingViewArray) ElementType

func (GetViewsBillingViewArray) ElementType() reflect.Type

func (GetViewsBillingViewArray) ToGetViewsBillingViewArrayOutput

func (i GetViewsBillingViewArray) ToGetViewsBillingViewArrayOutput() GetViewsBillingViewArrayOutput

func (GetViewsBillingViewArray) ToGetViewsBillingViewArrayOutputWithContext

func (i GetViewsBillingViewArray) ToGetViewsBillingViewArrayOutputWithContext(ctx context.Context) GetViewsBillingViewArrayOutput

type GetViewsBillingViewArrayInput

type GetViewsBillingViewArrayInput interface {
	pulumi.Input

	ToGetViewsBillingViewArrayOutput() GetViewsBillingViewArrayOutput
	ToGetViewsBillingViewArrayOutputWithContext(context.Context) GetViewsBillingViewArrayOutput
}

GetViewsBillingViewArrayInput is an input type that accepts GetViewsBillingViewArray and GetViewsBillingViewArrayOutput values. You can construct a concrete instance of `GetViewsBillingViewArrayInput` via:

GetViewsBillingViewArray{ GetViewsBillingViewArgs{...} }

type GetViewsBillingViewArrayOutput

type GetViewsBillingViewArrayOutput struct{ *pulumi.OutputState }

func (GetViewsBillingViewArrayOutput) ElementType

func (GetViewsBillingViewArrayOutput) Index

func (GetViewsBillingViewArrayOutput) ToGetViewsBillingViewArrayOutput

func (o GetViewsBillingViewArrayOutput) ToGetViewsBillingViewArrayOutput() GetViewsBillingViewArrayOutput

func (GetViewsBillingViewArrayOutput) ToGetViewsBillingViewArrayOutputWithContext

func (o GetViewsBillingViewArrayOutput) ToGetViewsBillingViewArrayOutputWithContext(ctx context.Context) GetViewsBillingViewArrayOutput

type GetViewsBillingViewInput

type GetViewsBillingViewInput interface {
	pulumi.Input

	ToGetViewsBillingViewOutput() GetViewsBillingViewOutput
	ToGetViewsBillingViewOutputWithContext(context.Context) GetViewsBillingViewOutput
}

GetViewsBillingViewInput is an input type that accepts GetViewsBillingViewArgs and GetViewsBillingViewOutput values. You can construct a concrete instance of `GetViewsBillingViewInput` via:

GetViewsBillingViewArgs{...}

type GetViewsBillingViewOutput

type GetViewsBillingViewOutput struct{ *pulumi.OutputState }

func (GetViewsBillingViewOutput) Arn

ARN of the billing view.

func (GetViewsBillingViewOutput) BillingViewType

func (o GetViewsBillingViewOutput) BillingViewType() pulumi.StringOutput

func (GetViewsBillingViewOutput) Description

Description of the billing view.

func (GetViewsBillingViewOutput) ElementType

func (GetViewsBillingViewOutput) ElementType() reflect.Type

func (GetViewsBillingViewOutput) Name

Name of the billing view.

func (GetViewsBillingViewOutput) OwnerAccountId

func (o GetViewsBillingViewOutput) OwnerAccountId() pulumi.StringOutput

Account ID of the billing view owner.

func (GetViewsBillingViewOutput) ToGetViewsBillingViewOutput

func (o GetViewsBillingViewOutput) ToGetViewsBillingViewOutput() GetViewsBillingViewOutput

func (GetViewsBillingViewOutput) ToGetViewsBillingViewOutputWithContext

func (o GetViewsBillingViewOutput) ToGetViewsBillingViewOutputWithContext(ctx context.Context) GetViewsBillingViewOutput

type GetViewsOutputArgs

type GetViewsOutputArgs struct {
	// List of billing view types to retrieve. Valid values are `PRIMARY`, `BILLING_GROUP`, `CUSTOM`.
	BillingViewTypes pulumi.StringArrayInput `pulumi:"billingViewTypes"`
}

A collection of arguments for invoking getViews.

func (GetViewsOutputArgs) ElementType

func (GetViewsOutputArgs) ElementType() reflect.Type

type GetViewsResult

type GetViewsResult struct {
	BillingViewTypes []string `pulumi:"billingViewTypes"`
	// List of billing view objects with the following attributes:
	BillingViews []GetViewsBillingView `pulumi:"billingViews"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getViews.

func GetViews

func GetViews(ctx *pulumi.Context, args *GetViewsArgs, opts ...pulumi.InvokeOption) (*GetViewsResult, error)

Provides details about an AWS Billing Views.

## Example Usage

### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/billing"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := billing.GetViews(ctx, &billing.GetViewsArgs{
			BillingViewTypes: []string{
				"PRIMARY",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("primaryViewArnByTypes", example.BillingViews[0].Arn)
		return nil
	})
}

```

type GetViewsResultOutput

type GetViewsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getViews.

func (GetViewsResultOutput) BillingViewTypes

func (o GetViewsResultOutput) BillingViewTypes() pulumi.StringArrayOutput

func (GetViewsResultOutput) BillingViews

List of billing view objects with the following attributes:

func (GetViewsResultOutput) ElementType

func (GetViewsResultOutput) ElementType() reflect.Type

func (GetViewsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetViewsResultOutput) ToGetViewsResultOutput

func (o GetViewsResultOutput) ToGetViewsResultOutput() GetViewsResultOutput

func (GetViewsResultOutput) ToGetViewsResultOutputWithContext

func (o GetViewsResultOutput) ToGetViewsResultOutputWithContext(ctx context.Context) GetViewsResultOutput

Jump to

Keyboard shortcuts

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