1. Packages
  2. Confluent Provider
  3. API Docs
  4. getPrivateLinkAttachmentConnection
Confluent v2.10.0 published on Wednesday, Nov 20, 2024 by Pulumi

confluentcloud.getPrivateLinkAttachmentConnection

Explore with Pulumi AI

confluentcloud logo
Confluent v2.10.0 published on Wednesday, Nov 20, 2024 by Pulumi

    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;
    
    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)
    
    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
    	})
    }
    
    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,
        };
    });
    
    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));
        }
    }
    
    variables:
      main:
        fn::invoke:
          Function: confluentcloud:getPrivateLinkAttachmentConnection
          Arguments:
            id: plattc-p5j3ov
            environment:
              id: env-8gv0v5
    outputs:
      plattc: ${main}
    

    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>
    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]
    func LookupPrivateLinkAttachmentConnection(ctx *Context, args *LookupPrivateLinkAttachmentConnectionArgs, opts ...InvokeOption) (*LookupPrivateLinkAttachmentConnectionResult, error)
    func LookupPrivateLinkAttachmentConnectionOutput(ctx *Context, args *LookupPrivateLinkAttachmentConnectionOutputArgs, opts ...InvokeOption) LookupPrivateLinkAttachmentConnectionResultOutput

    > 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)
    }
    public static CompletableFuture<GetPrivateLinkAttachmentConnectionResult> getPrivateLinkAttachmentConnection(GetPrivateLinkAttachmentConnectionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: confluentcloud:index/getPrivateLinkAttachmentConnection:getPrivateLinkAttachmentConnection
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Environment Pulumi.ConfluentCloud.Inputs.GetPrivateLinkAttachmentConnectionEnvironment
    Id string
    The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
    Environment GetPrivateLinkAttachmentConnectionEnvironment
    Id string
    The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
    environment GetPrivateLinkAttachmentConnectionEnvironment
    id String
    The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
    environment GetPrivateLinkAttachmentConnectionEnvironment
    id string
    The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
    environment GetPrivateLinkAttachmentConnectionEnvironment
    id str
    The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
    environment Property Map
    id 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>
    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
    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>
    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[]
    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]
    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>
    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 string
    (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
    VpcEndpointId string
    (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
    vpcEndpointId String
    (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
    vpcEndpointId string
    (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
    vpc_endpoint_id str
    (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
    vpcEndpointId String
    (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.

    GetPrivateLinkAttachmentConnectionAzure

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

    GetPrivateLinkAttachmentConnectionEnvironment

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

    GetPrivateLinkAttachmentConnectionGcp

    PrivateServiceConnectConnectionId string
    Id of the Private Service connection.
    PrivateServiceConnectConnectionId string
    Id of the Private Service connection.
    privateServiceConnectConnectionId String
    Id of the Private Service connection.
    privateServiceConnectConnectionId string
    Id of the Private Service connection.
    private_service_connect_connection_id str
    Id of the Private Service connection.
    privateServiceConnectConnectionId String
    Id of the Private Service connection.

    GetPrivateLinkAttachmentConnectionPrivateLinkAttachment

    Id string
    The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
    Id string
    The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
    id String
    The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
    id string
    The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
    id str
    The ID of the Private Link Attachment Connection, for example, plattc-p5j3ov.
    id 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.
    confluentcloud logo
    Confluent v2.10.0 published on Wednesday, Nov 20, 2024 by Pulumi