« blib/lib/Paws/RedShift/CreateHsmClientCertificateResult.pm
↑ Summary
blib/lib/Paws/RedShift/CreateHsmConfigurationResult.pm »
| 1 | |||
| 2 | package Paws::RedShift::CreateHsmConfiguration; | ||
| 3 | use Moose; | ||
| 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 | use MooseX::ClassAttribute; | ||
| 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 L<Paws::RedShift> | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This class represents the parameters used for calling the method CreateHsmConfiguration on the | ||
| 28 | L<Amazon Redshift|Paws::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 | =head1 SYNOPSIS | ||
| 34 | |||
| 35 | my $redshift = Paws->service('RedShift'); | ||
| 36 | my $CreateHsmConfigurationResult = $redshift->CreateHsmConfiguration( | ||
| 37 | Description => 'MyString', | ||
| 38 | HsmConfigurationIdentifier => 'MyString', | ||
| 39 | HsmIpAddress => 'MyString', | ||
| 40 | HsmPartitionName => 'MyString', | ||
| 41 | HsmPartitionPassword => 'MyString', | ||
| 42 | HsmServerPublicCertificate => 'MyString', | ||
| 43 | Tags => [ | ||
| 44 | { | ||
| 45 | Key => 'MyString', # max: 2147483647 | ||
| 46 | Value => 'MyString', # max: 2147483647 | ||
| 47 | }, | ||
| 48 | ... | ||
| 49 | ], # OPTIONAL | ||
| 50 | ); | ||
| 51 | |||
| 52 | # Results: | ||
| 53 | my $HsmConfiguration = $CreateHsmConfigurationResult->HsmConfiguration; | ||
| 54 | |||
| 55 | # Returns a L<Paws::RedShift::CreateHsmConfigurationResult> object. | ||
| 56 | |||
| 57 | 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. | ||
| 58 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/CreateHsmConfiguration> | ||
| 59 | |||
| 60 | =head1 ATTRIBUTES | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> Description => Str | ||
| 64 | |||
| 65 | A text description of the HSM configuration to be created. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> HsmConfigurationIdentifier => Str | ||
| 70 | |||
| 71 | The identifier to be assigned to the new Amazon Redshift HSM | ||
| 72 | configuration. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 B<REQUIRED> HsmIpAddress => Str | ||
| 77 | |||
| 78 | The IP address that the Amazon Redshift cluster must use to access the | ||
| 79 | HSM. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> HsmPartitionName => Str | ||
| 84 | |||
| 85 | The name of the partition in the HSM where the Amazon Redshift clusters | ||
| 86 | will store their database encryption keys. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 B<REQUIRED> HsmPartitionPassword => Str | ||
| 91 | |||
| 92 | The password required to access the HSM partition. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head2 B<REQUIRED> HsmServerPublicCertificate => Str | ||
| 97 | |||
| 98 | The HSMs public certificate file. When using Cloud HSM, the file name | ||
| 99 | is server.pem. | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head2 Tags => ArrayRef[L<Paws::RedShift::Tag>] | ||
| 104 | |||
| 105 | A list of tag instances. | ||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | =head1 SEE ALSO | ||
| 111 | |||
| 112 | This class forms part of L<Paws>, documenting arguments for method CreateHsmConfiguration in L<Paws::RedShift> | ||
| 113 | |||
| 114 | =head1 BUGS and CONTRIBUTIONS | ||
| 115 | |||
| 116 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 117 | |||
| 118 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 119 | |||
| 120 | =cut | ||
| 121 |