create_local_gateway_virtual_interface_group
async
¶
create_local_gateway_virtual_interface_group(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
local_gateway_id: Optional[LocalGatewayId] = None,
local_bgp_asn: Optional[Integer] = None,
local_bgp_asn_extended: Optional[Long] = None,
tag_specifications: Optional[TagSpecificationList] = None,
dry_run: Optional[Boolean] = None,
) -> CreateLocalGatewayVirtualInterfaceGroupResult
Create a local gateway virtual interface group.
Parameters:
-
local_gateway_id(Optional[LocalGatewayId], default:None) –The ID of the local gateway.
-
local_bgp_asn(Optional[Integer], default:None) –The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP).
-
local_bgp_asn_extended(Optional[Long], default:None) –The extended 32-bit ASN for the local BGP configuration.
-
tag_specifications(Optional[TagSpecificationList], default:None) –The tags to apply to the local gateway virtual interface group when the resource is being created.
-
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
10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 | |