| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Creates a new virtual private gateway. A virtual private gateway is the VPC-side endpoint for your VPN connection.
{
"Type" : "AWS::EC2::VPNGateway",
"Properties" : {
"Type" : String
"Tags" : [ Tag1, ... ]
}
}
The type of VPN connection this virtual private gateway supports. The only valid value is
"ipsec.1".
Required: Yes
Type: String
Update Requires: N/A
The tags you want to attach to the instance.
Required: No
Type: List of EC2 Tags
Update requires: no interruption
When the logical ID of this resource is provided to the Ref intrinsic
function, it returns the resource name. For example:
{ "Ref": "MyVPNGateway" }For the VPN gateway with the logical ID "MyVPNGateway", Ref will return the gateway's
resource name.
For more information about using the Ref function, see Ref.
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Resources" : {
"myVPNGateway" : {
"Type" : "AWS::EC2::VPNGateway",
"Properties" : {
"Type" : "ipsec.1",
"Tags" : [ { "Key" : "Use", "Value" : "Test" } ]
}
}
}
} CreateVpnGateway in the Amazon Elastic Compute Cloud API Reference.