line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::CloudHSM::CreateHsm; |
3
|
1
|
|
|
1
|
|
470
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has ClientToken => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has EniIp => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has ExternalId => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has IamRoleArn => (is => 'ro', isa => 'Str', required => 1); |
8
|
|
|
|
|
|
|
has SshKey => (is => 'ro', isa => 'Str', required => 1); |
9
|
|
|
|
|
|
|
has SubnetId => (is => 'ro', isa => 'Str', required => 1); |
10
|
|
|
|
|
|
|
has SubscriptionType => (is => 'ro', isa => 'Str', required => 1); |
11
|
|
|
|
|
|
|
has SyslogIp => (is => 'ro', isa => 'Str'); |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
6582
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateHsm'); |
16
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudHSM::CreateHsmResponse'); |
17
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
### main pod documentation begin ### |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Paws::CloudHSM::CreateHsm - Arguments for method CreateHsm on Paws::CloudHSM |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateHsm on the |
29
|
|
|
|
|
|
|
Amazon CloudHSM service. Use the attributes of this class |
30
|
|
|
|
|
|
|
as arguments to method CreateHsm. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateHsm. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
As an example: |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
$service_obj->CreateHsm(Att1 => $value1, Att2 => $value2, ...); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
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. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 ClientToken => Str |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
A user-defined token to ensure idempotence. Subsequent calls to this |
46
|
|
|
|
|
|
|
operation with the same token will be ignored. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 EniIp => Str |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
The IP address to assign to the HSM's ENI. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
If an IP address is not specified, an IP address will be randomly |
55
|
|
|
|
|
|
|
chosen from the CIDR range of the subnet. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 ExternalId => Str |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The external ID from C<IamRoleArn>, if present. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head2 B<REQUIRED> IamRoleArn => Str |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
The ARN of an IAM role to enable the AWS CloudHSM service to allocate |
68
|
|
|
|
|
|
|
an ENI on your behalf. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 B<REQUIRED> SshKey => Str |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The SSH public key to install on the HSM. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head2 B<REQUIRED> SubnetId => Str |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
The identifier of the subnet in your VPC in which to place the HSM. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 B<REQUIRED> SubscriptionType => Str |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Valid values are: C<"PRODUCTION"> |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 SyslogIp => Str |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
The IP address for the syslog monitoring server. The AWS CloudHSM |
93
|
|
|
|
|
|
|
service only supports one syslog monitoring server. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head1 SEE ALSO |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateHsm in L<Paws::CloudHSM> |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=cut |
109
|
|
|
|
|
|
|
|