Amazon ECR AWS 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 Amazon EC2 Container Registry (ECR).

Note: All the list below are in alphabetical order.

Service Code: AmazonECR

Python Code to get Attribute Names for AmazonECR using Boto3

import boto3

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

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

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

print(attribute_names)

Attribute Name List for AmazonECR


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

import boto3

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

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

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='AmazonECR',
        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 AmazonECR

Attribute Name: location
Values:

Africa (Cape Town)
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)
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: productFamily
Values:

EC2 Container Registry

Attribute Name: servicecode
Values:

AmazonECR

Attribute Name: servicename
Values:

Amazon EC2 Container Registry (ECR)

Attribute Name: storageType
Values:

S3

Attribute Name: termType
Values:

OnDemand

Attribute Name: usagetype
Values:

AFS1-TimedStorage-ByteHrs
APE1-TimedStorage-ByteHrs
APN1-TimedStorage-ByteHrs
APN2-TimedStorage-ByteHrs
APN3-TimedStorage-ByteHrs
APS1-TimedStorage-ByteHrs
APS2-TimedStorage-ByteHrs
APS3-TimedStorage-ByteHrs
CAN1-TimedStorage-ByteHrs
EU-TimedStorage-ByteHrs
EUC1-TimedStorage-ByteHrs
EUN1-TimedStorage-ByteHrs
EUS1-TimedStorage-ByteHrs
EUW2-TimedStorage-ByteHrs
EUW3-TimedStorage-ByteHrs
MES1-TimedStorage-ByteHrs
SAE1-TimedStorage-ByteHrs
TimedStorage-ByteHrs
UGE1-TimedStorage-ByteHrs
UGW1-TimedStorage-ByteHrs
USE2-TimedStorage-ByteHrs
USW1-TimedStorage-ByteHrs
USW2-TimedStorage-ByteHrs

We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon EC2 Container Registry (ECR).

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 *