Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for Amazon CloudFront.
Note: All the list below are in alphabetical order.
Service Code: AmazonCloudFront
Python Code to get Attribute Names for AmazonCloudFront using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonCloudFront')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for AmazonCloudFront
- fromLocation
- fromLocationType
- group
- groupDescription
- location
- locationType
- operation
- productFamily
- requestDescription
- requestType
- servicecode
- servicename
- termType
- toLocation
- toLocationType
- transferType
- usagetype
Python Code to get the Attribute Values List for AmazonCloudFront using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AmazonCloudFront')
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='AmazonCloudFront',
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 AmazonCloudFront
Attribute Name: fromLocation
Values:
Asia Pacific
Asia Pacific (Mumbai)
Asia Pacific (Seoul)
Asia Pacific (Singapore)
Asia Pacific (Sydney)
Asia Pacific (Tokyo)
Australia
Canada
EU (Frankfurt)
EU (Ireland)
EU (London)
Europe
External
India
Japan
Middle East
Middle East (Bahrain)
South Africa
South America
South America (Sao Paulo)
United States
US East (N. Virginia)
US East (Ohio)
US West (N. California)
US West (Oregon)
Attribute Name: fromLocationType
Values:
AWS Edge Location
AWS Region
Other
Attribute Name: group
Values:
AWS-Lambda-Edge-Duration
AWS-Lambda-Edge-Requests
CF-Invalidations
CF-RealTimeLog
CF-SSL-Cert-Custom
CF-StaticIP-IPv4
CF-StaticIP-IPv6
CloudFront-Functions
Attribute Name: groupDescription
Values:
Charge for generating RealTimeLog
Charge for invalidating objects (removing the objects from CloudFront edge locations)
Charge for using an SSL certificate with a CloudFront alternate domain name
Charge for using Static IPv4 addresses
Charge for using Static IPv6 addresses
CloudFront Function executions
Invocation call for a Lambda function
Invocation duration weighted by memory assigned to function, measured in GB-s
Attribute Name: location
Values:
Asia Pacific
Asia Pacific (Hong Kong)
Asia Pacific (Mumbai)
Asia Pacific (Seoul)
Asia Pacific (Singapore)
Asia Pacific (Sydney)
Asia Pacific (Tokyo)
Australia
AWS GovCloud (US-East)
AWS GovCloud (US-West)
Canada
Canada (Central)
China (Beijing)
China (Ningxia)
EU (Frankfurt)
EU (Ireland)
EU (London)
EU (Paris)
EU (Stockholm)
Europe
India
Japan
Middle East
Middle East (Bahrain)
South Africa
South America
South America (Sao Paulo)
United States
US East (N. Virginia)
US East (Ohio)
US ISO East
US West (N. California)
US West (Oregon)
Attribute Name: locationType
Values:
AWS Edge Location
AWS Region
Attribute Name: operation
Values:
Execution
RealTimeLog
Attribute Name: productFamily
Values:
Data Transfer
Fee
RealTime
Request
Serverless
Attribute Name: requestDescription
Values:
HTTP DELETE, OPTIONS, PATCH, POST, and PUT requests that CloudFront forwards to your origin
HTTP GET and HEAD requests
HTTPS DELETE, OPTIONS, PATCH, POST, and PUT requests that CloudFront forwards to your origin
HTTPS GET and HEAD requests
HTTPS Proxy requests with Field Level Encryption
Origin Shield Requests
Attribute Name: requestType
Values:
CloudFront-Request-HTTP-Proxy
CloudFront-Request-HTTPS-Proxy
CloudFront-Request-HTTPS-Proxy-Field-Level-Encryption
CloudFront-Request-Origin-Shield
CloudFront-Request-Tier1
CloudFront-Request-Tier2
Attribute Name: servicecode
Values:
AmazonCloudFront
Attribute Name: servicename
Values:
Amazon CloudFront
Attribute Name: termType
Values:
OnDemand
Attribute Name: toLocation
Values:
Asia Pacific (Mumbai)
Asia Pacific (Seoul)
Asia Pacific (Singapore)
Asia Pacific (Sydney)
Asia Pacific (Tokyo)
Data Origin
EU (Frankfurt)
EU (Ireland)
EU (London)
External
Middle East (Bahrain)
South America (Sao Paulo)
US East (N. Virginia)
US East (Ohio)
US West (N. California)
US West (Oregon)
Attribute Name: toLocationType
Values:
AWS Region
Other
Attribute Name: transferType
Values:
CloudFront Outbound
CloudFront to Origin
Origin Shield to origin
Origin to Origin Shield
Attribute Name: usagetype
Values:
AP-DataTransfer-Out-Bytes APS3-Lambda-Edge-GB-Second EU-Requests-HTTP-Proxy JP-DataTransfer-Out-OBytes SAE1-Lambda-Edge-Request USW1-OBytes-OriginShield
AP-DataTransfer-Out-OBytes APS3-Lambda-Edge-Request EU-Requests-HTTPS-Proxy JP-Requests-HTTP-Proxy SAE1-OBytes-OriginShield USW1-Requests-OriginShield
AP-Requests-HTTP-Proxy APS3-OBytes-OriginShield EU-Requests-HTTPS-Proxy-FLE JP-Requests-HTTPS-Proxy SAE1-Requests-OriginShield USW2-Bytes-OriginShield
AP-Requests-HTTPS-Proxy APS3-Requests-OriginShield EU-Requests-OriginShield JP-Requests-HTTPS-Proxy-FLE SSL-Cert-Custom USW2-Lambda-Edge-GB-Second
AP-Requests-HTTPS-Proxy-FLE AU-DataTransfer-Out-Bytes EU-Requests-Tier1 JP-Requests-Tier1 StaticIP-IPv4 USW2-Lambda-Edge-Request
AP-Requests-Tier1 AU-DataTransfer-Out-OBytes EU-Requests-Tier2-HTTPS JP-Requests-Tier2-HTTPS StaticIP-IPv6 USW2-OBytes-OriginShield
AP-Requests-Tier2-HTTPS AU-Requests-HTTP-Proxy EUC1-Bytes-OriginShield Lambda-Edge-GB-Second UGE1-Lambda-Edge-GB-Second USW2-Requests-OriginShield
APE1-Lambda-Edge-GB-Second AU-Requests-HTTPS-Proxy EUC1-Lambda-Edge-GB-Second Lambda-Edge-Request UGE1-Lambda-Edge-Request ZA-DataTransfer-Out-Bytes
APE1-Lambda-Edge-Request AU-Requests-HTTPS-Proxy-FLE EUC1-Lambda-Edge-Request ME-DataTransfer-Out-Bytes UGW1-Lambda-Edge-GB-Second ZA-DataTransfer-Out-OBytes
APN1-Bytes-OriginShield AU-Requests-Tier1 EUC1-OBytes-OriginShield ME-DataTransfer-Out-OBytes UGW1-Lambda-Edge-Request ZA-Requests-HTTP-Proxy
APN1-Lambda-Edge-GB-Second AU-Requests-Tier2-HTTPS EUC1-Requests-OriginShield ME-Requests-HTTP-Proxy UIE1-Lambda-Edge-GB-Second ZA-Requests-HTTPS-Proxy
APN1-Lambda-Edge-Request CA-DataTransfer-Out-Bytes EUN1-Lambda-Edge-GB-Second ME-Requests-HTTPS-Proxy UIE1-Lambda-Edge-Request ZA-Requests-HTTPS-Proxy-FLE
APN1-OBytes-OriginShield CA-DataTransfer-Out-OBytes EUN1-Lambda-Edge-Request ME-Requests-HTTPS-Proxy-FLE US-DataTransfer-Out-Bytes ZA-Requests-Tier1
APN1-Requests-OriginShield CA-Requests-HTTP-Proxy EUW2-Bytes-OriginShield ME-Requests-Tier1 US-DataTransfer-Out-OBytes ZA-Requests-Tier2-HTTPS
APN2-Bytes-OriginShield CA-Requests-HTTPS-Proxy EUW2-Lambda-Edge-GB-Second ME-Requests-Tier2-HTTPS US-Requests-HTTP-Proxy
APN2-Lambda-Edge-GB-Second CA-Requests-HTTPS-Proxy-FLE EUW2-Lambda-Edge-Request MES1-Bytes-OriginShield US-Requests-HTTPS-Proxy
APN2-Lambda-Edge-Request CA-Requests-Tier1 EUW2-OBytes-OriginShield MES1-Lambda-Edge-GB-Second US-Requests-HTTPS-Proxy-FLE
APN2-OBytes-OriginShield CA-Requests-Tier2-HTTPS EUW2-Requests-OriginShield MES1-Lambda-Edge-Request US-Requests-Tier1
APN2-Requests-OriginShield CAN1-Lambda-Edge-GB-Second EUW3-Lambda-Edge-GB-Second MES1-OBytes-OriginShield US-Requests-Tier2-HTTPS
APS1-Bytes-OriginShield CAN1-Lambda-Edge-Request EUW3-Lambda-Edge-Request MES1-Requests-OriginShield USE1-Bytes-OriginShield
APS1-Lambda-Edge-GB-Second CNN1-Lambda-Edge-GB-Second Executions-CloudFrontFunctions RealTimeLog-KinesisDataStream USE1-OBytes-OriginShield
APS1-Lambda-Edge-Request CNN1-Lambda-Edge-Request IN-DataTransfer-Out-Bytes SA-DataTransfer-Out-Bytes USE1-Requests-OriginShield
APS1-OBytes-OriginShield CNW1-Lambda-Edge-GB-Second IN-DataTransfer-Out-OBytes SA-DataTransfer-Out-OBytes USE2-Bytes-OriginShield
APS1-Requests-OriginShield CNW1-Lambda-Edge-Request IN-Requests-HTTP-Proxy SA-Requests-HTTP-Proxy USE2-Lambda-Edge-GB-Second
APS2-Bytes-OriginShield EU-Bytes-OriginShield IN-Requests-HTTPS-Proxy SA-Requests-HTTPS-Proxy USE2-Lambda-Edge-Request
APS2-Lambda-Edge-GB-Second EU-DataTransfer-Out-Bytes IN-Requests-HTTPS-Proxy-FLE SA-Requests-HTTPS-Proxy-FLE USE2-OBytes-OriginShield
APS2-Lambda-Edge-Request EU-DataTransfer-Out-OBytes IN-Requests-Tier1 SA-Requests-Tier1 USE2-Requests-OriginShield
APS2-OBytes-OriginShield EU-Lambda-Edge-GB-Second IN-Requests-Tier2-HTTPS SA-Requests-Tier2-HTTPS USW1-Bytes-OriginShield
APS2-Requests-OriginShield EU-Lambda-Edge-Request Invalidations SAE1-Bytes-OriginShield USW1-Lambda-Edge-GB-Second
APS3-Bytes-OriginShield EU-OBytes-OriginShield JP-DataTransfer-Out-Bytes SAE1-Lambda-Edge-GB-Second USW1-Lambda-Edge-Request
We hope the above list of attribute names and values helps when using the AWS Price List API for Amazon CloudFront.
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.