CreateVpnConcentrator
Creates a VPN concentrator that aggregates multiple VPN connections to a transit gateway.
Request Parameters
The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.
- DryRun
-
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.Type: Boolean
Required: No
- TagSpecification.N
-
The tags to apply to the VPN concentrator during creation.
Type: Array of TagSpecification objects
Required: No
- TransitGatewayId
-
The ID of the transit gateway to attach the VPN concentrator to.
Type: String
Required: No
- Type
-
The type of VPN concentrator to create.
Type: String
Valid Values:
ipsec.1Required: Yes
Response Elements
The following elements are returned by the service.
- requestId
-
The ID of the request.
Type: String
- vpnConcentrator
-
Information about the VPN concentrator.
Type: VpnConcentrator object
Errors
For information about the errors that are common to all actions, see Common client error codes.
Examples
Example
This example creates a VPN Concentrator on the Transit Gateway tgw-0eae06e326d7c27d8.
Sample Request
https://ec2.us-east-1.amazonaws.com/?Version=2016-11-15&Action=CreateVpnConcentrator
&Type=ipsec.1
&TransitGatewayId=tgw-0eae06e326d7c27d8
Sample Response
<CreateVpnConcentratorResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
<requestId>c875a725-2eb7-4deb-ad8f-4445c071460f</requestId>
<vpnConcentrator>
<state>pending</state>
<transitGatewayAttachmentId>tgw-attach-04a445da95a6814cc</transitGatewayAttachmentId>
<transitGatewayId>tgw-0eae06e326d7c27d8</transitGatewayId>
<type>ipsec.1</type>
<vpnConcentratorId>vcn-0767cb7521c5c4945</vpnConcentratorId>
</vpnConcentrator>
</CreateVpnConcentratorResponse>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: