1. Packages
  2. Confluent Provider
  3. API Docs
  4. getPrivateLinkAttachmentConnection
Confluent v2.23.0 published on Tuesday, Apr 1, 2025 by Pulumi

confluentcloud.getPrivateLinkAttachmentConnection

Explore with Pulumi AI

General Availability

confluentcloud.PrivateLinkAttachmentConnection describes a Private Link Attachment Connection data source.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";

const main = confluentcloud.getPrivateLinkAttachmentConnection({
    id: "plattc-p5j3ov",
    environment: {
        id: "env-8gv0v5",
    },
});
export const plattc = main;
Copy
import pulumi
import pulumi_confluentcloud as confluentcloud

main = confluentcloud.get_private_link_attachment_connection(id="plattc-p5j3ov",
    environment={
        "id": "env-8gv0v5",
    })
pulumi.export("plattc", main)
Copy
package main

import (
	"github.com/pulumi/pulumi-confluentcloud/sdk/v2/go/confluentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := confluentcloud.LookupPrivateLinkAttachmentConnection(ctx, &confluentcloud.LookupPrivateLinkAttachmentConnectionArgs{
			Id: "plattc-p5j3ov",
			Environment: confluentcloud.GetPrivateLinkAttachmentConnectionEnvironment{
				Id: "env-8gv0v5",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("plattc", main)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;

return await Deployment.RunAsync(() => 
{
    var main = ConfluentCloud.GetPrivateLinkAttachmentConnection.Invoke(new()
    {
        Id = "plattc-p5j3ov",
        Environment = new ConfluentCloud.Inputs.GetPrivateLinkAttachmentConnectionEnvironmentInputArgs
        {
            Id = "env-8gv0v5",
        },
    });

    return new Dictionary<string, object?>
    {
        ["plattc"] = main,
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.confluentcloud.ConfluentcloudFunctions;
import com.pulumi.confluentcloud.inputs.GetPrivateLinkAttachmentConnectionArgs;
import com.pulumi.confluentcloud.inputs.GetPrivateLinkAttachmentConnectionEnvironmentArgs;
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 main = ConfluentcloudFunctions.getPrivateLinkAttachmentConnection(GetPrivateLinkAttachmentConnectionArgs.builder()
            .id("plattc-p5j3ov")
            .environment(GetPrivateLinkAttachmentConnectionEnvironmentArgs.builder()
                .id("env-8gv0v5")
                .build())
            .build());

        ctx.export("plattc", main.applyValue(getPrivateLinkAttachmentConnectionResult -> getPrivateLinkAttachmentConnectionResult));
    }
}
Copy
variables:
  main:
    fn::invoke:
      function: confluentcloud:getPrivateLinkAttachmentConnection
      arguments:
        id: plattc-p5j3ov
        environment:
          id: env-8gv0v5
outputs:
  plattc: ${main}
Copy

Getting Started

The following end-to-end examples might help to get started with confluentcloud.PrivateLinkAttachmentConnection data source:

  • enterprise-privatelinkattachment-aws-kafka-acls: Enterprise Kafka cluster on AWS that is accessible via PrivateLink connections with authorization using ACLs
  • enterprise-privatelinkattachment-azure-kafka-acls: Enterprise Kafka cluster on Azure that is accessible via PrivateLink connections with authorization using ACLs

Using getPrivateLinkAttachmentConnection

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 getPrivateLinkAttachmentConnection(args: GetPrivateLinkAttachmentConnectionArgs, opts?: InvokeOptions): Promise<GetPrivateLinkAttachmentConnectionResult>
function getPrivateLinkAttachmentConnectionOutput(args: GetPrivateLinkAttachmentConnectionOutputArgs, opts?: InvokeOptions): Output<GetPrivateLinkAttachmentConnectionResult>
Copy
def get_private_link_attachment_connection(environment: Optional[GetPrivateLinkAttachmentConnectionEnvironment] = None,
                                           id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetPrivateLinkAttachmentConnectionResult
def get_private_link_attachment_connection_output(environment: Optional[pulumi.Input[GetPrivateLinkAttachmentConnectionEnvironmentArgs]] = None,
                                           id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetPrivateLinkAttachmentConnectionResult]
Copy
func LookupPrivateLinkAttachmentConnection(ctx *Context, args *LookupPrivateLinkAttachmentConnectionArgs, opts ...InvokeOption) (*LookupPrivateLinkAttachmentConnectionResult, error)
func LookupPrivateLinkAttachmentConnectionOutput(ctx *Context, args *LookupPrivateLinkAttachmentConnectionOutputArgs, opts ...InvokeOption) LookupPrivateLinkAttachmentConnectionResultOutput
Copy

> Note: This function is named LookupPrivateLinkAttachmentConnection in the Go SDK.

public static class GetPrivateLinkAttachmentConnection 
{
    public static Task<GetPrivateLinkAttachmentConnectionResult> InvokeAsync(GetPrivateLinkAttachmentConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetPrivateLinkAttachmentConnectionResult> Invoke(GetPrivateLinkAttachmentConnectionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPrivateLinkAttachmentConnectionResult> getPrivateLinkAttachmentConnection(GetPrivateLinkAttachmentConnectionArgs args, InvokeOptions options)
public static Output<GetPrivateLinkAttachmentConnectionResult> getPrivateLinkAttachmentConnection(GetPrivateLinkAttachmentConnectionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: confluentcloud:index/getPrivateLinkAttachmentConnection:getPrivateLinkAttachmentConnection
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Environment This property is required. Pulumi.ConfluentCloud.Inputs.GetPrivateLinkAttachmentConnectionEnvironment
Id This property is required. string
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
Environment This property is required. GetPrivateLinkAttachmentConnectionEnvironment
Id This property is required. string
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
environment This property is required. GetPrivateLinkAttachmentConnectionEnvironment
id This property is required. String
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
environment This property is required. GetPrivateLinkAttachmentConnectionEnvironment
id This property is required. string
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
environment This property is required. GetPrivateLinkAttachmentConnectionEnvironment
id This property is required. str
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
environment This property is required. Property Map
id This property is required. String
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.

getPrivateLinkAttachmentConnection Result

The following output properties are available:

Aws List<Pulumi.ConfluentCloud.Outputs.GetPrivateLinkAttachmentConnectionAw>
(Optional Configuration Block) supports the following:
Azures List<Pulumi.ConfluentCloud.Outputs.GetPrivateLinkAttachmentConnectionAzure>
(Optional Configuration Blocks) supports the following:
DisplayName string
(Optional String) The name of the Private Link Attachment Connection.
Environment Pulumi.ConfluentCloud.Outputs.GetPrivateLinkAttachmentConnectionEnvironment
Gcps List<Pulumi.ConfluentCloud.Outputs.GetPrivateLinkAttachmentConnectionGcp>
(Optional Configuration Block) supports the following:
Id string
(Required String) The unique identifier for the private link attachment.
PrivateLinkAttachments List<Pulumi.ConfluentCloud.Outputs.GetPrivateLinkAttachmentConnectionPrivateLinkAttachment>
(Optional Configuration Block) supports the following:
ResourceName string
(Required String) The Confluent Resource Name of the Private Link Attachment Connection, for example crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0/private-link-attachment-connection=plattc-77zq2w.
Aws []GetPrivateLinkAttachmentConnectionAw
(Optional Configuration Block) supports the following:
Azures []GetPrivateLinkAttachmentConnectionAzure
(Optional Configuration Blocks) supports the following:
DisplayName string
(Optional String) The name of the Private Link Attachment Connection.
Environment GetPrivateLinkAttachmentConnectionEnvironment
Gcps []GetPrivateLinkAttachmentConnectionGcp
(Optional Configuration Block) supports the following:
Id string
(Required String) The unique identifier for the private link attachment.
PrivateLinkAttachments []GetPrivateLinkAttachmentConnectionPrivateLinkAttachment
(Optional Configuration Block) supports the following:
ResourceName string
(Required String) The Confluent Resource Name of the Private Link Attachment Connection, for example crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0/private-link-attachment-connection=plattc-77zq2w.
aws List<GetPrivateLinkAttachmentConnectionAw>
(Optional Configuration Block) supports the following:
azures List<GetPrivateLinkAttachmentConnectionAzure>
(Optional Configuration Blocks) supports the following:
displayName String
(Optional String) The name of the Private Link Attachment Connection.
environment GetPrivateLinkAttachmentConnectionEnvironment
gcps List<GetPrivateLinkAttachmentConnectionGcp>
(Optional Configuration Block) supports the following:
id String
(Required String) The unique identifier for the private link attachment.
privateLinkAttachments List<GetPrivateLinkAttachmentConnectionPrivateLinkAttachment>
(Optional Configuration Block) supports the following:
resourceName String
(Required String) The Confluent Resource Name of the Private Link Attachment Connection, for example crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0/private-link-attachment-connection=plattc-77zq2w.
aws GetPrivateLinkAttachmentConnectionAw[]
(Optional Configuration Block) supports the following:
azures GetPrivateLinkAttachmentConnectionAzure[]
(Optional Configuration Blocks) supports the following:
displayName string
(Optional String) The name of the Private Link Attachment Connection.
environment GetPrivateLinkAttachmentConnectionEnvironment
gcps GetPrivateLinkAttachmentConnectionGcp[]
(Optional Configuration Block) supports the following:
id string
(Required String) The unique identifier for the private link attachment.
privateLinkAttachments GetPrivateLinkAttachmentConnectionPrivateLinkAttachment[]
(Optional Configuration Block) supports the following:
resourceName string
(Required String) The Confluent Resource Name of the Private Link Attachment Connection, for example crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0/private-link-attachment-connection=plattc-77zq2w.
aws Sequence[GetPrivateLinkAttachmentConnectionAw]
(Optional Configuration Block) supports the following:
azures Sequence[GetPrivateLinkAttachmentConnectionAzure]
(Optional Configuration Blocks) supports the following:
display_name str
(Optional String) The name of the Private Link Attachment Connection.
environment GetPrivateLinkAttachmentConnectionEnvironment
gcps Sequence[GetPrivateLinkAttachmentConnectionGcp]
(Optional Configuration Block) supports the following:
id str
(Required String) The unique identifier for the private link attachment.
private_link_attachments Sequence[GetPrivateLinkAttachmentConnectionPrivateLinkAttachment]
(Optional Configuration Block) supports the following:
resource_name str
(Required String) The Confluent Resource Name of the Private Link Attachment Connection, for example crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0/private-link-attachment-connection=plattc-77zq2w.
aws List<Property Map>
(Optional Configuration Block) supports the following:
azures List<Property Map>
(Optional Configuration Blocks) supports the following:
displayName String
(Optional String) The name of the Private Link Attachment Connection.
environment Property Map
gcps List<Property Map>
(Optional Configuration Block) supports the following:
id String
(Required String) The unique identifier for the private link attachment.
privateLinkAttachments List<Property Map>
(Optional Configuration Block) supports the following:
resourceName String
(Required String) The Confluent Resource Name of the Private Link Attachment Connection, for example crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0/private-link-attachment-connection=plattc-77zq2w.

Supporting Types

GetPrivateLinkAttachmentConnectionAw

VpcEndpointId This property is required. string
(Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
VpcEndpointId This property is required. string
(Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
vpcEndpointId This property is required. String
(Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
vpcEndpointId This property is required. string
(Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
vpc_endpoint_id This property is required. str
(Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
vpcEndpointId This property is required. String
(Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.

GetPrivateLinkAttachmentConnectionAzure

PrivateEndpointResourceId This property is required. string
(Required String) Resource ID of the Private Endpoint that is connected to the Private Link service.
PrivateEndpointResourceId This property is required. string
(Required String) Resource ID of the Private Endpoint that is connected to the Private Link service.
privateEndpointResourceId This property is required. String
(Required String) Resource ID of the Private Endpoint that is connected to the Private Link service.
privateEndpointResourceId This property is required. string
(Required String) Resource ID of the Private Endpoint that is connected to the Private Link service.
private_endpoint_resource_id This property is required. str
(Required String) Resource ID of the Private Endpoint that is connected to the Private Link service.
privateEndpointResourceId This property is required. String
(Required String) Resource ID of the Private Endpoint that is connected to the Private Link service.

GetPrivateLinkAttachmentConnectionEnvironment

Id This property is required. string
The ID of the Environment that the Private Link Attachment Connection belongs to, for example env-xyz456.
Id This property is required. string
The ID of the Environment that the Private Link Attachment Connection belongs to, for example env-xyz456.
id This property is required. String
The ID of the Environment that the Private Link Attachment Connection belongs to, for example env-xyz456.
id This property is required. string
The ID of the Environment that the Private Link Attachment Connection belongs to, for example env-xyz456.
id This property is required. str
The ID of the Environment that the Private Link Attachment Connection belongs to, for example env-xyz456.
id This property is required. String
The ID of the Environment that the Private Link Attachment Connection belongs to, for example env-xyz456.

GetPrivateLinkAttachmentConnectionGcp

PrivateServiceConnectConnectionId This property is required. string
(Required String) GCP Private Service Connect ID used to establish connections for all zones.
PrivateServiceConnectConnectionId This property is required. string
(Required String) GCP Private Service Connect ID used to establish connections for all zones.
privateServiceConnectConnectionId This property is required. String
(Required String) GCP Private Service Connect ID used to establish connections for all zones.
privateServiceConnectConnectionId This property is required. string
(Required String) GCP Private Service Connect ID used to establish connections for all zones.
private_service_connect_connection_id This property is required. str
(Required String) GCP Private Service Connect ID used to establish connections for all zones.
privateServiceConnectConnectionId This property is required. String
(Required String) GCP Private Service Connect ID used to establish connections for all zones.

GetPrivateLinkAttachmentConnectionPrivateLinkAttachment

Id This property is required. string
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
Id This property is required. string
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
id This property is required. String
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
id This property is required. string
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
id This property is required. str
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
id This property is required. String
The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.

Package Details

Repository
Confluent Cloud pulumi/pulumi-confluentcloud
License
Apache-2.0
Notes
This Pulumi package is based on the confluent Terraform Provider.