Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for Elastic Load Balancing (ELB).
This is for the following AWS Load Balancers.
- Classic Load Balancers
- Application Load Balancers
- Network Load Balancers
- Gateway Load Balancers
Note: All the list below are in alphabetical order.
Service Code: AWSELB
Python Code to get Attribute Names for AWSELB using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AWSELB')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for AWSELB
- group
- groupDescription
- location
- locationType
- operation
- productFamily
- servicecode
- servicename
- termType
- usagetype
Python Code to get the Attribute Values List for AWSELB using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='AWSELB')
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='AWSELB',
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 AWSELB
Attribute Name: group
Values:
ELB:Balancing
Attribute Name: groupDescription
Values:
Data processed by Classic Load Balancer
LoadBalancer hourly usage by Application Load Balancer
LoadBalancer hourly usage by Application Load Balancer on Outposts
LoadBalancer hourly usage by Classic Load Balancer
LoadBalancer hourly usage by Gateway Load Balancer
LoadBalancer hourly usage by Network Load Balancer
Used Application Load Balancer capacity On Outposts units-hr
Used Application Load Balancer capacity units-hr
Used Gateway Load Balancer capacity units-hr
Used Network Load Balancer capacity units-hr
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 (Los Angeles)
US West (N. California)
US West (Oregon)
Attribute Name: locationType
Values:
AWS Outposts
AWS Region
Attribute Name: operation
Values:
LoadBalancing
LoadBalancing:Application
LoadBalancing:Gateway
LoadBalancing:Network
Attribute Name: productFamily
Values:
Load Balancer
Load Balancer-Application
Load Balancer-Gateway
Load Balancer-Network
Attribute Name: servicecode
Values:
AWSELB
Attribute Name: servicename
Values:
Elastic Load Balancing
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
AFS1-DataProcessing-Bytes APS2-DataProcessing-Bytes EUN1-Outposts-LoadBalancerUsage SAE1-Outposts-LCUUsage
AFS1-LCUUsage APS2-LCUUsage EUS1-DataProcessing-Bytes SAE1-Outposts-LoadBalancerUsage
AFS1-LoadBalancerUsage APS2-LoadBalancerUsage EUS1-LCUUsage UGE1-DataProcessing-Bytes
AFS1-Outposts-LCUUsage APS2-Outposts-LCUUsage EUS1-LoadBalancerUsage UGE1-LCUUsage
AFS1-Outposts-LoadBalancerUsage APS2-Outposts-LoadBalancerUsage EUS1-Outposts-LCUUsage UGE1-LoadBalancerUsage
APE1-DataProcessing-Bytes APS3-DataProcessing-Bytes EUS1-Outposts-LoadBalancerUsage UGE1-Outposts-LCUUsage
APE1-LCUUsage APS3-LCUUsage EUW2-DataProcessing-Bytes UGE1-Outposts-LoadBalancerUsage
APE1-LoadBalancerUsage APS3-LoadBalancerUsage EUW2-LCUUsage UGW1-DataProcessing-Bytes
APE1-Outposts-LCUUsage APS3-Outposts-LCUUsage EUW2-LoadBalancerUsage UGW1-LCUUsage
APE1-Outposts-LoadBalancerUsage APS3-Outposts-LoadBalancerUsage EUW2-Outposts-LCUUsage UGW1-LoadBalancerUsage
APN1-DataProcessing-Bytes CAN1-DataProcessing-Bytes EUW2-Outposts-LoadBalancerUsage UGW1-Outposts-LCUUsage
APN1-LCUUsage CAN1-LCUUsage EUW3-DataProcessing-Bytes UGW1-Outposts-LoadBalancerUsage
APN1-LoadBalancerUsage CAN1-LoadBalancerUsage EUW3-LCUUsage USE2-DataProcessing-Bytes
APN1-Outposts-LCUUsage CAN1-Outposts-LCUUsage EUW3-LoadBalancerUsage USE2-LCUUsage
APN1-Outposts-LoadBalancerUsage CAN1-Outposts-LoadBalancerUsage EUW3-Outposts-LCUUsage USE2-LoadBalancerUsage
APN2-DataProcessing-Bytes DataProcessing-Bytes EUW3-Outposts-LoadBalancerUsage USE2-Outposts-LCUUsage
APN2-LCUUsage EU-DataProcessing-Bytes LAX1-LCUUsage USE2-Outposts-LoadBalancerUsage
APN2-LoadBalancerUsage EU-LCUUsage LAX1-LoadBalancerUsage USW1-DataProcessing-Bytes
APN2-Outposts-LCUUsage EU-LoadBalancerUsage LCUUsage USW1-LCUUsage
APN2-Outposts-LoadBalancerUsage EU-Outposts-LCUUsage LoadBalancerUsage USW1-LoadBalancerUsage
APN3-DataProcessing-Bytes EU-Outposts-LoadBalancerUsage MES1-DataProcessing-Bytes USW1-Outposts-LCUUsage
APN3-LCUUsage EUC1-DataProcessing-Bytes MES1-LCUUsage USW1-Outposts-LoadBalancerUsage
APN3-LoadBalancerUsage EUC1-LCUUsage MES1-LoadBalancerUsage USW2-DataProcessing-Bytes
APN3-Outposts-LCUUsage EUC1-LoadBalancerUsage MES1-Outposts-LCUUsage USW2-LCUUsage
APN3-Outposts-LoadBalancerUsage EUC1-Outposts-LCUUsage MES1-Outposts-LoadBalancerUsage USW2-LoadBalancerUsage
APS1-DataProcessing-Bytes EUC1-Outposts-LoadBalancerUsage Outposts-LCUUsage USW2-Outposts-LCUUsage
APS1-LCUUsage EUN1-DataProcessing-Bytes Outposts-LoadBalancerUsage USW2-Outposts-LoadBalancerUsage
APS1-LoadBalancerUsage EUN1-LCUUsage SAE1-DataProcessing-Bytes
APS1-Outposts-LCUUsage EUN1-LoadBalancerUsage SAE1-LCUUsage
APS1-Outposts-LoadBalancerUsage EUN1-Outposts-LCUUsage SAE1-LoadBalancerUsage
We hope the above list of attribute names and values helps when using the AWS Price List API for Elastic Load Balancing (ELB).
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.