Skip to content

EC2  >  Operations  >  create_local_gateway_virtual_interface_group

create_local_gateway_virtual_interface_group

Operation

create_local_gateway_virtual_interface_group async

create_local_gateway_virtual_interface_group(input: CreateLocalGatewayVirtualInterfaceGroupInput, plugins: list[Plugin] | None = None) -> CreateLocalGatewayVirtualInterfaceGroupOutput

Create a local gateway virtual interface group.

Parameters:

Name Type Description Default
input CreateLocalGatewayVirtualInterfaceGroupInput

An instance of CreateLocalGatewayVirtualInterfaceGroupInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
CreateLocalGatewayVirtualInterfaceGroupOutput

An instance of CreateLocalGatewayVirtualInterfaceGroupOutput.

Input

CreateLocalGatewayVirtualInterfaceGroupInput dataclass

Bases: _SerdeShape

Dataclass for CreateLocalGatewayVirtualInterfaceGroupInput structure.

Attributes

dry_run class-attribute instance-attribute
dry_run: bool | 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 is UnauthorizedOperation.

local_bgp_asn class-attribute instance-attribute
local_bgp_asn: int | None = ...

The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP).

local_bgp_asn_extended class-attribute instance-attribute
local_bgp_asn_extended: int | None = ...

The extended 32-bit ASN for the local BGP configuration.

local_gateway_id class-attribute instance-attribute
local_gateway_id: str | None = ...

The ID of the local gateway.

tag_specifications class-attribute instance-attribute
tag_specifications: list[TagSpecification] | None = ...

The tags to apply to the local gateway virtual interface group when the resource is being created.

Output

CreateLocalGatewayVirtualInterfaceGroupOutput dataclass

Bases: _SerdeShape

Dataclass for CreateLocalGatewayVirtualInterfaceGroupOutput structure.

Attributes

local_gateway_virtual_interface_group class-attribute instance-attribute
local_gateway_virtual_interface_group: LocalGatewayVirtualInterfaceGroup | None = ...

Information about the created local gateway virtual interface group.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.