| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Provides information to AWS about your VPN customer gateway device.
{
"Type" : "AWS::EC2::CustomerGateway",
"Properties" : {
"BgpAsn" : Number,
"IpAddress" : String,
"Type" : String
}
} The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
Required: Yes.
Type: Number. BgpAsn is always an integer value.
The internet-routable IP address for the customer gateway's outside interface. The address must be static.
Required: Yes.
Type: String.
The type of VPN connection that this customer gateway supports.
Required: Yes.
Type: String.
Example: ipsec.1
When the logical ID of this resource is provided to the Ref intrinsic
function, it returns the resource name. For example:
{ "Ref": "MyResource" }For the resource with the logical ID "MyResource", Ref will return the AWS resource
name.
For more information about using the Ref function, see Ref.
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Resources" : {
"myCustomerGateway" : {
"Type" : "AWS::EC2::CustomerGateway",
"Properties" : {
"Type" : "ipsec.1",
"BgpAsn" : "64000",
"IpAddress" : "1.1.1.1"
}
}
}
} CreateCustomerGateway in the Amazon Elastic Compute Cloud API Reference.