AwaitableGetProductResult(filters=None, result=None, service_code=None, id=None)¶
GetProductResult(filters=None, result=None, service_code=None, id=None)¶
A collection of values returned by getProduct.
Set to the product returned from the API.
id is the provider-assigned unique ID for this managed resource.
get_product(filters=None, service_code=None, opts=None)¶
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.
filters (list) – 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.
service_code (str) – The code of the service. Available service codes can be fetched using the DescribeServices pricing API call.
The filters object supports the following:
str) - The product attribute name that you want to filter on.
str) - The product attribute value that you want to filter on.
This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/pricing_product.html.markdown.