Last Updated on April 29, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for AWS CodeBuild.
Note: All the list below are in alphabetical order.
Service Code: CodeBuild
Python Code to get Attribute Names for AWS CodeBuild using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='CodeBuild')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for AWS CodeBuild
- computeFamily
- computeType
- location
- locationType
- memory
- operatingSystem
- productFamily
- Restriction
- servicecode
- servicename
- termType
- usagetype
- vcpu
Python Code to get the Attribute Values List for AWS CodeBuild using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='CodeBuild')
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='CodeBuild',
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 AWS CodeBuild
Attribute Name: computeFamily
Values:
General Purpose
Attribute Name: computeType
Values:
arm1.large
general1.2xlarge
general1.large
general1.medium
general1.small
gpu1.large
Attribute Name: location
Values:
Africa (Cape Town)
Any
Asia Pacific (Hong Kong)
Asia Pacific (Mumbai)
Asia Pacific (Seoul)
Asia Pacific (Singapore)
Asia Pacific (Sydney)
Asia Pacific (Tokyo)
AWS GovCloud (US-East)
AWS GovCloud (US-West)
Canada (Central)
China (Beijing)
China (Ningxia)
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: memory
Values:
144 GiB
15 GB
16 GiB
244 GiB
3 GB
7 GB
Attribute Name: operatingSystem
Values:
Linux
Windows
Attribute Name: productFamily
Values:
Compute
Attribute Name: Restriction
Values:
Limited SKU Usage
Attribute Name: servicecode
Values:
CodeBuild
Attribute Name: servicename
Values:
CodeBuild
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
AFS1-Build-Min:Linux:g1.large APS3-Build-Min:ARM:g1.large EUN1-Build-Min:Linux:g1.2xlarge UGW1-Build-Min:Linux:g1.medium USW2-Build-Min:Windows:g1.medium
AFS1-Build-Min:Linux:g1.medium APS3-Build-Min:Linux:g1.2xlarge EUN1-Build-Min:Linux:g1.large UGW1-Build-Min:Linux:g1.small
AFS1-Build-Min:Linux:g1.small APS3-Build-Min:Linux:g1.large EUN1-Build-Min:Linux:g1.medium USE1-Build-Min:ARM:g1.large
APE1-Build-Min:Linux:g1.2xlarge APS3-Build-Min:Linux:g1.medium EUN1-Build-Min:Linux:g1.small USE1-Build-Min:Linux:g1.2xlarge
APE1-Build-Min:Linux:g1.large APS3-Build-Min:Linux:g1.small EUS1-Build-Min:Linux:g1.2xlarge USE1-Build-Min:Linux:g1.large
APE1-Build-Min:Linux:g1.medium CAN1-Build-Min:Linux:g1.2xlarge EUS1-Build-Min:Linux:g1.large USE1-Build-Min:Linux:g1.medium
APE1-Build-Min:Linux:g1.small CAN1-Build-Min:Linux:g1.large EUS1-Build-Min:Linux:g1.medium USE1-Build-Min:Linux:g1.small
APN1-Build-Min:ARM:g1.large CAN1-Build-Min:Linux:g1.medium EUS1-Build-Min:Linux:g1.small USE1-Build-Min:LinuxGPU:g1.large
APN1-Build-Min:Linux:g1.2xlarge CAN1-Build-Min:Linux:g1.small EUW2-Build-Min:Linux:g1.2xlarge USE1-Build-Min:Windows:g1.large
APN1-Build-Min:Linux:g1.large CAN1-Build-Min:LinuxGPU:g1.large EUW2-Build-Min:Linux:g1.large USE1-Build-Min:Windows:g1.medium
APN1-Build-Min:Linux:g1.medium CNN1-Build-Min:Linux:g1.large EUW2-Build-Min:Linux:g1.medium USE2-Build-Min:ARM:g1.large
APN1-Build-Min:Linux:g1.small CNN1-Build-Min:Linux:g1.medium EUW2-Build-Min:Linux:g1.small USE2-Build-Min:Linux:g1.2xlarge
APN1-Build-Min:LinuxGPU:g1.large CNN1-Build-Min:Linux:g1.small EUW2-Build-Min:LinuxGPU:g1.large USE2-Build-Min:Linux:g1.large
APN2-Build-Min:Linux:g1.2xlarge CNW1-Build-Min:Linux:g1.large EUW3-Build-Min:Linux:g1.2xlarge USE2-Build-Min:Linux:g1.medium
APN2-Build-Min:Linux:g1.large CNW1-Build-Min:Linux:g1.medium EUW3-Build-Min:Linux:g1.large USE2-Build-Min:Linux:g1.small
APN2-Build-Min:Linux:g1.medium CNW1-Build-Min:Linux:g1.small EUW3-Build-Min:Linux:g1.medium USE2-Build-Min:LinuxGPU:g1.large
APN2-Build-Min:Linux:g1.small EU-Build-Min:ARM:g1.large EUW3-Build-Min:Linux:g1.small USE2-Build-Min:Windows:g1.large
APN2-Build-Min:LinuxGPU:g1.large EU-Build-Min:Linux:g1.2xlarge Global-Build-Min:Linux:g1.small USE2-Build-Min:Windows:g1.medium
APS1-Build-Min:ARM:g1.large EU-Build-Min:Linux:g1.large MES1-Build-Min:Linux:g1.2xlarge USW1-Build-Min:ARM:g1.large
APS1-Build-Min:Linux:g1.2xlarge EU-Build-Min:Linux:g1.medium MES1-Build-Min:Linux:g1.large USW1-Build-Min:Linux:g1.2xlarge
APS1-Build-Min:Linux:g1.large EU-Build-Min:Linux:g1.small MES1-Build-Min:Linux:g1.medium USW1-Build-Min:Linux:g1.large
APS1-Build-Min:Linux:g1.medium EU-Build-Min:LinuxGPU:g1.large MES1-Build-Min:Linux:g1.small USW1-Build-Min:Linux:g1.medium
APS1-Build-Min:Linux:g1.small EU-Build-Min:Windows:g1.large SAE1-Build-Min:Linux:g1.2xlarge USW1-Build-Min:Linux:g1.small
APS1-Build-Min:LinuxGPU:g1.large EU-Build-Min:Windows:g1.medium SAE1-Build-Min:Linux:g1.large USW2-Build-Min:ARM:g1.large
APS2-Build-Min:ARM:g1.large EUC1-Build-Min:ARM:g1.large SAE1-Build-Min:Linux:g1.medium USW2-Build-Min:Linux:g1.2xlarge
APS2-Build-Min:Linux:g1.2xlarge EUC1-Build-Min:Linux:g1.2xlarge SAE1-Build-Min:Linux:g1.small USW2-Build-Min:Linux:g1.large
APS2-Build-Min:Linux:g1.large EUC1-Build-Min:Linux:g1.large UGE1-Build-Min:Linux:g1.large USW2-Build-Min:Linux:g1.medium
APS2-Build-Min:Linux:g1.medium EUC1-Build-Min:Linux:g1.medium UGE1-Build-Min:Linux:g1.medium USW2-Build-Min:Linux:g1.small
APS2-Build-Min:Linux:g1.small EUC1-Build-Min:Linux:g1.small UGE1-Build-Min:Linux:g1.small USW2-Build-Min:LinuxGPU:g1.large
APS2-Build-Min:LinuxGPU:g1.large EUC1-Build-Min:LinuxGPU:g1.large UGW1-Build-Min:Linux:g1.large USW2-Build-Min:Windows:g1.large
Attribute Name: vcpu
Values:
2
32
4
72
8
We hope the above list of attribute names and values helps when using the AWS Price List API for AWS CodeBuild.
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.