Last Updated on April 28, 2021
Below is a reference for all attribute names and attribute values in AWS Price List API for AWS Key Management Service (KMS).
Note: All the list below are in alphabetical order.
Service Code: awskms
Python Code to get Attribute Names for AWS KMS using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='awskms')
attribute_names = response['Services'][0]['AttributeNames']
print(attribute_names)
Attribute Name List for AWS KMS
- group
- groupDescription
- location
- locationType
- productFamily
- Restriction
- servicecode
- servicename
- termType
- usagetype
Python Code to get the Attribute Values List for AWS KMS using Boto3
import boto3
pricing_client = boto3.client('pricing', region_name='us-east-1')
response = pricing_client.describe_services(ServiceCode='awskms')
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='awskms',
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 KMS
Attribute Name: group
Values:
aws-kms-Requests-Asymmetric-RSA_2048
awskms-APIRequest-All
awskms-Requests
awskms-Requests-Asymmetric
awskms-Requests-GenerateDatakeyPair-ECC
awskms-Requests-GenerateDatakeyPair-RSA
Attribute Name: groupDescription
Values:
All AWS KMS API requests
AWS KMS API Requests GenerateDatakeyPair ECC
AWS KMS API Requests GenerateDatakeyPair RSA
AWS KMS Asymmetric Requests except RSA_2048API
AWS KMS Asymmetric Requests RSA_2048
Monthly free usage of KMS API Requests
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:
API Request
Bundle
Encryption Key
Attribute Name: Restriction
Values:
Limited SKU Usage
Attribute Name: servicecode
Values:
awskms
Attribute Name: servicename
Values:
AWS Key Management Service
Attribute Name: termType
Values:
OnDemand
Attribute Name: usagetype
Values:
af-south-1-KMS-Keys ap-south-1-KMS-Requests eu-north-1-KMS-Requests me-south-1-KMS-Keys us-gov-west-1-KMS-Keys
af-south-1-KMS-Requests ap-south-1-KMS-Requests-Asymmetric eu-north-1-KMS-Requests-Asymmetric me-south-1-KMS-Requests us-gov-west-1-KMS-Requests
af-south-1-KMS-Requests-Asymmetric ap-south-1-KMS-Requests-Asymmetric-RSA_2048 eu-north-1-KMS-Requests-Asymmetric-RSA_2048 me-south-1-KMS-Requests-Asymmetric us-gov-west-1-KMS-Requests-Asymmetric
af-south-1-KMS-Requests-Asymmetric-RSA_2048 ap-south-1-KMS-Requests-GenerateDatakeyPair-ECC eu-north-1-KMS-Requests-GenerateDatakeyPair-ECC me-south-1-KMS-Requests-Asymmetric-RSA_2048 us-gov-west-1-KMS-Requests-Asymmetric-RSA_2048
af-south-1-KMS-Requests-GenerateDatakeyPair-ECC ap-south-1-KMS-Requests-GenerateDatakeyPair-RSA eu-north-1-KMS-Requests-GenerateDatakeyPair-RSA me-south-1-KMS-Requests-GenerateDatakeyPair-ECC us-gov-west-1-KMS-Requests-GenerateDatakeyPair-ECC
af-south-1-KMS-Requests-GenerateDatakeyPair-RSA ap-southeast-1-KMS-Keys eu-south-1-KMS-Keys me-south-1-KMS-Requests-GenerateDatakeyPair-RSA us-gov-west-1-KMS-Requests-GenerateDatakeyPair-RSA
ap-east-1-KMS-Keys ap-southeast-1-KMS-Requests eu-south-1-KMS-Requests sa-east-1-KMS-Keys us-west-1-KMS-Keys
ap-east-1-KMS-Requests ap-southeast-1-KMS-Requests-Asymmetric eu-south-1-KMS-Requests-Asymmetric sa-east-1-KMS-Requests us-west-1-KMS-Requests
ap-east-1-KMS-Requests-Asymmetric ap-southeast-1-KMS-Requests-Asymmetric-RSA_2048 eu-south-1-KMS-Requests-Asymmetric-RSA_2048 sa-east-1-KMS-Requests-Asymmetric us-west-1-KMS-Requests-Asymmetric
ap-east-1-KMS-Requests-Asymmetric-RSA_2048 ap-southeast-1-KMS-Requests-GenerateDatakeyPair-ECC eu-south-1-KMS-Requests-GenerateDatakeyPair-ECC sa-east-1-KMS-Requests-Asymmetric-RSA_2048 us-west-1-KMS-Requests-Asymmetric-RSA_2048
ap-east-1-KMS-Requests-GenerateDatakeyPair-ECC ap-southeast-1-KMS-Requests-GenerateDatakeyPair-RSA eu-south-1-KMS-Requests-GenerateDatakeyPair-RSA sa-east-1-KMS-Requests-GenerateDatakeyPair-ECC us-west-1-KMS-Requests-GenerateDatakeyPair-ECC
ap-east-1-KMS-Requests-GenerateDatakeyPair-RSA ap-southeast-2-KMS-Keys eu-west-1-KMS-Keys sa-east-1-KMS-Requests-GenerateDatakeyPair-RSA us-west-1-KMS-Requests-GenerateDatakeyPair-RSA
ap-northeast-1-KMS-Keys ap-southeast-2-KMS-Requests eu-west-1-KMS-Requests us-east-1-KMS-Keys us-west-2-KMS-Keys
ap-northeast-1-KMS-Requests ap-southeast-2-KMS-Requests-Asymmetric eu-west-1-KMS-Requests-Asymmetric us-east-1-KMS-Requests us-west-2-KMS-Requests
ap-northeast-1-KMS-Requests-Asymmetric ap-southeast-2-KMS-Requests-Asymmetric-RSA_2048 eu-west-1-KMS-Requests-Asymmetric-RSA_2048 us-east-1-KMS-Requests-Asymmetric us-west-2-KMS-Requests-Asymmetric
ap-northeast-1-KMS-Requests-Asymmetric-RSA_2048 ap-southeast-2-KMS-Requests-GenerateDatakeyPair-ECC eu-west-1-KMS-Requests-GenerateDatakeyPair-ECC us-east-1-KMS-Requests-Asymmetric-RSA_2048 us-west-2-KMS-Requests-Asymmetric-RSA_2048
ap-northeast-1-KMS-Requests-GenerateDatakeyPair-ECC ap-southeast-2-KMS-Requests-GenerateDatakeyPair-RSA eu-west-1-KMS-Requests-GenerateDatakeyPair-RSA us-east-1-KMS-Requests-GenerateDatakeyPair-ECC us-west-2-KMS-Requests-GenerateDatakeyPair-ECC
ap-northeast-1-KMS-Requests-GenerateDatakeyPair-RSA ca-central-1-KMS-Keys eu-west-2-KMS-Keys us-east-1-KMS-Requests-GenerateDatakeyPair-RSA us-west-2-KMS-Requests-GenerateDatakeyPair-RSA
ap-northeast-2-KMS-Keys ca-central-1-KMS-Requests eu-west-2-KMS-Requests us-east-2-KMS-Keys
ap-northeast-2-KMS-Requests ca-central-1-KMS-Requests-Asymmetric eu-west-2-KMS-Requests-Asymmetric us-east-2-KMS-Requests
ap-northeast-2-KMS-Requests-Asymmetric ca-central-1-KMS-Requests-Asymmetric-RSA_2048 eu-west-2-KMS-Requests-Asymmetric-RSA_2048 us-east-2-KMS-Requests-Asymmetric
ap-northeast-2-KMS-Requests-Asymmetric-RSA_2048 ca-central-1-KMS-Requests-GenerateDatakeyPair-ECC eu-west-2-KMS-Requests-GenerateDatakeyPair-ECC us-east-2-KMS-Requests-Asymmetric-RSA_2048
ap-northeast-2-KMS-Requests-GenerateDatakeyPair-ECC ca-central-1-KMS-Requests-GenerateDatakeyPair-RSA eu-west-2-KMS-Requests-GenerateDatakeyPair-RSA us-east-2-KMS-Requests-GenerateDatakeyPair-ECC
ap-northeast-2-KMS-Requests-GenerateDatakeyPair-RSA eu-central-1-KMS-Keys eu-west-3-KMS-Keys us-east-2-KMS-Requests-GenerateDatakeyPair-RSA
ap-northeast-3-KMS-Requests eu-central-1-KMS-Requests eu-west-3-KMS-Requests us-gov-east-1-KMS-Keys
ap-northeast-3-KMS-Requests-Asymmetric eu-central-1-KMS-Requests-Asymmetric eu-west-3-KMS-Requests-Asymmetric us-gov-east-1-KMS-Requests
ap-northeast-3-KMS-Requests-Asymmetric-RSA_2048 eu-central-1-KMS-Requests-Asymmetric-RSA_2048 eu-west-3-KMS-Requests-Asymmetric-RSA_2048 us-gov-east-1-KMS-Requests-Asymmetric
ap-northeast-3-KMS-Requests-GenerateDatakeyPair-ECC eu-central-1-KMS-Requests-GenerateDatakeyPair-ECC eu-west-3-KMS-Requests-GenerateDatakeyPair-ECC us-gov-east-1-KMS-Requests-Asymmetric-RSA_2048
ap-northeast-3-KMS-Requests-GenerateDatakeyPair-RSA eu-central-1-KMS-Requests-GenerateDatakeyPair-RSA eu-west-3-KMS-Requests-GenerateDatakeyPair-RSA us-gov-east-1-KMS-Requests-GenerateDatakeyPair-ECC
ap-south-1-KMS-Keys eu-north-1-KMS-Keys Global-KMS-Requests us-gov-east-1-KMS-Requests-GenerateDatakeyPair-RSA
We hope the above list of attribute names and values helps when using the AWS Price List API for AWS Key Management Service (KMS).
If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.