選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

DescribeHsm

焦點模式
DescribeHsm - AWS CloudHSM Service
此頁面尚未翻譯為您的語言。 請求翻譯

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.

Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.

Request Syntax

{ "HsmArn": "string", "HsmSerialNumber": "string" }

Request Parameters

The request accepts the following data in JSON format.

HsmArn

The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.

Type: String

Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hsm-[0-9a-f]{8}

Required: No

HsmSerialNumber

The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.

Type: String

Pattern: \d{1,16}

Required: No

Response Syntax

{ "AvailabilityZone": "string", "EniId": "string", "EniIp": "string", "HsmArn": "string", "HsmType": "string", "IamRoleArn": "string", "Partitions": [ "string" ], "SerialNumber": "string", "ServerCertLastUpdated": "string", "ServerCertUri": "string", "SoftwareVersion": "string", "SshKeyLastUpdated": "string", "SshPublicKey": "string", "Status": "string", "StatusDetails": "string", "SubnetId": "string", "SubscriptionEndDate": "string", "SubscriptionStartDate": "string", "SubscriptionType": "string", "VendorName": "string", "VpcId": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

AvailabilityZone

The Availability Zone that the HSM is in.

Type: String

Pattern: [a-zA-Z0-9\-]*

EniId

The identifier of the elastic network interface (ENI) attached to the HSM.

Type: String

Pattern: eni-[0-9a-f]{8}

EniIp

The IP address assigned to the HSM's ENI.

Type: String

Pattern: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}

HsmArn

The ARN of the HSM.

Type: String

Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hsm-[0-9a-f]{8}

HsmType

The HSM model type.

Type: String

Pattern: [\w :+=./\\-]*

IamRoleArn

The ARN of the IAM role assigned to the HSM.

Type: String

Pattern: arn:aws(-iso)?:iam::[0-9]{12}:role/[a-zA-Z0-9_\+=,\.\-@]{1,64}

Partitions

The list of partitions on the HSM.

Type: Array of strings

Pattern: arn:aws(-iso)?:cloudhsm:[a-zA-Z0-9\-]*:[0-9]{12}:hsm-[0-9a-f]{8}/partition-[0-9]{6,12}

SerialNumber

The serial number of the HSM.

Type: String

Pattern: \d{1,16}

ServerCertLastUpdated

The date and time that the server certificate was last updated.

Type: String

Pattern: \d*

ServerCertUri

The URI of the certificate server.

Type: String

Pattern: [\w :+=./\\-]*

SoftwareVersion

The HSM software version.

Type: String

Pattern: [\w :+=./\\-]*

SshKeyLastUpdated

The date and time that the SSH key was last updated.

Type: String

Pattern: \d*

SshPublicKey

The public SSH key.

Type: String

Pattern: [a-zA-Z0-9+/= ._:\\@-]*

Status

The status of the HSM.

Type: String

Valid Values: PENDING | RUNNING | UPDATING | SUSPENDED | TERMINATING | TERMINATED | DEGRADED

StatusDetails

Contains additional information about the status of the HSM.

Type: String

Pattern: [\w :+=./\\-]*

SubnetId

The identifier of the subnet that the HSM is in.

Type: String

Pattern: subnet-[0-9a-f]{8}

SubscriptionEndDate

The subscription end date.

Type: String

Pattern: \d*

SubscriptionStartDate

The subscription start date.

Type: String

Pattern: \d*

SubscriptionType

Specifies the type of subscription for the HSM.

  • PRODUCTION - The HSM is being used in a production environment.

  • TRIAL - The HSM is being used in a product trial.

Type: String

Valid Values: PRODUCTION

VendorName

The name of the HSM vendor.

Type: String

Pattern: [\w :+=./\\-]*

VpcId

The identifier of the VPC that the HSM is in.

Type: String

Pattern: vpc-[0-9a-f]{8}

Errors

For information about the errors that are common to all actions, see Common Errors.

CloudHsmInternalException

Indicates that an internal error occurred.

HTTP Status Code: 500

CloudHsmServiceException

Indicates that an exception occurred in the AWS CloudHSM service.

HTTP Status Code: 400

InvalidRequestException

Indicates that one or more of the request parameters are not valid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

下一個主題:

DescribeLunaClient

上一個主題:

DescribeHapg
隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。