pricing

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetProductArgs

type GetProductArgs struct {
	// A list of filters. Passed directly to the API (see GetProducts API reference). These filters must describe a single product, this resource will fail if more than one product is returned by the API.
	Filters []GetProductFilter `pulumi:"filters"`
	// The code of the service. Available service codes can be fetched using the DescribeServices pricing API call.
	ServiceCode string `pulumi:"serviceCode"`
}

A collection of arguments for invoking getProduct.

type GetProductFilter added in v1.19.0

type GetProductFilter struct {
	// The product attribute name that you want to filter on.
	Field string `pulumi:"field"`
	// The product attribute value that you want to filter on.
	Value string `pulumi:"value"`
}

type GetProductFilterArgs added in v1.19.0

type GetProductFilterArgs struct {
	// The product attribute name that you want to filter on.
	Field pulumi.StringInput `pulumi:"field"`
	// The product attribute value that you want to filter on.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetProductFilterArgs) ElementType added in v1.19.0

func (GetProductFilterArgs) ElementType() reflect.Type

func (GetProductFilterArgs) ToGetProductFilterOutput added in v1.19.0

func (i GetProductFilterArgs) ToGetProductFilterOutput() GetProductFilterOutput

func (GetProductFilterArgs) ToGetProductFilterOutputWithContext added in v1.19.0

func (i GetProductFilterArgs) ToGetProductFilterOutputWithContext(ctx context.Context) GetProductFilterOutput

type GetProductFilterArray added in v1.19.0

type GetProductFilterArray []GetProductFilterInput

func (GetProductFilterArray) ElementType added in v1.19.0

func (GetProductFilterArray) ElementType() reflect.Type

func (GetProductFilterArray) ToGetProductFilterArrayOutput added in v1.19.0

func (i GetProductFilterArray) ToGetProductFilterArrayOutput() GetProductFilterArrayOutput

func (GetProductFilterArray) ToGetProductFilterArrayOutputWithContext added in v1.19.0

func (i GetProductFilterArray) ToGetProductFilterArrayOutputWithContext(ctx context.Context) GetProductFilterArrayOutput

type GetProductFilterArrayInput added in v1.19.0

type GetProductFilterArrayInput interface {
	pulumi.Input

	ToGetProductFilterArrayOutput() GetProductFilterArrayOutput
	ToGetProductFilterArrayOutputWithContext(context.Context) GetProductFilterArrayOutput
}

type GetProductFilterArrayOutput added in v1.19.0

type GetProductFilterArrayOutput struct{ *pulumi.OutputState }

func (GetProductFilterArrayOutput) ElementType added in v1.19.0

func (GetProductFilterArrayOutput) Index added in v1.19.0

func (GetProductFilterArrayOutput) ToGetProductFilterArrayOutput added in v1.19.0

func (o GetProductFilterArrayOutput) ToGetProductFilterArrayOutput() GetProductFilterArrayOutput

func (GetProductFilterArrayOutput) ToGetProductFilterArrayOutputWithContext added in v1.19.0

func (o GetProductFilterArrayOutput) ToGetProductFilterArrayOutputWithContext(ctx context.Context) GetProductFilterArrayOutput

type GetProductFilterInput added in v1.19.0

type GetProductFilterInput interface {
	pulumi.Input

	ToGetProductFilterOutput() GetProductFilterOutput
	ToGetProductFilterOutputWithContext(context.Context) GetProductFilterOutput
}

type GetProductFilterOutput added in v1.19.0

type GetProductFilterOutput struct{ *pulumi.OutputState }

func (GetProductFilterOutput) ElementType added in v1.19.0

func (GetProductFilterOutput) ElementType() reflect.Type

func (GetProductFilterOutput) Field added in v1.19.0

The product attribute name that you want to filter on.

func (GetProductFilterOutput) ToGetProductFilterOutput added in v1.19.0

func (o GetProductFilterOutput) ToGetProductFilterOutput() GetProductFilterOutput

func (GetProductFilterOutput) ToGetProductFilterOutputWithContext added in v1.19.0

func (o GetProductFilterOutput) ToGetProductFilterOutputWithContext(ctx context.Context) GetProductFilterOutput

func (GetProductFilterOutput) Value added in v1.19.0

The product attribute value that you want to filter on.

type GetProductResult

type GetProductResult struct {
	Filters []GetProductFilter `pulumi:"filters"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Set to the product returned from the API.
	Result      string `pulumi:"result"`
	ServiceCode string `pulumi:"serviceCode"`
}

A collection of values returned by getProduct.

func GetProduct added in v1.19.0

func GetProduct(ctx *pulumi.Context, args *GetProductArgs, opts ...pulumi.InvokeOption) (*GetProductResult, error)

Use this data source to get the pricing information of all products in AWS. This data source is only available in a us-east-1 or ap-south-1 provider.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/pricing_product.html.markdown.

Jump to

Keyboard shortcuts

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