Viewing docs for Aiven v6.62.0
published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi
Viewing docs for Aiven v6.62.0
published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi
Gets information about an AWS PrivateLink connection for an Aiven service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const example = aiven.getAwsPrivatelink({
project: "my-project",
serviceName: "foo",
});
import pulumi
import pulumi_aiven as aiven
example = aiven.get_aws_privatelink(project="my-project",
service_name="foo")
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.GetAwsPrivatelink(ctx, &aiven.LookupAwsPrivatelinkArgs{
Project: "my-project",
ServiceName: "foo",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var example = Aiven.GetAwsPrivatelink.Invoke(new()
{
Project = "my-project",
ServiceName = "foo",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetAwsPrivatelinkArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 = AivenFunctions.getAwsPrivatelink(GetAwsPrivatelinkArgs.builder()
.project("my-project")
.serviceName("foo")
.build());
}
}
variables:
example:
fn::invoke:
function: aiven:getAwsPrivatelink
arguments:
project: my-project
serviceName: foo
terraform {
required_providers {
aiven = {
source = "pulumi/aiven"
}
}
}
data "aiven_aws_privatelink" "example" {
project = "my-project"
service_name = "foo"
}
Using getAwsPrivatelink
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 getAwsPrivatelink(args: GetAwsPrivatelinkArgs, opts?: InvokeOptions): Promise<GetAwsPrivatelinkResult>
function getAwsPrivatelinkOutput(args: GetAwsPrivatelinkOutputArgs, opts?: InvokeOutputOptions): Output<GetAwsPrivatelinkResult>def get_aws_privatelink(project: Optional[str] = None,
service_name: Optional[str] = None,
timeouts: Optional[GetAwsPrivatelinkTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetAwsPrivatelinkResult
def get_aws_privatelink_output(project: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
timeouts: pulumi.Input[Optional[GetAwsPrivatelinkTimeoutsArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAwsPrivatelinkResult]func LookupAwsPrivatelink(ctx *Context, args *LookupAwsPrivatelinkArgs, opts ...InvokeOption) (*LookupAwsPrivatelinkResult, error)
func LookupAwsPrivatelinkOutput(ctx *Context, args *LookupAwsPrivatelinkOutputArgs, opts ...InvokeOption) LookupAwsPrivatelinkResultOutput> Note: This function is named LookupAwsPrivatelink in the Go SDK.
public static class GetAwsPrivatelink
{
public static Task<GetAwsPrivatelinkResult> InvokeAsync(GetAwsPrivatelinkArgs args, InvokeOptions? opts = null)
public static Output<GetAwsPrivatelinkResult> Invoke(GetAwsPrivatelinkInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAwsPrivatelinkResult> Invoke(GetAwsPrivatelinkInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAwsPrivatelinkResult> getAwsPrivatelink(GetAwsPrivatelinkArgs args, InvokeOptions options)
public static Output<GetAwsPrivatelinkResult> getAwsPrivatelink(GetAwsPrivatelinkArgs args, InvokeOptions options)
public static Output<GetAwsPrivatelinkResult> getAwsPrivatelink(GetAwsPrivatelinkArgs args, InvokeOutputOptions options)
fn::invoke:
function: aiven:index/getAwsPrivatelink:getAwsPrivatelink
arguments:
# arguments dictionarydata "aiven_get_aws_privatelink" "name" {
# arguments
}The following arguments are supported:
- Project string
- Project name.
- Service
Name string - Service name.
- Timeouts
Get
Aws Privatelink Timeouts
- Project string
- Project name.
- Service
Name string - Service name.
- Timeouts
Get
Aws Privatelink Timeouts
- project string
- Project name.
- service_
name string - Service name.
- timeouts object
- project String
- Project name.
- service
Name String - Service name.
- timeouts
Get
Aws Privatelink Timeouts
- project string
- Project name.
- service
Name string - Service name.
- timeouts
Get
Aws Privatelink Timeouts
- project str
- Project name.
- service_
name str - Service name.
- timeouts
Get
Aws Privatelink Timeouts
- project String
- Project name.
- service
Name String - Service name.
- timeouts Property Map
getAwsPrivatelink Result
The following output properties are available:
- Aws
Service stringId - AWS VPC endpoint service ID.
- Aws
Service stringName - AWS VPC endpoint service name.
- Id string
- Resource ID composed as:
project/service_name. - Principals List<string>
- ARNs of principals allowed connecting to the service.
- Project string
- Project name.
- Service
Name string - Service name.
- State string
- Privatelink resource state. The possible values are
active,creatinganddeleting. - Supported
Regions List<string> - Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in.
- Timeouts
Get
Aws Privatelink Timeouts
- Aws
Service stringId - AWS VPC endpoint service ID.
- Aws
Service stringName - AWS VPC endpoint service name.
- Id string
- Resource ID composed as:
project/service_name. - Principals []string
- ARNs of principals allowed connecting to the service.
- Project string
- Project name.
- Service
Name string - Service name.
- State string
- Privatelink resource state. The possible values are
active,creatinganddeleting. - Supported
Regions []string - Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in.
- Timeouts
Get
Aws Privatelink Timeouts
- aws_
service_ stringid - AWS VPC endpoint service ID.
- aws_
service_ stringname - AWS VPC endpoint service name.
- id string
- Resource ID composed as:
project/service_name. - principals list(string)
- ARNs of principals allowed connecting to the service.
- project string
- Project name.
- service_
name string - Service name.
- state string
- Privatelink resource state. The possible values are
active,creatinganddeleting. - supported_
regions list(string) - Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in.
- timeouts object
- aws
Service StringId - AWS VPC endpoint service ID.
- aws
Service StringName - AWS VPC endpoint service name.
- id String
- Resource ID composed as:
project/service_name. - principals List<String>
- ARNs of principals allowed connecting to the service.
- project String
- Project name.
- service
Name String - Service name.
- state String
- Privatelink resource state. The possible values are
active,creatinganddeleting. - supported
Regions List<String> - Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in.
- timeouts
Get
Aws Privatelink Timeouts
- aws
Service stringId - AWS VPC endpoint service ID.
- aws
Service stringName - AWS VPC endpoint service name.
- id string
- Resource ID composed as:
project/service_name. - principals string[]
- ARNs of principals allowed connecting to the service.
- project string
- Project name.
- service
Name string - Service name.
- state string
- Privatelink resource state. The possible values are
active,creatinganddeleting. - supported
Regions string[] - Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in.
- timeouts
Get
Aws Privatelink Timeouts
- aws_
service_ strid - AWS VPC endpoint service ID.
- aws_
service_ strname - AWS VPC endpoint service name.
- id str
- Resource ID composed as:
project/service_name. - principals Sequence[str]
- ARNs of principals allowed connecting to the service.
- project str
- Project name.
- service_
name str - Service name.
- state str
- Privatelink resource state. The possible values are
active,creatinganddeleting. - supported_
regions Sequence[str] - Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in.
- timeouts
Get
Aws Privatelink Timeouts
- aws
Service StringId - AWS VPC endpoint service ID.
- aws
Service StringName - AWS VPC endpoint service name.
- id String
- Resource ID composed as:
project/service_name. - principals List<String>
- ARNs of principals allowed connecting to the service.
- project String
- Project name.
- service
Name String - Service name.
- state String
- Privatelink resource state. The possible values are
active,creatinganddeleting. - supported
Regions List<String> - Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in.
- timeouts Property Map
Supporting Types
GetAwsPrivatelinkTimeouts
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
Viewing docs for Aiven v6.62.0
published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi