AWS CloudHSM Price List API all Attribute Names and Values


Last Updated on April 28, 2021

Below is a reference for all attribute names and attribute values in AWS Price List API for AWS CloudHSM.

Note: All the list below are in alphabetical order.

Service Code: CloudHSM

Python Code to get Attribute Names for AWS CloudHSM using Boto3

import boto3

pricing_client = boto3.client('pricing', region_name='us-east-1')

response = pricing_client.describe_services(ServiceCode='CloudHSM')

attribute_names = response['Services'][0]['AttributeNames']

print(attribute_names)

Attribute Name List for AWS CloudHSM


Python Code to get the Attribute Values List for AWS CloudHSM using Boto3

import boto3

pricing_client = boto3.client('pricing', region_name='us-east-1')

response = pricing_client.describe_services(ServiceCode='CloudHSM')

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='CloudHSM',
        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 CloudHSM

Attribute Name: instanceFamily
Values:

CloudHSM-v1
CloudHSM-v2

Attribute Name: location
Values:

Africa (Cape Town)
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)
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: operation
Values:

Hourly
upfront

Attribute Name: productFamily
Values:

Dedicated-Host

Attribute Name: servicecode
Values:

CloudHSM

Attribute Name: servicename
Values:

AWS CloudHSM

Attribute Name: termType
Values:

OnDemand

Attribute Name: trialProduct
Values:

N
Y

Attribute Name: upfrontCommitment
Values:

N
Y

Attribute Name: usagetype
Values:

AFS1-CloudHSMv2Usage         EU-CloudHSMUpfront           USW1-CloudHSMTrialUpfront    
APE1-CloudHSMv2Usage         EU-CloudHSMUsage             USW1-CloudHSMTrialUsage      
APN1-CloudHSMTrialUpfront    EU-CloudHSMv2Usage           USW1-CloudHSMUpfront         
APN1-CloudHSMTrialUsage      EUC1-CloudHSMTrialUpfront    USW1-CloudHSMUsage           
APN1-CloudHSMUpfront         EUC1-CloudHSMTrialUsage      USW1-CloudHSMv2Usage         
APN1-CloudHSMUsage           EUC1-CloudHSMUpfront         USW2-CloudHSMTrialUpfront    
APN1-CloudHSMv2Usage         EUC1-CloudHSMUsage           USW2-CloudHSMTrialUsage      
APN2-CloudHSMTrialUpfront    EUC1-CloudHSMv2Usage         USW2-CloudHSMUpfront         
APN2-CloudHSMTrialUsage      EUN1-CloudHSMv2Usage         USW2-CloudHSMUsage           
APN2-CloudHSMUpfront         EUS1-CloudHSMv2Usage         USW2-CloudHSMv2Usage         
APN2-CloudHSMUsage           EUW2-CloudHSMv2Usage         
APN2-CloudHSMv2Usage         EUW3-CloudHSMv2Usage         
APS1-CloudHSMTrialUpfront    MES1-CloudHSMv2Usage         
APS1-CloudHSMTrialUsage      SAE1-CloudHSMv2Usage         
APS1-CloudHSMUpfront         UGE1-CloudHSMv2Usage         
APS1-CloudHSMUsage           UGW1-CloudHSMTrialUpfront    
APS1-CloudHSMv2Usage         UGW1-CloudHSMTrialUsage      
APS2-CloudHSMTrialUpfront    UGW1-CloudHSMUpfront         
APS2-CloudHSMTrialUsage      UGW1-CloudHSMUsage           
APS2-CloudHSMUpfront         UGW1-CloudHSMv2Usage         
APS2-CloudHSMUsage           USE1-CloudHSMTrialUpfront    
APS2-CloudHSMv2Usage         USE1-CloudHSMTrialUsage      
APS3-CloudHSMv2Usage         USE1-CloudHSMUpfront         
CAN1-CloudHSMTrialUpfront    USE1-CloudHSMUsage           
CAN1-CloudHSMTrialUsage      USE1-CloudHSMv2Usage         
CAN1-CloudHSMUpfront         USE2-CloudHSMTrialUpfront    
CAN1-CloudHSMUsage           USE2-CloudHSMTrialUsage      
CAN1-CloudHSMv2Usage         USE2-CloudHSMUpfront         
EU-CloudHSMTrialUpfront      USE2-CloudHSMUsage           
EU-CloudHSMTrialUsage        USE2-CloudHSMv2Usage         

We hope the above list of attribute names and values helps when using the AWS Price List API for AWS CloudHSM.

If the list is outdated, let us know in the comments below. We’ll update it as soon as we can.


Leave a Reply

Your email address will not be published. Required fields are marked *