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 Service (ECS).
Note: All the list below are in alphabetical order.
Service Code: AmazonECS
Python Code to get Attribute Names for AmazonECS using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonECS')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for AmazonECS
Python Code to get the Attribute Values List for AmazonECS using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonECS')
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='AmazonECS',
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 AmazonECS
Attribute Name: cputype
Values:
perCPU
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: memorytype
Values:
perGB
Attribute Name: productFamily
Values:
Compute
Compute Metering
Attribute Name: servicecode
Values:
AmazonECS
Attribute Name: servicename
Values:
Amazon EC2 Container Service
Attribute Name: tenancy
Values:
Shared
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
AFS1-Fargate-GB-Hours EU-ECS-EC2-GB-Hours UGE1-Fargate-GB-Hours
AFS1-Fargate-vCPU-Hours:perCPU EU-ECS-EC2-vCPU-Hours UGE1-Fargate-vCPU-Hours:perCPU
APE1-Fargate-GB-Hours EU-Fargate-GB-Hours UGW1-ECS-EC2-GB-Hours
APE1-Fargate-vCPU-Hours:perCPU EU-Fargate-vCPU-Hours:perCPU UGW1-ECS-EC2-vCPU-Hours
APN1-ECS-EC2-GB-Hours EUC1-ECS-EC2-GB-Hours UGW1-Fargate-GB-Hours
APN1-ECS-EC2-vCPU-Hours EUC1-ECS-EC2-vCPU-Hours UGW1-Fargate-vCPU-Hours:perCPU
APN1-Fargate-GB-Hours EUC1-Fargate-GB-Hours USE1-ECS-EC2-GB-Hours
APN1-Fargate-vCPU-Hours:perCPU EUC1-Fargate-vCPU-Hours:perCPU USE1-ECS-EC2-vCPU-Hours
APN2-ECS-EC2-GB-Hours EUN1-Fargate-GB-Hours USE1-Fargate-GB-Hours
APN2-ECS-EC2-vCPU-Hours EUN1-Fargate-vCPU-Hours:perCPU USE1-Fargate-vCPU-Hours:perCPU
APN2-Fargate-GB-Hours EUS1-Fargate-GB-Hours USE2-ECS-EC2-GB-Hours
APN2-Fargate-vCPU-Hours:perCPU EUS1-Fargate-vCPU-Hours:perCPU USE2-ECS-EC2-vCPU-Hours
APN3-Fargate-GB-Hours EUW2-ECS-EC2-GB-Hours USE2-Fargate-GB-Hours
APN3-Fargate-vCPU-Hours:perCPU EUW2-ECS-EC2-vCPU-Hours USE2-Fargate-vCPU-Hours:perCPU
APS1-ECS-EC2-GB-Hours EUW2-Fargate-GB-Hours USW1-ECS-EC2-GB-Hours
APS1-ECS-EC2-vCPU-Hours EUW2-Fargate-vCPU-Hours:perCPU USW1-ECS-EC2-vCPU-Hours
APS1-Fargate-GB-Hours EUW3-ECS-EC2-GB-Hours USW1-Fargate-GB-Hours
APS1-Fargate-vCPU-Hours:perCPU EUW3-ECS-EC2-vCPU-Hours USW1-Fargate-vCPU-Hours:perCPU
APS2-ECS-EC2-GB-Hours EUW3-Fargate-GB-Hours USW2-ECS-EC2-GB-Hours
APS2-ECS-EC2-vCPU-Hours EUW3-Fargate-vCPU-Hours:perCPU USW2-ECS-EC2-vCPU-Hours
APS2-Fargate-GB-Hours MES1-ECS-EC2-GB-Hours USW2-Fargate-GB-Hours
APS2-Fargate-vCPU-Hours:perCPU MES1-ECS-EC2-vCPU-Hours USW2-Fargate-vCPU-Hours:perCPU
APS3-ECS-EC2-GB-Hours MES1-Fargate-GB-Hours
APS3-ECS-EC2-vCPU-Hours MES1-Fargate-vCPU-Hours:perCPU
APS3-Fargate-GB-Hours SAE1-ECS-EC2-GB-Hours
APS3-Fargate-vCPU-Hours:perCPU SAE1-ECS-EC2-vCPU-Hours
CAN1-ECS-EC2-GB-Hours SAE1-Fargate-GB-Hours
CAN1-ECS-EC2-vCPU-Hours SAE1-Fargate-vCPU-Hours:perCPU
CAN1-Fargate-GB-Hours UGE1-ECS-EC2-GB-Hours
CAN1-Fargate-vCPU-Hours:perCPU UGE1-ECS-EC2-vCPU-Hours
We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon EC2 Container Service (ECS).
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.