create_hapg

create_hapg(**kwargs)

This is documentation for AWS CloudHSM Classic . For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM , see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.

See also: AWS API Documentation

Request Syntax

response = client.create_hapg(
    Label='string'
)
Parameters
Label (string) --

[REQUIRED]

The label of the new high-availability partition group.

Return type
dict
Returns
Response Syntax
{
    'HapgArn': 'string'
}

Response Structure

  • (dict) --

    Contains the output of the CreateHAPartitionGroup action.

    • HapgArn (string) --

      The ARN of the high-availability partition group.

Exceptions

  • CloudHSM.Client.exceptions.CloudHsmServiceException
  • CloudHSM.Client.exceptions.CloudHsmInternalException
  • CloudHSM.Client.exceptions.InvalidRequestException