amazonka-cloudhsm-1.4.0: Amazon CloudHSM SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudHSM.ModifyHSM

Contents

Description

Modifies an HSM.

This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window.

Synopsis

Creating a Request

modifyHSM Source

Arguments

:: Text

mhHSMARN

-> ModifyHSM 

Creates a value of ModifyHSM with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

mhIAMRoleARN :: Lens' ModifyHSM (Maybe Text) Source

The new IAM role ARN.

mhSubnetId :: Lens' ModifyHSM (Maybe Text) Source

The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.

mhSyslogIP :: Lens' ModifyHSM (Maybe Text) Source

The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.

mhExternalId :: Lens' ModifyHSM (Maybe Text) Source

The new external ID.

mhEniIP :: Lens' ModifyHSM (Maybe Text) Source

The new IP address for the elastic network interface (ENI) attached to the HSM.

If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.

mhHSMARN :: Lens' ModifyHSM Text Source

The ARN of the HSM to modify.

Destructuring the Response

modifyHSMResponse Source

Creates a value of ModifyHSMResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses