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",
  tag_list: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

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)


385
386
387
388
389
390
391
392
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 385

class CreateClusterRequest < Struct.new(
  :subnet_ids,
  :hsm_type,
  :source_backup_id,
  :tag_list)
  SENSITIVE = []
  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)


385
386
387
388
389
390
391
392
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 385

class CreateClusterRequest < Struct.new(
  :subnet_ids,
  :hsm_type,
  :source_backup_id,
  :tag_list)
  SENSITIVE = []
  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>)


385
386
387
388
389
390
391
392
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 385

class CreateClusterRequest < Struct.new(
  :subnet_ids,
  :hsm_type,
  :source_backup_id,
  :tag_list)
  SENSITIVE = []
  include Aws::Structure
end

#tag_listArray<Types::Tag>

Tags to apply to the CloudHSM cluster during creation.

Returns:



385
386
387
388
389
390
391
392
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 385

class CreateClusterRequest < Struct.new(
  :subnet_ids,
  :hsm_type,
  :source_backup_id,
  :tag_list)
  SENSITIVE = []
  include Aws::Structure
end