published on Thursday, Apr 23, 2026 by Pulumi
published on Thursday, Apr 23, 2026 by Pulumi
Provides details about an EC2 Service Link Virtual Interface. More information can be found in the Outposts User Guide.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.ec2.getServiceLinkVirtualInterface({
id: "slvif-1234567890abcdef0",
});
import pulumi
import pulumi_aws as aws
example = aws.ec2.get_service_link_virtual_interface(id="slvif-1234567890abcdef0")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.GetServiceLinkVirtualInterface(ctx, &ec2.GetServiceLinkVirtualInterfaceArgs{
Id: pulumi.StringRef("slvif-1234567890abcdef0"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Ec2.GetServiceLinkVirtualInterface.Invoke(new()
{
Id = "slvif-1234567890abcdef0",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Ec2Functions;
import com.pulumi.aws.ec2.inputs.GetServiceLinkVirtualInterfaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = Ec2Functions.getServiceLinkVirtualInterface(GetServiceLinkVirtualInterfaceArgs.builder()
.id("slvif-1234567890abcdef0")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:ec2:getServiceLinkVirtualInterface
arguments:
id: slvif-1234567890abcdef0
Using getServiceLinkVirtualInterface
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getServiceLinkVirtualInterface(args: GetServiceLinkVirtualInterfaceArgs, opts?: InvokeOptions): Promise<GetServiceLinkVirtualInterfaceResult>
function getServiceLinkVirtualInterfaceOutput(args: GetServiceLinkVirtualInterfaceOutputArgs, opts?: InvokeOptions): Output<GetServiceLinkVirtualInterfaceResult>def get_service_link_virtual_interface(filters: Optional[Sequence[GetServiceLinkVirtualInterfaceFilter]] = None,
id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceLinkVirtualInterfaceResult
def get_service_link_virtual_interface_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetServiceLinkVirtualInterfaceFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceLinkVirtualInterfaceResult]func GetServiceLinkVirtualInterface(ctx *Context, args *GetServiceLinkVirtualInterfaceArgs, opts ...InvokeOption) (*GetServiceLinkVirtualInterfaceResult, error)
func GetServiceLinkVirtualInterfaceOutput(ctx *Context, args *GetServiceLinkVirtualInterfaceOutputArgs, opts ...InvokeOption) GetServiceLinkVirtualInterfaceResultOutput> Note: This function is named GetServiceLinkVirtualInterface in the Go SDK.
public static class GetServiceLinkVirtualInterface
{
public static Task<GetServiceLinkVirtualInterfaceResult> InvokeAsync(GetServiceLinkVirtualInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceLinkVirtualInterfaceResult> Invoke(GetServiceLinkVirtualInterfaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceLinkVirtualInterfaceResult> getServiceLinkVirtualInterface(GetServiceLinkVirtualInterfaceArgs args, InvokeOptions options)
public static Output<GetServiceLinkVirtualInterfaceResult> getServiceLinkVirtualInterface(GetServiceLinkVirtualInterfaceArgs args, InvokeOptions options)
fn::invoke:
function: aws:ec2/getServiceLinkVirtualInterface:getServiceLinkVirtualInterface
arguments:
# arguments dictionaryThe following arguments are supported:
- Filters
List<Get
Service Link Virtual Interface Filter> - One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
- Id string
Identifier of the EC2 Service Link Virtual Interface.
NOTE: At least one of
filteroridmust be specified.- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Filters
[]Get
Service Link Virtual Interface Filter - One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
- Id string
Identifier of the EC2 Service Link Virtual Interface.
NOTE: At least one of
filteroridmust be specified.- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- filters
List<Get
Service Link Virtual Interface Filter> - One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
- id String
Identifier of the EC2 Service Link Virtual Interface.
NOTE: At least one of
filteroridmust be specified.- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- filters
Get
Service Link Virtual Interface Filter[] - One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
- id string
Identifier of the EC2 Service Link Virtual Interface.
NOTE: At least one of
filteroridmust be specified.- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- filters
Sequence[Get
Service Link Virtual Interface Filter] - One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
- id str
Identifier of the EC2 Service Link Virtual Interface.
NOTE: At least one of
filteroridmust be specified.- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- filters List<Property Map>
- One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
- id String
Identifier of the EC2 Service Link Virtual Interface.
NOTE: At least one of
filteroridmust be specified.- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
getServiceLinkVirtualInterface Result
The following output properties are available:
- Arn string
- ARN of the Service Link Virtual Interface.
- Configuration
State string - Current state of the Service Link Virtual Interface.
- Id string
- Local
Address string - IPv4 address assigned to the local gateway virtual interface on the Outpost side.
- Outpost
Arn string - Outpost ARN for the Service Link Virtual Interface.
- Outpost
Id string - Outpost ID for the Service Link Virtual Interface.
- Outpost
Lag stringId - Link aggregation group (LAG) ID for the Service Link Virtual Interface.
- Owner
Id string - ID of the AWS account that owns the Service Link Virtual Interface.
- Peer
Address string - IPv4 peer address for the Service Link Virtual Interface.
- Peer
Bgp intAsn - BGP Autonomous System Number (ASN) of the peer.
- Region string
- Dictionary<string, string>
- Key-value map of resource tags.
- Vlan int
- Virtual Local Area Network.
- Filters
List<Get
Service Link Virtual Interface Filter>
- Arn string
- ARN of the Service Link Virtual Interface.
- Configuration
State string - Current state of the Service Link Virtual Interface.
- Id string
- Local
Address string - IPv4 address assigned to the local gateway virtual interface on the Outpost side.
- Outpost
Arn string - Outpost ARN for the Service Link Virtual Interface.
- Outpost
Id string - Outpost ID for the Service Link Virtual Interface.
- Outpost
Lag stringId - Link aggregation group (LAG) ID for the Service Link Virtual Interface.
- Owner
Id string - ID of the AWS account that owns the Service Link Virtual Interface.
- Peer
Address string - IPv4 peer address for the Service Link Virtual Interface.
- Peer
Bgp intAsn - BGP Autonomous System Number (ASN) of the peer.
- Region string
- map[string]string
- Key-value map of resource tags.
- Vlan int
- Virtual Local Area Network.
- Filters
[]Get
Service Link Virtual Interface Filter
- arn String
- ARN of the Service Link Virtual Interface.
- configuration
State String - Current state of the Service Link Virtual Interface.
- id String
- local
Address String - IPv4 address assigned to the local gateway virtual interface on the Outpost side.
- outpost
Arn String - Outpost ARN for the Service Link Virtual Interface.
- outpost
Id String - Outpost ID for the Service Link Virtual Interface.
- outpost
Lag StringId - Link aggregation group (LAG) ID for the Service Link Virtual Interface.
- owner
Id String - ID of the AWS account that owns the Service Link Virtual Interface.
- peer
Address String - IPv4 peer address for the Service Link Virtual Interface.
- peer
Bgp IntegerAsn - BGP Autonomous System Number (ASN) of the peer.
- region String
- Map<String,String>
- Key-value map of resource tags.
- vlan Integer
- Virtual Local Area Network.
- filters
List<Get
Service Link Virtual Interface Filter>
- arn string
- ARN of the Service Link Virtual Interface.
- configuration
State string - Current state of the Service Link Virtual Interface.
- id string
- local
Address string - IPv4 address assigned to the local gateway virtual interface on the Outpost side.
- outpost
Arn string - Outpost ARN for the Service Link Virtual Interface.
- outpost
Id string - Outpost ID for the Service Link Virtual Interface.
- outpost
Lag stringId - Link aggregation group (LAG) ID for the Service Link Virtual Interface.
- owner
Id string - ID of the AWS account that owns the Service Link Virtual Interface.
- peer
Address string - IPv4 peer address for the Service Link Virtual Interface.
- peer
Bgp numberAsn - BGP Autonomous System Number (ASN) of the peer.
- region string
- {[key: string]: string}
- Key-value map of resource tags.
- vlan number
- Virtual Local Area Network.
- filters
Get
Service Link Virtual Interface Filter[]
- arn str
- ARN of the Service Link Virtual Interface.
- configuration_
state str - Current state of the Service Link Virtual Interface.
- id str
- local_
address str - IPv4 address assigned to the local gateway virtual interface on the Outpost side.
- outpost_
arn str - Outpost ARN for the Service Link Virtual Interface.
- outpost_
id str - Outpost ID for the Service Link Virtual Interface.
- outpost_
lag_ strid - Link aggregation group (LAG) ID for the Service Link Virtual Interface.
- owner_
id str - ID of the AWS account that owns the Service Link Virtual Interface.
- peer_
address str - IPv4 peer address for the Service Link Virtual Interface.
- peer_
bgp_ intasn - BGP Autonomous System Number (ASN) of the peer.
- region str
- Mapping[str, str]
- Key-value map of resource tags.
- vlan int
- Virtual Local Area Network.
- filters
Sequence[Get
Service Link Virtual Interface Filter]
- arn String
- ARN of the Service Link Virtual Interface.
- configuration
State String - Current state of the Service Link Virtual Interface.
- id String
- local
Address String - IPv4 address assigned to the local gateway virtual interface on the Outpost side.
- outpost
Arn String - Outpost ARN for the Service Link Virtual Interface.
- outpost
Id String - Outpost ID for the Service Link Virtual Interface.
- outpost
Lag StringId - Link aggregation group (LAG) ID for the Service Link Virtual Interface.
- owner
Id String - ID of the AWS account that owns the Service Link Virtual Interface.
- peer
Address String - IPv4 peer address for the Service Link Virtual Interface.
- peer
Bgp NumberAsn - BGP Autonomous System Number (ASN) of the peer.
- region String
- Map<String>
- Key-value map of resource tags.
- vlan Number
- Virtual Local Area Network.
- filters List<Property Map>
Supporting Types
GetServiceLinkVirtualInterfaceFilter
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Apr 23, 2026 by Pulumi
