Confluent v2.10.0 published on Wednesday, Nov 20, 2024 by Pulumi
confluentcloud.getPrivateLinkAttachment
Explore with Pulumi AI
confluentcloud.PrivateLinkAttachment
describes a Private Link Attachment data source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
const main = confluentcloud.getPrivateLinkAttachment({
id: "platt-abcde",
environment: {
id: "env-1234",
},
});
export const platt = main;
import pulumi
import pulumi_confluentcloud as confluentcloud
main = confluentcloud.get_private_link_attachment(id="platt-abcde",
environment={
"id": "env-1234",
})
pulumi.export("platt", 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.LookupPrivateLinkAttachment(ctx, &confluentcloud.LookupPrivateLinkAttachmentArgs{
Id: "platt-abcde",
Environment: confluentcloud.GetPrivateLinkAttachmentEnvironment{
Id: "env-1234",
},
}, nil)
if err != nil {
return err
}
ctx.Export("platt", main)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
return await Deployment.RunAsync(() =>
{
var main = ConfluentCloud.GetPrivateLinkAttachment.Invoke(new()
{
Id = "platt-abcde",
Environment = new ConfluentCloud.Inputs.GetPrivateLinkAttachmentEnvironmentInputArgs
{
Id = "env-1234",
},
});
return new Dictionary<string, object?>
{
["platt"] = 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.GetPrivateLinkAttachmentArgs;
import com.pulumi.confluentcloud.inputs.GetPrivateLinkAttachmentEnvironmentArgs;
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.getPrivateLinkAttachment(GetPrivateLinkAttachmentArgs.builder()
.id("platt-abcde")
.environment(GetPrivateLinkAttachmentEnvironmentArgs.builder()
.id("env-1234")
.build())
.build());
ctx.export("platt", main.applyValue(getPrivateLinkAttachmentResult -> getPrivateLinkAttachmentResult));
}
}
variables:
main:
fn::invoke:
Function: confluentcloud:getPrivateLinkAttachment
Arguments:
id: platt-abcde
environment:
id: env-1234
outputs:
platt: ${main}
Getting Started
The following end-to-end examples might help to get started with confluentcloud.PrivateLinkAttachment
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 getPrivateLinkAttachment
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 getPrivateLinkAttachment(args: GetPrivateLinkAttachmentArgs, opts?: InvokeOptions): Promise<GetPrivateLinkAttachmentResult>
function getPrivateLinkAttachmentOutput(args: GetPrivateLinkAttachmentOutputArgs, opts?: InvokeOptions): Output<GetPrivateLinkAttachmentResult>
def get_private_link_attachment(environment: Optional[GetPrivateLinkAttachmentEnvironment] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateLinkAttachmentResult
def get_private_link_attachment_output(environment: Optional[pulumi.Input[GetPrivateLinkAttachmentEnvironmentArgs]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateLinkAttachmentResult]
func LookupPrivateLinkAttachment(ctx *Context, args *LookupPrivateLinkAttachmentArgs, opts ...InvokeOption) (*LookupPrivateLinkAttachmentResult, error)
func LookupPrivateLinkAttachmentOutput(ctx *Context, args *LookupPrivateLinkAttachmentOutputArgs, opts ...InvokeOption) LookupPrivateLinkAttachmentResultOutput
> Note: This function is named LookupPrivateLinkAttachment
in the Go SDK.
public static class GetPrivateLinkAttachment
{
public static Task<GetPrivateLinkAttachmentResult> InvokeAsync(GetPrivateLinkAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateLinkAttachmentResult> Invoke(GetPrivateLinkAttachmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateLinkAttachmentResult> getPrivateLinkAttachment(GetPrivateLinkAttachmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: confluentcloud:index/getPrivateLinkAttachment:getPrivateLinkAttachment
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Pulumi.
Confluent Cloud. Inputs. Get Private Link Attachment Environment - Id string
- The ID of the Private Link Attachment, for example,
platt-61ovvd
.
- Environment
Get
Private Link Attachment Environment - Id string
- The ID of the Private Link Attachment, for example,
platt-61ovvd
.
- environment
Get
Private Link Attachment Environment - id String
- The ID of the Private Link Attachment, for example,
platt-61ovvd
.
- environment
Get
Private Link Attachment Environment - id string
- The ID of the Private Link Attachment, for example,
platt-61ovvd
.
- environment
Get
Private Link Attachment Environment - id str
- The ID of the Private Link Attachment, for example,
platt-61ovvd
.
- environment Property Map
- id String
- The ID of the Private Link Attachment, for example,
platt-61ovvd
.
getPrivateLinkAttachment Result
The following output properties are available:
- Aws
List<Pulumi.
Confluent Cloud. Outputs. Get Private Link Attachment Aw> - (Optional Configuration Block) supports the following:
- Azures
List<Pulumi.
Confluent Cloud. Outputs. Get Private Link Attachment Azure> - (Optional Configuration Block) supports the following:
private_link_service_alias
- (Required String) Azure Private Link service alias for the availability zone.
- Cloud string
- (Optional String) The cloud service provider that hosts the resources to access with the Private Link Attachment.
- Display
Name string - (Optional String) The name of the Private Link Attachment.
- Dns
Domain string - (Required String) The root DNS domain for the Private Link Attachment, for example,
pr123a.us-east-2.aws.confluent.cloud
. - Environment
Pulumi.
Confluent Cloud. Outputs. Get Private Link Attachment Environment - Gcps
List<Pulumi.
Confluent Cloud. Outputs. Get Private Link Attachment Gcp> - Id string
- Region string
- (Optional String) The cloud service provider region where the resources to be accessed using the Private Link Attachment are located.
- Resource
Name string - (Required String) The Confluent Resource Name of the Private Link Attachment, for example
crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0
.
- Aws
[]Get
Private Link Attachment Aw - (Optional Configuration Block) supports the following:
- Azures
[]Get
Private Link Attachment Azure - (Optional Configuration Block) supports the following:
private_link_service_alias
- (Required String) Azure Private Link service alias for the availability zone.
- Cloud string
- (Optional String) The cloud service provider that hosts the resources to access with the Private Link Attachment.
- Display
Name string - (Optional String) The name of the Private Link Attachment.
- Dns
Domain string - (Required String) The root DNS domain for the Private Link Attachment, for example,
pr123a.us-east-2.aws.confluent.cloud
. - Environment
Get
Private Link Attachment Environment - Gcps
[]Get
Private Link Attachment Gcp - Id string
- Region string
- (Optional String) The cloud service provider region where the resources to be accessed using the Private Link Attachment are located.
- Resource
Name string - (Required String) The Confluent Resource Name of the Private Link Attachment, for example
crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0
.
- aws
List<Get
Private Link Attachment Aw> - (Optional Configuration Block) supports the following:
- azures
List<Get
Private Link Attachment Azure> - (Optional Configuration Block) supports the following:
private_link_service_alias
- (Required String) Azure Private Link service alias for the availability zone.
- cloud String
- (Optional String) The cloud service provider that hosts the resources to access with the Private Link Attachment.
- display
Name String - (Optional String) The name of the Private Link Attachment.
- dns
Domain String - (Required String) The root DNS domain for the Private Link Attachment, for example,
pr123a.us-east-2.aws.confluent.cloud
. - environment
Get
Private Link Attachment Environment - gcps
List<Get
Private Link Attachment Gcp> - id String
- region String
- (Optional String) The cloud service provider region where the resources to be accessed using the Private Link Attachment are located.
- resource
Name String - (Required String) The Confluent Resource Name of the Private Link Attachment, for example
crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0
.
- aws
Get
Private Link Attachment Aw[] - (Optional Configuration Block) supports the following:
- azures
Get
Private Link Attachment Azure[] - (Optional Configuration Block) supports the following:
private_link_service_alias
- (Required String) Azure Private Link service alias for the availability zone.
- cloud string
- (Optional String) The cloud service provider that hosts the resources to access with the Private Link Attachment.
- display
Name string - (Optional String) The name of the Private Link Attachment.
- dns
Domain string - (Required String) The root DNS domain for the Private Link Attachment, for example,
pr123a.us-east-2.aws.confluent.cloud
. - environment
Get
Private Link Attachment Environment - gcps
Get
Private Link Attachment Gcp[] - id string
- region string
- (Optional String) The cloud service provider region where the resources to be accessed using the Private Link Attachment are located.
- resource
Name string - (Required String) The Confluent Resource Name of the Private Link Attachment, for example
crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0
.
- aws
Sequence[Get
Private Link Attachment Aw] - (Optional Configuration Block) supports the following:
- azures
Sequence[Get
Private Link Attachment Azure] - (Optional Configuration Block) supports the following:
private_link_service_alias
- (Required String) Azure Private Link service alias for the availability zone.
- cloud str
- (Optional String) The cloud service provider that hosts the resources to access with the Private Link Attachment.
- display_
name str - (Optional String) The name of the Private Link Attachment.
- dns_
domain str - (Required String) The root DNS domain for the Private Link Attachment, for example,
pr123a.us-east-2.aws.confluent.cloud
. - environment
Get
Private Link Attachment Environment - gcps
Sequence[Get
Private Link Attachment Gcp] - id str
- region str
- (Optional String) The cloud service provider region where the resources to be accessed using the Private Link Attachment are located.
- resource_
name str - (Required String) The Confluent Resource Name of the Private Link Attachment, for example
crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0
.
- aws List<Property Map>
- (Optional Configuration Block) supports the following:
- azures List<Property Map>
- (Optional Configuration Block) supports the following:
private_link_service_alias
- (Required String) Azure Private Link service alias for the availability zone.
- cloud String
- (Optional String) The cloud service provider that hosts the resources to access with the Private Link Attachment.
- display
Name String - (Optional String) The name of the Private Link Attachment.
- dns
Domain String - (Required String) The root DNS domain for the Private Link Attachment, for example,
pr123a.us-east-2.aws.confluent.cloud
. - environment Property Map
- gcps List<Property Map>
- id String
- region String
- (Optional String) The cloud service provider region where the resources to be accessed using the Private Link Attachment are located.
- resource
Name String - (Required String) The Confluent Resource Name of the Private Link Attachment, for example
crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-75gxp2/private-link-attachment=platt-1q0ky0
.
Supporting Types
GetPrivateLinkAttachmentAw
- Vpc
Endpoint stringService Name - (Required String) AWS VPC Endpoint Service that can be used to establish connections for all zones, for example
com.amazonaws.vpce.us-west-2.vpce-svc-0d3be37e21708ecd3
.
- Vpc
Endpoint stringService Name - (Required String) AWS VPC Endpoint Service that can be used to establish connections for all zones, for example
com.amazonaws.vpce.us-west-2.vpce-svc-0d3be37e21708ecd3
.
- vpc
Endpoint StringService Name - (Required String) AWS VPC Endpoint Service that can be used to establish connections for all zones, for example
com.amazonaws.vpce.us-west-2.vpce-svc-0d3be37e21708ecd3
.
- vpc
Endpoint stringService Name - (Required String) AWS VPC Endpoint Service that can be used to establish connections for all zones, for example
com.amazonaws.vpce.us-west-2.vpce-svc-0d3be37e21708ecd3
.
- vpc_
endpoint_ strservice_ name - (Required String) AWS VPC Endpoint Service that can be used to establish connections for all zones, for example
com.amazonaws.vpce.us-west-2.vpce-svc-0d3be37e21708ecd3
.
- vpc
Endpoint StringService Name - (Required String) AWS VPC Endpoint Service that can be used to establish connections for all zones, for example
com.amazonaws.vpce.us-west-2.vpce-svc-0d3be37e21708ecd3
.
GetPrivateLinkAttachmentAzure
- Private
Link stringService Alias - Azure PrivateLink service alias for the availability zone.
- Private
Link stringService Resource Id - (Required String) Azure Private Link service resource id for the availability zone.
- Private
Link stringService Alias - Azure PrivateLink service alias for the availability zone.
- Private
Link stringService Resource Id - (Required String) Azure Private Link service resource id for the availability zone.
- private
Link StringService Alias - Azure PrivateLink service alias for the availability zone.
- private
Link StringService Resource Id - (Required String) Azure Private Link service resource id for the availability zone.
- private
Link stringService Alias - Azure PrivateLink service alias for the availability zone.
- private
Link stringService Resource Id - (Required String) Azure Private Link service resource id for the availability zone.
- private_
link_ strservice_ alias - Azure PrivateLink service alias for the availability zone.
- private_
link_ strservice_ resource_ id - (Required String) Azure Private Link service resource id for the availability zone.
- private
Link StringService Alias - Azure PrivateLink service alias for the availability zone.
- private
Link StringService Resource Id - (Required String) Azure Private Link service resource id for the availability zone.
GetPrivateLinkAttachmentEnvironment
- Id string
- The ID of the Environment that the Private Link Attachment belongs to, for example
env-xyz456
.
- Id string
- The ID of the Environment that the Private Link Attachment belongs to, for example
env-xyz456
.
- id String
- The ID of the Environment that the Private Link Attachment belongs to, for example
env-xyz456
.
- id string
- The ID of the Environment that the Private Link Attachment belongs to, for example
env-xyz456
.
- id str
- The ID of the Environment that the Private Link Attachment belongs to, for example
env-xyz456
.
- id String
- The ID of the Environment that the Private Link Attachment belongs to, for example
env-xyz456
.
GetPrivateLinkAttachmentGcp
- Private
Service stringConnect Service Attachment - Id of a Private Service Connect Service Attachment in Confluent Cloud.
- Zone string
- Zone associated with the PSC Service attachment.
- Private
Service stringConnect Service Attachment - Id of a Private Service Connect Service Attachment in Confluent Cloud.
- Zone string
- Zone associated with the PSC Service attachment.
- private
Service StringConnect Service Attachment - Id of a Private Service Connect Service Attachment in Confluent Cloud.
- zone String
- Zone associated with the PSC Service attachment.
- private
Service stringConnect Service Attachment - Id of a Private Service Connect Service Attachment in Confluent Cloud.
- zone string
- Zone associated with the PSC Service attachment.
- private_
service_ strconnect_ service_ attachment - Id of a Private Service Connect Service Attachment in Confluent Cloud.
- zone str
- Zone associated with the PSC Service attachment.
- private
Service StringConnect Service Attachment - Id of a Private Service Connect Service Attachment in Confluent Cloud.
- zone String
- Zone associated with the PSC Service attachment.
Package Details
- Repository
- Confluent Cloud pulumi/pulumi-confluentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
confluent
Terraform Provider.