NAME

Paws::CloudHSM::CreateHsm - Arguments for method CreateHsm on Paws::CloudHSM

DESCRIPTION

This class represents the parameters used for calling the method CreateHsm on the Amazon CloudHSM service. Use the attributes of this class as arguments to method CreateHsm.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateHsm.

SYNOPSIS

my $cloudhsm = Paws->service('CloudHSM');
my $CreateHsmResponse = $cloudhsm->CreateHsm(
  IamRoleArn       => 'MyIamRoleArn',
  SshKey           => 'MySshKey',
  SubnetId         => 'MySubnetId',
  SubscriptionType => 'PRODUCTION',
  ClientToken      => 'MyClientToken',    # OPTIONAL
  EniIp            => 'MyIpAddress',      # OPTIONAL
  ExternalId       => 'MyExternalId',     # OPTIONAL
  SyslogIp         => 'MyIpAddress',      # OPTIONAL
);

# Results:
my $HsmArn = $CreateHsmResponse->HsmArn;

# Returns a L<Paws::CloudHSM::CreateHsmResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm/CreateHsm

ATTRIBUTES

ClientToken => Str

A user-defined token to ensure idempotence. Subsequent calls to this operation with the same token will be ignored.

EniIp => Str

The IP address to assign to the HSM's ENI.

If an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the subnet.

ExternalId => Str

The external ID from IamRoleArn, if present.

REQUIRED IamRoleArn => Str

The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on your behalf.

REQUIRED SshKey => Str

The SSH public key to install on the HSM.

REQUIRED SubnetId => Str

The identifier of the subnet in your VPC in which to place the HSM.

REQUIRED SubscriptionType => Str

Valid values are: "PRODUCTION"

SyslogIp => Str

The IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateHsm in Paws::CloudHSM

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues