1 2package Paws::EC2::CreateVpnConnection { 3 use Moose; 4 has CustomerGatewayId => (is => 'ro', isa => 'Str', required => 1); 5 has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' ); 6 has Options => (is => 'ro', isa => 'Paws::EC2::VpnConnectionOptionsSpecification', traits => ['NameInRequest'], request_name => 'options' ); 7 has Type => (is => 'ro', isa => 'Str', required => 1); 8 has VpnGatewayId => (is => 'ro', isa => 'Str', required => 1); 9 10 use MooseX::ClassAttribute; 11 12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateVpnConnection'); 13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::CreateVpnConnectionResult'); 14 class_has _result_key => (isa => 'Str', is => 'ro'); 15} 161; 17 18### main pod documentation begin ### 19 20=head1 NAME 21 22Paws::EC2::CreateVpnConnection - Arguments for method CreateVpnConnection on Paws::EC2 23 24=head1 DESCRIPTION 25 26This class represents the parameters used for calling the method CreateVpnConnection on the 27Amazon Elastic Compute Cloud service. Use the attributes of this class 28as arguments to method CreateVpnConnection. 29 30You shouln't make instances of this class. Each attribute should be used as a named argument in the call to CreateVpnConnection. 31 32As an example: 33 34 $service_obj->CreateVpnConnection(Att1 => $value1, Att2 => $value2, ...); 35 36Values 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. 37 38=head1 ATTRIBUTES 39 40=head2 B<REQUIRED> CustomerGatewayId => Str 41 42 43 44The ID of the customer gateway. 45 46 47 48 49 50 51 52 53 54 55=head2 DryRun => Bool 56 57 58 59Checks whether you have the required permissions for the action, 60without actually making the request, and provides an error response. If 61you have the required permissions, the error response is 62C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. 63 64 65 66 67 68 69 70 71 72 73=head2 Options => Paws::EC2::VpnConnectionOptionsSpecification 74 75 76 77Indicates whether the VPN connection requires static routes. If you are 78creating a VPN connection for a device that does not support BGP, you 79must specify C<true>. 80 81Default: C<false> 82 83 84 85 86 87 88 89 90 91 92=head2 B<REQUIRED> Type => Str 93 94 95 96The type of VPN connection (C<ipsec.1>). 97 98 99 100 101 102 103 104 105 106 107=head2 B<REQUIRED> VpnGatewayId => Str 108 109 110 111The ID of the virtual private gateway. 112 113 114 115 116 117 118 119 120 121 122 123 124=head1 SEE ALSO 125 126This class forms part of L<Paws>, documenting arguments for method CreateVpnConnection in L<Paws::EC2> 127 128=head1 BUGS and CONTRIBUTIONS 129 130The source code is located here: https://github.com/pplu/aws-sdk-perl 131 132Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues 133 134=cut 135 136