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

Class: Aws::CloudHSMV2::Types::CreateHsmRequest

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 CreateHsmRequest data as a hash:

{
  cluster_id: "ClusterId", # required
  availability_zone: "ExternalAz", # required
  ip_address: "IpAddress",
}

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone where you are creating the HSM. To find the cluster's Availability Zones, use DescribeClusters.

Returns:

  • (String)


232
233
234
235
236
237
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 232

class CreateHsmRequest < Struct.new(
  :cluster_id,
  :availability_zone,
  :ip_address)
  include Aws::Structure
end

#cluster_idString

The identifier (ID) of the HSM's cluster. To find the cluster ID, use DescribeClusters.

Returns:

  • (String)


232
233
234
235
236
237
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 232

class CreateHsmRequest < Struct.new(
  :cluster_id,
  :availability_zone,
  :ip_address)
  include Aws::Structure
end

#ip_addressString

The HSM's IP address. If you specify an IP address, use an available address from the subnet that maps to the Availability Zone where you are creating the HSM. If you don't specify an IP address, one is chosen for you from that subnet.

Returns:

  • (String)


232
233
234
235
236
237
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 232

class CreateHsmRequest < Struct.new(
  :cluster_id,
  :availability_zone,
  :ip_address)
  include Aws::Structure
end