AWS CloudFormation Price List API all Attribute Names and Values


Last Updated on April 28, 2021

Below is a reference for all attribute names and attribute values in AWS Price List API for AWS CloudFormation.

Note: All the list below are in alphabetical order.

Service Code: AWSCloudFormation

Python Code to get Attribute Names for AWSCloudFormation using Boto3

import boto3

pricing_client = boto3.client('pricing', region_name='us-east-1')

response = pricing_client.describe_services(ServiceCode='AWSCloudFormation')

attribute_names = response['Services'][0]['AttributeNames']

print(attribute_names)

Attribute Name List for AWSCloudFormation


Python Code to get the Attribute Values List for AWSCloudFormation using Boto3

import boto3

pricing_client = boto3.client('pricing', region_name='us-east-1')

response = pricing_client.describe_services(ServiceCode='AWSCloudFormation')

attribute_names = response['Services'][0]['AttributeNames']

for attribute_name in attribute_names:

    attribute_values = []

    response_iterator = pricing_client.get_paginator('get_attribute_values').paginate(
        ServiceCode='AWSCloudFormation',
        AttributeName=attribute_name
    )

    for response in response_iterator:
        for attribute_value in response['AttributeValues']:
            attribute_values.append(attribute_value['Value'])

    print('Attribute Name:', attribute_name)
    print(attribute_values)
    print()

Attribute Values List for AWSCloudFormation

Attribute Name: cloudformationresourceProvider
Values:

CloudFormation-ResourceProvider-Duration
CloudFormation-ResourceProvider-Invocation

Attribute Name: location
Values:

Africa (Cape Town)
Any
Asia Pacific (Hong Kong)
Asia Pacific (Mumbai)
Asia Pacific (Osaka)
Asia Pacific (Seoul)
Asia Pacific (Singapore)
Asia Pacific (Sydney)
Asia Pacific (Tokyo)
AWS GovCloud (US-East)
AWS GovCloud (US-West)
Canada (Central)
China (Beijing)
EU (Frankfurt)
EU (Ireland)
EU (London)
EU (Milan)
EU (Paris)
EU (Stockholm)
Middle East (Bahrain)
South America (Sao Paulo)
US East (N. Virginia)
US East (Ohio)
US West (N. California)
US West (Oregon)

Attribute Name: locationType
Values:

AWS Region

Attribute Name: operation
Values:

ProcessResourceHandlers

Attribute Name: Restriction
Values:

Limited SKU Usage

Attribute Name: servicecode
Values:

AWSCloudFormation

Attribute Name: servicename
Values:

AWS CloudFormation

Attribute Name: termType
Values:

OnDemand

Attribute Name: usagetype
Values:

AFS1-Resource-Invocation-Count
AFS1-Resource-Processing-Time
APE1-Resource-Invocation-Count
APE1-Resource-Processing-Time
APN1-Resource-Invocation-Count
APN1-Resource-Processing-Time
APN2-Resource-Invocation-Count
APN2-Resource-Processing-Time
APN3-Resource-Invocation-Count
APN3-Resource-Processing-Time
APS1-Resource-Invocation-Count
APS1-Resource-Processing-Time
APS2-Resource-Invocation-Count
APS2-Resource-Processing-Time
APS3-Resource-Invocation-Count
APS3-Resource-Processing-Time
CAN1-Resource-Invocation-Count
CAN1-Resource-Processing-Time
CNN1-Resource-Invocation-Count
CNN1-Resource-Processing-Time
EU-Resource-Invocation-Count
EU-Resource-Processing-Time
EUC1-Resource-Invocation-Count
EUC1-Resource-Processing-Time
EUN1-Resource-Invocation-Count
EUN1-Resource-Processing-Time
EUS1-Resource-Invocation-Count
EUS1-Resource-Processing-Time
EUW2-Resource-Invocation-Count
EUW2-Resource-Processing-Time
EUW3-Resource-Invocation-Count
EUW3-Resource-Processing-Time
Global-Resource-Invocation-Count-FreeTier
MES1-Resource-Invocation-Count
MES1-Resource-Processing-Time
SAE1-Resource-Invocation-Count
SAE1-Resource-Processing-Time
UGE1-Resource-Invocation-Count
UGE1-Resource-Processing-Time
UGW1-Resource-Invocation-Count
UGW1-Resource-Processing-Time
USE1-Resource-Invocation-Count
USE1-Resource-Processing-Time
USE2-Resource-Invocation-Count
USE2-Resource-Processing-Time
USW1-Resource-Invocation-Count
USW1-Resource-Processing-Time
USW2-Resource-Invocation-Count
USW2-Resource-Processing-Time

We hope the above list of attribute names and values helps when using the AWS Pricing API for AWS CloudFormation.

If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.


Leave a Reply

Your email address will not be published. Required fields are marked *