@Generated(value="software.amazon.awssdk:codegen") public final class CloudHsmClusterInvalidConfigurationException extends KmsException implements ToCopyableBuilder<CloudHsmClusterInvalidConfigurationException.Builder,CloudHsmClusterInvalidConfigurationException>
The request was rejected because the associated AWS CloudHSM cluster did not meet the configuration requirements for a custom key store. The cluster must be configured with private subnets in at least two different Availability Zones in the Region. Also, it must contain at least as many HSMs as the operation requires.
For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey operations, the AWS CloudHSM cluster must have at least two active HSMs, each in a different Availability Zone. For the ConnectCustomKeyStore operation, the AWS CloudHSM must contain at least one active HSM.
For information about creating a private subnet for a AWS CloudHSM cluster, see Create a Private Subnet in the AWS CloudHSM User Guide. To add HSMs, use the AWS CloudHSM CreateHsm operation.
Modifier and Type | Class and Description |
---|---|
static interface |
CloudHsmClusterInvalidConfigurationException.Builder |
Modifier and Type | Method and Description |
---|---|
static CloudHsmClusterInvalidConfigurationException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CloudHsmClusterInvalidConfigurationException.Builder> |
serializableBuilderClass() |
CloudHsmClusterInvalidConfigurationException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public CloudHsmClusterInvalidConfigurationException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<CloudHsmClusterInvalidConfigurationException.Builder,CloudHsmClusterInvalidConfigurationException>
toBuilder
in class KmsException
public static CloudHsmClusterInvalidConfigurationException.Builder builder()
public static Class<? extends CloudHsmClusterInvalidConfigurationException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.