File Coverage

blib/lib/Paws/RedShift/CreateHsmConfiguration.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::RedShift::CreateHsmConfiguration;
3 1     1   373 use Moose;
  1         2  
  1         7  
4             has Description => (is => 'ro', isa => 'Str', required => 1);
5             has HsmConfigurationIdentifier => (is => 'ro', isa => 'Str', required => 1);
6             has HsmIpAddress => (is => 'ro', isa => 'Str', required => 1);
7             has HsmPartitionName => (is => 'ro', isa => 'Str', required => 1);
8             has HsmPartitionPassword => (is => 'ro', isa => 'Str', required => 1);
9             has HsmServerPublicCertificate => (is => 'ro', isa => 'Str', required => 1);
10             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::Tag]');
11              
12 1     1   5635 use MooseX::ClassAttribute;
  1         2  
  1         9  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateHsmConfiguration');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::CreateHsmConfigurationResult');
16             class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateHsmConfigurationResult');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::RedShift::CreateHsmConfiguration - Arguments for method CreateHsmConfiguration on Paws::RedShift
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method CreateHsmConfiguration on the
28             Amazon Redshift service. Use the attributes of this class
29             as arguments to method CreateHsmConfiguration.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateHsmConfiguration.
32              
33             As an example:
34              
35             $service_obj->CreateHsmConfiguration(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> Description => Str
43              
44             A text description of the HSM configuration to be created.
45              
46              
47              
48             =head2 B<REQUIRED> HsmConfigurationIdentifier => Str
49              
50             The identifier to be assigned to the new Amazon Redshift HSM
51             configuration.
52              
53              
54              
55             =head2 B<REQUIRED> HsmIpAddress => Str
56              
57             The IP address that the Amazon Redshift cluster must use to access the
58             HSM.
59              
60              
61              
62             =head2 B<REQUIRED> HsmPartitionName => Str
63              
64             The name of the partition in the HSM where the Amazon Redshift clusters
65             will store their database encryption keys.
66              
67              
68              
69             =head2 B<REQUIRED> HsmPartitionPassword => Str
70              
71             The password required to access the HSM partition.
72              
73              
74              
75             =head2 B<REQUIRED> HsmServerPublicCertificate => Str
76              
77             The HSMs public certificate file. When using Cloud HSM, the file name
78             is server.pem.
79              
80              
81              
82             =head2 Tags => ArrayRef[L<Paws::RedShift::Tag>]
83              
84             A list of tag instances.
85              
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, documenting arguments for method CreateHsmConfiguration in L<Paws::RedShift>
92              
93             =head1 BUGS and CONTRIBUTIONS
94              
95             The source code is located here: https://github.com/pplu/aws-sdk-perl
96              
97             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
98              
99             =cut
100