You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudHSMV2::Types::CreateClusterRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateClusterRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  backup_retention_policy: {
    type: "DAYS", # accepts DAYS
    value: "BackupRetentionValue",
  },
  hsm_type: "HsmType", # required
  source_backup_id: "BackupId",
  subnet_ids: ["SubnetId"], # required
  tag_list: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#backup_retention_policyTypes::BackupRetentionPolicy

A policy that defines how the service retains backups.

Returns:

#hsm_typeString

The type of HSM to use in the cluster. Currently the only allowed value is hsm1.medium.

Returns:

  • (String)

    The type of HSM to use in the cluster.

#source_backup_idString

The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.

Returns:

  • (String)

    The identifier (ID) of the cluster backup to restore.

#subnet_idsArray<String>

The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:

  • All subnets must be in the same virtual private cloud (VPC).

  • You can specify only one subnet per Availability Zone.

Returns:

  • (Array<String>)

    The identifiers (IDs) of the subnets where you are creating the cluster.

#tag_listArray<Types::Tag>

Tags to apply to the CloudHSM cluster during creation.

Returns:

  • (Array<Types::Tag>)

    Tags to apply to the CloudHSM cluster during creation.