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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb

Overview

Note:

When making an API call, you may pass CreateClusterRequest data as a hash:

{
  subnet_ids: ["SubnetId"], # required
  hsm_type: "HsmType", # required
  source_backup_id: "BackupId",
}

Instance Attribute Summary collapse

Instance Attribute Details

#hsm_typeString

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

Returns:

  • (String)


186
187
188
189
190
191
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 186

class CreateClusterRequest < Struct.new(
  :subnet_ids,
  :hsm_type,
  :source_backup_id)
  include Aws::Structure
end

#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)


186
187
188
189
190
191
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 186

class CreateClusterRequest < Struct.new(
  :subnet_ids,
  :hsm_type,
  :source_backup_id)
  include Aws::Structure
end

#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>)


186
187
188
189
190
191
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 186

class CreateClusterRequest < Struct.new(
  :subnet_ids,
  :hsm_type,
  :source_backup_id)
  include Aws::Structure
end