ec2-create-vpn-connection − Create a VPN connection
ec2addvpn ([ec2−create−vpn−connection])
ec2addvpn [GENERAL OPTIONS] [SPECIFIC OPTIONS]
Any command option/parameter may be passed a value of ’−’ to indicate
that values for that option should be read from stdin.
Creates a VPN connection between an existing VPN gateway and customer
gateway.
−O, −−aws−access−key KEY
AWS Access Key ID. Defaults to the value of the AWS_ACCESS_KEY
environment variable (if set).
−W, −−aws−secret−key KEY
AWS Secret Access Key. Defaults to the value of the AWS_SECRET_KEY
environment variable (if set).
−T, −−security−token TOKEN
AWS delegation token. Defaults to the value of the AWS_DELEGATION_TOKEN
environment variable (if set).
−K, −−private−key KEY
[DEPRECATED] Specify KEY as the private key to use. Defaults to the value of the
EC2_PRIVATE_KEY environment variable (if set). Overrides the default.
−C, −−cert CERT
[DEPRECATED] Specify CERT as the X509 certificate to use. Defaults to the value
of the EC2_CERT environment variable (if set). Overrides the default.
−U, −−url URL
Specify URL as the web service URL to use. Defaults to the value of
’https://ec2.amazonaws.com’ (us−east−1) or to that of the
EC2_URL environment variable (if set). Overrides the default.
−−region REGION
Specify REGION as the web service region to use.
This option will override the URL specified by the "−U URL" option
and EC2_URL environment variable.
This option defaults to the region specified by the EC2_URL environment variable
or us−east−1 if this environment variable is not set.
−D, −−auth−dry−run
Check if you can perform the requested action rather than actually performing it.
−v, −−verbose
Verbose output.
−?, −−help
Display this help.
−H, −−headers
Display column headers.
−−debug
Display additional debugging information.
−−show−empty−fields
Indicate empty fields.
−−hide−tags
Do not display tags for tagged resources.
−−connection−timeout TIMEOUT
Specify a connection timeout TIMEOUT (in seconds).
−−request−timeout TIMEOUT
Specify a request timeout TIMEOUT (in seconds).
−t, −−type TYPE
The type of VPN connection.
−−customer−gateway CUSTOMER_GATEWAY
The ID of the customer gateway.
−−vpn−gateway VPN_GATEWAY
The ID of the VPN connection gateway.
−−format FORMAT
Causes the response to include customer gateway configuration
information, in the format specified by this option. The options
include:
Format Name FORMAT Option
Cisco IOS cisco−ios−isr
Juniper JunOS juniper−junos−j
Juniper ScreenOS (v6.1) juniper−screenos−6.1
Juniper ScreenOS (v6.2+) juniper−screenos−6.2
Human readable generic
Native XML xml
−−stylesheet STYLESHEET
A custom stylesheet for the formatting of the configuration.
−−static−routes−only BOOLEAN
Indicates whether the connection uses static routes only. Used for devices that do not support
Border Gateway Protocol (BGP). Default value: false
http://docs.amazonwebservices.com/AWSEC2/2014-05-01/CommandLineReference
http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference