We recommend new projects start with resources from the AWS provider.
aws-native.ec2.LocalGatewayVirtualInterface
We recommend new projects start with resources from the AWS provider.
Resource Type definition for Local Gateway Virtual Interface which describes a virtual interface for AWS Outposts local gateways.
Create LocalGatewayVirtualInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LocalGatewayVirtualInterface(name: string, args: LocalGatewayVirtualInterfaceArgs, opts?: CustomResourceOptions);@overload
def LocalGatewayVirtualInterface(resource_name: str,
args: LocalGatewayVirtualInterfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LocalGatewayVirtualInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_address: Optional[str] = None,
local_gateway_virtual_interface_group_id: Optional[str] = None,
outpost_lag_id: Optional[str] = None,
peer_address: Optional[str] = None,
vlan: Optional[int] = None,
peer_bgp_asn: Optional[int] = None,
peer_bgp_asn_extended: Optional[int] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewLocalGatewayVirtualInterface(ctx *Context, name string, args LocalGatewayVirtualInterfaceArgs, opts ...ResourceOption) (*LocalGatewayVirtualInterface, error)public LocalGatewayVirtualInterface(string name, LocalGatewayVirtualInterfaceArgs args, CustomResourceOptions? opts = null)
public LocalGatewayVirtualInterface(String name, LocalGatewayVirtualInterfaceArgs args)
public LocalGatewayVirtualInterface(String name, LocalGatewayVirtualInterfaceArgs args, CustomResourceOptions options)
type: aws-native:ec2:LocalGatewayVirtualInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LocalGatewayVirtualInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LocalGatewayVirtualInterfaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LocalGatewayVirtualInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LocalGatewayVirtualInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LocalGatewayVirtualInterfaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
LocalGatewayVirtualInterface Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LocalGatewayVirtualInterface resource accepts the following input properties:
- Local
Address string - The local address.
- Local
Gateway stringVirtual Interface Group Id - The ID of the virtual interface group
- Outpost
Lag stringId - The Outpost LAG ID.
- Peer
Address string - The peer address.
- Vlan int
- The ID of the VLAN.
- Peer
Bgp intAsn - The peer BGP ASN.
- Peer
Bgp intAsn Extended - The extended 32-bit ASN of the BGP peer for use with larger ASN values.
-
List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Local
Address string - The local address.
- Local
Gateway stringVirtual Interface Group Id - The ID of the virtual interface group
- Outpost
Lag stringId - The Outpost LAG ID.
- Peer
Address string - The peer address.
- Vlan int
- The ID of the VLAN.
- Peer
Bgp intAsn - The peer BGP ASN.
- Peer
Bgp intAsn Extended - The extended 32-bit ASN of the BGP peer for use with larger ASN values.
-
Tag
Args - An array of key-value pairs to apply to this resource.
- local
Address String - The local address.
- local
Gateway StringVirtual Interface Group Id - The ID of the virtual interface group
- outpost
Lag StringId - The Outpost LAG ID.
- peer
Address String - The peer address.
- vlan Integer
- The ID of the VLAN.
- peer
Bgp IntegerAsn - The peer BGP ASN.
- peer
Bgp IntegerAsn Extended - The extended 32-bit ASN of the BGP peer for use with larger ASN values.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- local
Address string - The local address.
- local
Gateway stringVirtual Interface Group Id - The ID of the virtual interface group
- outpost
Lag stringId - The Outpost LAG ID.
- peer
Address string - The peer address.
- vlan number
- The ID of the VLAN.
- peer
Bgp numberAsn - The peer BGP ASN.
- peer
Bgp numberAsn Extended - The extended 32-bit ASN of the BGP peer for use with larger ASN values.
- Tag[]
- An array of key-value pairs to apply to this resource.
- local_
address str - The local address.
- local_
gateway_ strvirtual_ interface_ group_ id - The ID of the virtual interface group
- outpost_
lag_ strid - The Outpost LAG ID.
- peer_
address str - The peer address.
- vlan int
- The ID of the VLAN.
- peer_
bgp_ intasn - The peer BGP ASN.
- peer_
bgp_ intasn_ extended - The extended 32-bit ASN of the BGP peer for use with larger ASN values.
-
Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- local
Address String - The local address.
- local
Gateway StringVirtual Interface Group Id - The ID of the virtual interface group
- outpost
Lag StringId - The Outpost LAG ID.
- peer
Address String - The peer address.
- vlan Number
- The ID of the VLAN.
- peer
Bgp NumberAsn - The peer BGP ASN.
- peer
Bgp NumberAsn Extended - The extended 32-bit ASN of the BGP peer for use with larger ASN values.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the LocalGatewayVirtualInterface resource produces the following output properties:
- Configuration
State string - The current state of the local gateway virtual interface
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Bgp intAsn - The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP)
- Local
Gateway stringId - The ID of the local gateway
- Local
Gateway stringVirtual Interface Id - The ID of the virtual interface
- Owner
Id string - The ID of the Amazon Web Services account that owns the local gateway virtual interface group
- Configuration
State string - The current state of the local gateway virtual interface
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Bgp intAsn - The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP)
- Local
Gateway stringId - The ID of the local gateway
- Local
Gateway stringVirtual Interface Id - The ID of the virtual interface
- Owner
Id string - The ID of the Amazon Web Services account that owns the local gateway virtual interface group
- configuration
State String - The current state of the local gateway virtual interface
- id String
- The provider-assigned unique ID for this managed resource.
- local
Bgp IntegerAsn - The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP)
- local
Gateway StringId - The ID of the local gateway
- local
Gateway StringVirtual Interface Id - The ID of the virtual interface
- owner
Id String - The ID of the Amazon Web Services account that owns the local gateway virtual interface group
- configuration
State string - The current state of the local gateway virtual interface
- id string
- The provider-assigned unique ID for this managed resource.
- local
Bgp numberAsn - The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP)
- local
Gateway stringId - The ID of the local gateway
- local
Gateway stringVirtual Interface Id - The ID of the virtual interface
- owner
Id string - The ID of the Amazon Web Services account that owns the local gateway virtual interface group
- configuration_
state str - The current state of the local gateway virtual interface
- id str
- The provider-assigned unique ID for this managed resource.
- local_
bgp_ intasn - The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP)
- local_
gateway_ strid - The ID of the local gateway
- local_
gateway_ strvirtual_ interface_ id - The ID of the virtual interface
- owner_
id str - The ID of the Amazon Web Services account that owns the local gateway virtual interface group
- configuration
State String - The current state of the local gateway virtual interface
- id String
- The provider-assigned unique ID for this managed resource.
- local
Bgp NumberAsn - The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP)
- local
Gateway StringId - The ID of the local gateway
- local
Gateway StringVirtual Interface Id - The ID of the virtual interface
- owner
Id String - The ID of the Amazon Web Services account that owns the local gateway virtual interface group
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
