Confluent v2.10.0 published on Wednesday, Nov 20, 2024 by Pulumi
confluentcloud.getPrivateLinkAttachmentConnection
Explore with Pulumi AI
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 ACLsenterprise-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.
Confluent Cloud. Inputs. Get Private Link Attachment Connection Environment - Id string
- The ID of the Private Link Attachment Connection, for example,
plattc-p5j3ov
.
- Environment
Get
Private Link Attachment Connection Environment - Id string
- The ID of the Private Link Attachment Connection, for example,
plattc-p5j3ov
.
- environment
Get
Private Link Attachment Connection Environment - id String
- The ID of the Private Link Attachment Connection, for example,
plattc-p5j3ov
.
- environment
Get
Private Link Attachment Connection Environment - id string
- The ID of the Private Link Attachment Connection, for example,
plattc-p5j3ov
.
- environment
Get
Private Link Attachment Connection Environment - 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.
Confluent Cloud. Outputs. Get Private Link Attachment Connection Aw> - (Optional Configuration Block) supports the following:
- Azures
List<Pulumi.
Confluent Cloud. Outputs. Get Private Link Attachment Connection Azure> - (Optional Configuration Blocks) supports the following:
- Display
Name string - (Optional String) The name of the Private Link Attachment Connection.
- Environment
Pulumi.
Confluent Cloud. Outputs. Get Private Link Attachment Connection Environment - Gcps
List<Pulumi.
Confluent Cloud. Outputs. Get Private Link Attachment Connection Gcp> - Id string
- (Required String) The unique identifier for the private link attachment.
- Private
Link List<Pulumi.Attachments Confluent Cloud. Outputs. Get Private Link Attachment Connection Private Link Attachment> - (Optional Configuration Block) supports the following:
- Resource
Name 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
[]Get
Private Link Attachment Connection Aw - (Optional Configuration Block) supports the following:
- Azures
[]Get
Private Link Attachment Connection Azure - (Optional Configuration Blocks) supports the following:
- Display
Name string - (Optional String) The name of the Private Link Attachment Connection.
- Environment
Get
Private Link Attachment Connection Environment - Gcps
[]Get
Private Link Attachment Connection Gcp - Id string
- (Required String) The unique identifier for the private link attachment.
- Private
Link []GetAttachments Private Link Attachment Connection Private Link Attachment - (Optional Configuration Block) supports the following:
- Resource
Name 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<Get
Private Link Attachment Connection Aw> - (Optional Configuration Block) supports the following:
- azures
List<Get
Private Link Attachment Connection Azure> - (Optional Configuration Blocks) supports the following:
- display
Name String - (Optional String) The name of the Private Link Attachment Connection.
- environment
Get
Private Link Attachment Connection Environment - gcps
List<Get
Private Link Attachment Connection Gcp> - id String
- (Required String) The unique identifier for the private link attachment.
- private
Link List<GetAttachments Private Link Attachment Connection Private Link Attachment> - (Optional Configuration Block) supports the following:
- resource
Name 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
Get
Private Link Attachment Connection Aw[] - (Optional Configuration Block) supports the following:
- azures
Get
Private Link Attachment Connection Azure[] - (Optional Configuration Blocks) supports the following:
- display
Name string - (Optional String) The name of the Private Link Attachment Connection.
- environment
Get
Private Link Attachment Connection Environment - gcps
Get
Private Link Attachment Connection Gcp[] - id string
- (Required String) The unique identifier for the private link attachment.
- private
Link GetAttachments Private Link Attachment Connection Private Link Attachment[] - (Optional Configuration Block) supports the following:
- resource
Name 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[Get
Private Link Attachment Connection Aw] - (Optional Configuration Block) supports the following:
- azures
Sequence[Get
Private Link Attachment Connection Azure] - (Optional Configuration Blocks) supports the following:
- display_
name str - (Optional String) The name of the Private Link Attachment Connection.
- environment
Get
Private Link Attachment Connection Environment - gcps
Sequence[Get
Private Link Attachment Connection Gcp] - id str
- (Required String) The unique identifier for the private link attachment.
- private_
link_ Sequence[Getattachments Private Link Attachment Connection Private Link Attachment] - (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:
- display
Name 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.
- private
Link List<Property Map>Attachments - (Optional Configuration Block) supports the following:
- resource
Name 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
- Vpc
Endpoint stringId - (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
- Vpc
Endpoint stringId - (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
- vpc
Endpoint StringId - (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
- vpc
Endpoint stringId - (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
- vpc_
endpoint_ strid - (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
- vpc
Endpoint StringId - (Required String) Id of a VPC Endpoint that is connected to the VPC Endpoint service.
GetPrivateLinkAttachmentConnectionAzure
- Private
Endpoint stringResource Id - (Required String) Resource ID of the Private Endpoint that is connected to the Private Link service.
- Private
Endpoint stringResource Id - (Required String) Resource ID of the Private Endpoint that is connected to the Private Link service.
- private
Endpoint StringResource Id - (Required String) Resource ID of the Private Endpoint that is connected to the Private Link service.
- private
Endpoint stringResource Id - (Required String) Resource ID of the Private Endpoint that is connected to the Private Link service.
- private_
endpoint_ strresource_ id - (Required String) Resource ID of the Private Endpoint that is connected to the Private Link service.
- private
Endpoint StringResource Id - (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
- Private
Service stringConnect Connection Id - Id of the Private Service connection.
- Private
Service stringConnect Connection Id - Id of the Private Service connection.
- private
Service StringConnect Connection Id - Id of the Private Service connection.
- private
Service stringConnect Connection Id - Id of the Private Service connection.
- private_
service_ strconnect_ connection_ id - Id of the Private Service connection.
- private
Service StringConnect Connection Id - 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.