create_vpn_concentrator
async
¶
create_vpn_concentrator(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
type: Optional[VpnConcentratorType] = None,
transit_gateway_id: Optional[TransitGatewayId] = None,
tag_specifications: Optional[TagSpecificationList] = None,
dry_run: Optional[Boolean] = None,
) -> CreateVpnConcentratorResult
Creates a VPN concentrator that aggregates multiple VPN connections to a transit gateway.
Parameters:
-
type(Optional[VpnConcentratorType], default:None) –The type of VPN concentrator to create.
-
transit_gateway_id(Optional[TransitGatewayId], default:None) –The ID of the transit gateway to attach the VPN concentrator to.
-
tag_specifications(Optional[TagSpecificationList], default:None) –The tags to apply to the VPN concentrator during creation.
-
dry_run(Optional[Boolean], default:None) –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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 | |