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",
}

Constant Summary collapse

SENSITIVE =
[]

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)


434
435
436
437
438
439
440
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 434

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

#cluster_idString

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

Returns:

  • (String)


434
435
436
437
438
439
440
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 434

class CreateHsmRequest < Struct.new(
  :cluster_id,
  :availability_zone,
  :ip_address)
  SENSITIVE = []
  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)


434
435
436
437
438
439
440
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 434

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