1. Packages
  2. Confluent Cloud
  3. API Docs
  4. PrivateLinkAttachmentConnection
Confluent v1.46.0 published on Friday, May 10, 2024 by Pulumi

confluentcloud.PrivateLinkAttachmentConnection

Explore with Pulumi AI

confluentcloud logo
Confluent v1.46.0 published on Friday, May 10, 2024 by Pulumi

    General Availability

    confluentcloud.PrivateLinkAttachmentConnection provides a Private Link Attachment Connection resource that enables creating, editing, and deleting Private Link Attachment Connections on Confluent Cloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as confluentcloud from "@pulumi/confluentcloud";
    
    const aws = new confluentcloud.PrivateLinkAttachmentConnection("aws", {
        displayName: "my_endpoint",
        environment: {
            id: "env-8gv0v5",
        },
        aws: {
            vpcEndpointId: "vpce-0ed4d51f5d6ef9b6d",
        },
        privateLinkAttachment: {
            id: "platt-plyvyl",
        },
    });
    const azure = new confluentcloud.PrivateLinkAttachmentConnection("azure", {
        displayName: "prod-azure-central-us-az1-connection",
        environment: {
            id: "env-12345",
        },
        azure: {
            privateEndpointResourceId: "/subscriptions/123aaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/resourceGroups/testvpc/providers/Microsoft.Network/privateEndpoints/pe-platt-abcdef-az1",
        },
        privateLinkAttachment: {
            id: "platt-abcdef",
        },
    });
    export const privateLinkAttachmentConnection = aws;
    
    import pulumi
    import pulumi_confluentcloud as confluentcloud
    
    aws = confluentcloud.PrivateLinkAttachmentConnection("aws",
        display_name="my_endpoint",
        environment=confluentcloud.PrivateLinkAttachmentConnectionEnvironmentArgs(
            id="env-8gv0v5",
        ),
        aws=confluentcloud.PrivateLinkAttachmentConnectionAwsArgs(
            vpc_endpoint_id="vpce-0ed4d51f5d6ef9b6d",
        ),
        private_link_attachment=confluentcloud.PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs(
            id="platt-plyvyl",
        ))
    azure = confluentcloud.PrivateLinkAttachmentConnection("azure",
        display_name="prod-azure-central-us-az1-connection",
        environment=confluentcloud.PrivateLinkAttachmentConnectionEnvironmentArgs(
            id="env-12345",
        ),
        azure=confluentcloud.PrivateLinkAttachmentConnectionAzureArgs(
            private_endpoint_resource_id="/subscriptions/123aaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/resourceGroups/testvpc/providers/Microsoft.Network/privateEndpoints/pe-platt-abcdef-az1",
        ),
        private_link_attachment=confluentcloud.PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs(
            id="platt-abcdef",
        ))
    pulumi.export("privateLinkAttachmentConnection", aws)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		aws, err := confluentcloud.NewPrivateLinkAttachmentConnection(ctx, "aws", &confluentcloud.PrivateLinkAttachmentConnectionArgs{
    			DisplayName: pulumi.String("my_endpoint"),
    			Environment: &confluentcloud.PrivateLinkAttachmentConnectionEnvironmentArgs{
    				Id: pulumi.String("env-8gv0v5"),
    			},
    			Aws: &confluentcloud.PrivateLinkAttachmentConnectionAwsArgs{
    				VpcEndpointId: pulumi.String("vpce-0ed4d51f5d6ef9b6d"),
    			},
    			PrivateLinkAttachment: &confluentcloud.PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs{
    				Id: pulumi.String("platt-plyvyl"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = confluentcloud.NewPrivateLinkAttachmentConnection(ctx, "azure", &confluentcloud.PrivateLinkAttachmentConnectionArgs{
    			DisplayName: pulumi.String("prod-azure-central-us-az1-connection"),
    			Environment: &confluentcloud.PrivateLinkAttachmentConnectionEnvironmentArgs{
    				Id: pulumi.String("env-12345"),
    			},
    			Azure: &confluentcloud.PrivateLinkAttachmentConnectionAzureArgs{
    				PrivateEndpointResourceId: pulumi.String("/subscriptions/123aaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/resourceGroups/testvpc/providers/Microsoft.Network/privateEndpoints/pe-platt-abcdef-az1"),
    			},
    			PrivateLinkAttachment: &confluentcloud.PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs{
    				Id: pulumi.String("platt-abcdef"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("privateLinkAttachmentConnection", aws)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ConfluentCloud = Pulumi.ConfluentCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var aws = new ConfluentCloud.PrivateLinkAttachmentConnection("aws", new()
        {
            DisplayName = "my_endpoint",
            Environment = new ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionEnvironmentArgs
            {
                Id = "env-8gv0v5",
            },
            Aws = new ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionAwsArgs
            {
                VpcEndpointId = "vpce-0ed4d51f5d6ef9b6d",
            },
            PrivateLinkAttachment = new ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs
            {
                Id = "platt-plyvyl",
            },
        });
    
        var azure = new ConfluentCloud.PrivateLinkAttachmentConnection("azure", new()
        {
            DisplayName = "prod-azure-central-us-az1-connection",
            Environment = new ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionEnvironmentArgs
            {
                Id = "env-12345",
            },
            Azure = new ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionAzureArgs
            {
                PrivateEndpointResourceId = "/subscriptions/123aaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/resourceGroups/testvpc/providers/Microsoft.Network/privateEndpoints/pe-platt-abcdef-az1",
            },
            PrivateLinkAttachment = new ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs
            {
                Id = "platt-abcdef",
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["privateLinkAttachmentConnection"] = aws,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.confluentcloud.PrivateLinkAttachmentConnection;
    import com.pulumi.confluentcloud.PrivateLinkAttachmentConnectionArgs;
    import com.pulumi.confluentcloud.inputs.PrivateLinkAttachmentConnectionEnvironmentArgs;
    import com.pulumi.confluentcloud.inputs.PrivateLinkAttachmentConnectionAwsArgs;
    import com.pulumi.confluentcloud.inputs.PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs;
    import com.pulumi.confluentcloud.inputs.PrivateLinkAttachmentConnectionAzureArgs;
    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) {
            var aws = new PrivateLinkAttachmentConnection("aws", PrivateLinkAttachmentConnectionArgs.builder()        
                .displayName("my_endpoint")
                .environment(PrivateLinkAttachmentConnectionEnvironmentArgs.builder()
                    .id("env-8gv0v5")
                    .build())
                .aws(PrivateLinkAttachmentConnectionAwsArgs.builder()
                    .vpcEndpointId("vpce-0ed4d51f5d6ef9b6d")
                    .build())
                .privateLinkAttachment(PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs.builder()
                    .id("platt-plyvyl")
                    .build())
                .build());
    
            var azure = new PrivateLinkAttachmentConnection("azure", PrivateLinkAttachmentConnectionArgs.builder()        
                .displayName("prod-azure-central-us-az1-connection")
                .environment(PrivateLinkAttachmentConnectionEnvironmentArgs.builder()
                    .id("env-12345")
                    .build())
                .azure(PrivateLinkAttachmentConnectionAzureArgs.builder()
                    .privateEndpointResourceId("/subscriptions/123aaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/resourceGroups/testvpc/providers/Microsoft.Network/privateEndpoints/pe-platt-abcdef-az1")
                    .build())
                .privateLinkAttachment(PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs.builder()
                    .id("platt-abcdef")
                    .build())
                .build());
    
            ctx.export("privateLinkAttachmentConnection", aws);
        }
    }
    
    resources:
      aws:
        type: confluentcloud:PrivateLinkAttachmentConnection
        properties:
          displayName: my_endpoint
          environment:
            id: env-8gv0v5
          aws:
            vpcEndpointId: vpce-0ed4d51f5d6ef9b6d
          privateLinkAttachment:
            id: platt-plyvyl
      azure:
        type: confluentcloud:PrivateLinkAttachmentConnection
        properties:
          displayName: prod-azure-central-us-az1-connection
          environment:
            id: env-12345
          azure:
            privateEndpointResourceId: /subscriptions/123aaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/resourceGroups/testvpc/providers/Microsoft.Network/privateEndpoints/pe-platt-abcdef-az1
          privateLinkAttachment:
            id: platt-abcdef
    outputs:
      privateLinkAttachmentConnection: ${aws}
    

    Getting Started

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

    • 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

    Create PrivateLinkAttachmentConnection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PrivateLinkAttachmentConnection(name: string, args: PrivateLinkAttachmentConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def PrivateLinkAttachmentConnection(resource_name: str,
                                        args: PrivateLinkAttachmentConnectionArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def PrivateLinkAttachmentConnection(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        environment: Optional[PrivateLinkAttachmentConnectionEnvironmentArgs] = None,
                                        private_link_attachment: Optional[PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs] = None,
                                        aws: Optional[PrivateLinkAttachmentConnectionAwsArgs] = None,
                                        azure: Optional[PrivateLinkAttachmentConnectionAzureArgs] = None,
                                        display_name: Optional[str] = None,
                                        gcp: Optional[PrivateLinkAttachmentConnectionGcpArgs] = None)
    func NewPrivateLinkAttachmentConnection(ctx *Context, name string, args PrivateLinkAttachmentConnectionArgs, opts ...ResourceOption) (*PrivateLinkAttachmentConnection, error)
    public PrivateLinkAttachmentConnection(string name, PrivateLinkAttachmentConnectionArgs args, CustomResourceOptions? opts = null)
    public PrivateLinkAttachmentConnection(String name, PrivateLinkAttachmentConnectionArgs args)
    public PrivateLinkAttachmentConnection(String name, PrivateLinkAttachmentConnectionArgs args, CustomResourceOptions options)
    
    type: confluentcloud:PrivateLinkAttachmentConnection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PrivateLinkAttachmentConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PrivateLinkAttachmentConnectionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PrivateLinkAttachmentConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrivateLinkAttachmentConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PrivateLinkAttachmentConnectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var privateLinkAttachmentConnectionResource = new ConfluentCloud.PrivateLinkAttachmentConnection("privateLinkAttachmentConnectionResource", new()
    {
        Environment = new ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionEnvironmentArgs
        {
            Id = "string",
        },
        PrivateLinkAttachment = new ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs
        {
            Id = "string",
        },
        Aws = new ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionAwsArgs
        {
            VpcEndpointId = "string",
        },
        Azure = new ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionAzureArgs
        {
            PrivateEndpointResourceId = "string",
        },
        DisplayName = "string",
        Gcp = new ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionGcpArgs
        {
            PrivateServiceConnectConnectionId = "string",
        },
    });
    
    example, err := confluentcloud.NewPrivateLinkAttachmentConnection(ctx, "privateLinkAttachmentConnectionResource", &confluentcloud.PrivateLinkAttachmentConnectionArgs{
    	Environment: &confluentcloud.PrivateLinkAttachmentConnectionEnvironmentArgs{
    		Id: pulumi.String("string"),
    	},
    	PrivateLinkAttachment: &confluentcloud.PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs{
    		Id: pulumi.String("string"),
    	},
    	Aws: &confluentcloud.PrivateLinkAttachmentConnectionAwsArgs{
    		VpcEndpointId: pulumi.String("string"),
    	},
    	Azure: &confluentcloud.PrivateLinkAttachmentConnectionAzureArgs{
    		PrivateEndpointResourceId: pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	Gcp: &confluentcloud.PrivateLinkAttachmentConnectionGcpArgs{
    		PrivateServiceConnectConnectionId: pulumi.String("string"),
    	},
    })
    
    var privateLinkAttachmentConnectionResource = new PrivateLinkAttachmentConnection("privateLinkAttachmentConnectionResource", PrivateLinkAttachmentConnectionArgs.builder()
        .environment(PrivateLinkAttachmentConnectionEnvironmentArgs.builder()
            .id("string")
            .build())
        .privateLinkAttachment(PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs.builder()
            .id("string")
            .build())
        .aws(PrivateLinkAttachmentConnectionAwsArgs.builder()
            .vpcEndpointId("string")
            .build())
        .azure(PrivateLinkAttachmentConnectionAzureArgs.builder()
            .privateEndpointResourceId("string")
            .build())
        .displayName("string")
        .gcp(PrivateLinkAttachmentConnectionGcpArgs.builder()
            .privateServiceConnectConnectionId("string")
            .build())
        .build());
    
    private_link_attachment_connection_resource = confluentcloud.PrivateLinkAttachmentConnection("privateLinkAttachmentConnectionResource",
        environment=confluentcloud.PrivateLinkAttachmentConnectionEnvironmentArgs(
            id="string",
        ),
        private_link_attachment=confluentcloud.PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs(
            id="string",
        ),
        aws=confluentcloud.PrivateLinkAttachmentConnectionAwsArgs(
            vpc_endpoint_id="string",
        ),
        azure=confluentcloud.PrivateLinkAttachmentConnectionAzureArgs(
            private_endpoint_resource_id="string",
        ),
        display_name="string",
        gcp=confluentcloud.PrivateLinkAttachmentConnectionGcpArgs(
            private_service_connect_connection_id="string",
        ))
    
    const privateLinkAttachmentConnectionResource = new confluentcloud.PrivateLinkAttachmentConnection("privateLinkAttachmentConnectionResource", {
        environment: {
            id: "string",
        },
        privateLinkAttachment: {
            id: "string",
        },
        aws: {
            vpcEndpointId: "string",
        },
        azure: {
            privateEndpointResourceId: "string",
        },
        displayName: "string",
        gcp: {
            privateServiceConnectConnectionId: "string",
        },
    });
    
    type: confluentcloud:PrivateLinkAttachmentConnection
    properties:
        aws:
            vpcEndpointId: string
        azure:
            privateEndpointResourceId: string
        displayName: string
        environment:
            id: string
        gcp:
            privateServiceConnectConnectionId: string
        privateLinkAttachment:
            id: string
    

    PrivateLinkAttachmentConnection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PrivateLinkAttachmentConnection resource accepts the following input properties:

    Environment PrivateLinkAttachmentConnectionEnvironmentArgs
    Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
    PrivateLinkAttachment PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs
    The private_link_attachment to which this belongs.
    Aws PrivateLinkAttachmentConnectionAwsArgs
    Azure PrivateLinkAttachmentConnectionAzureArgs
    DisplayName string
    The name of the Private Link Attachment Connection.
    Gcp PrivateLinkAttachmentConnectionGcpArgs
    environment PrivateLinkAttachmentConnectionEnvironment
    Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
    privateLinkAttachment PrivateLinkAttachmentConnectionPrivateLinkAttachment
    The private_link_attachment to which this belongs.
    aws PrivateLinkAttachmentConnectionAws
    azure PrivateLinkAttachmentConnectionAzure
    displayName String
    The name of the Private Link Attachment Connection.
    gcp PrivateLinkAttachmentConnectionGcp
    environment PrivateLinkAttachmentConnectionEnvironment
    Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
    privateLinkAttachment PrivateLinkAttachmentConnectionPrivateLinkAttachment
    The private_link_attachment to which this belongs.
    aws PrivateLinkAttachmentConnectionAws
    azure PrivateLinkAttachmentConnectionAzure
    displayName string
    The name of the Private Link Attachment Connection.
    gcp PrivateLinkAttachmentConnectionGcp
    environment PrivateLinkAttachmentConnectionEnvironmentArgs
    Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
    private_link_attachment PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs
    The private_link_attachment to which this belongs.
    aws PrivateLinkAttachmentConnectionAwsArgs
    azure PrivateLinkAttachmentConnectionAzureArgs
    display_name str
    The name of the Private Link Attachment Connection.
    gcp PrivateLinkAttachmentConnectionGcpArgs
    environment Property Map
    Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
    privateLinkAttachment Property Map
    The private_link_attachment to which this belongs.
    aws Property Map
    azure Property Map
    displayName String
    The name of the Private Link Attachment Connection.
    gcp Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PrivateLinkAttachmentConnection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.

    Look up Existing PrivateLinkAttachmentConnection Resource

    Get an existing PrivateLinkAttachmentConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PrivateLinkAttachmentConnectionState, opts?: CustomResourceOptions): PrivateLinkAttachmentConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aws: Optional[PrivateLinkAttachmentConnectionAwsArgs] = None,
            azure: Optional[PrivateLinkAttachmentConnectionAzureArgs] = None,
            display_name: Optional[str] = None,
            environment: Optional[PrivateLinkAttachmentConnectionEnvironmentArgs] = None,
            gcp: Optional[PrivateLinkAttachmentConnectionGcpArgs] = None,
            private_link_attachment: Optional[PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs] = None,
            resource_name: Optional[str] = None) -> PrivateLinkAttachmentConnection
    func GetPrivateLinkAttachmentConnection(ctx *Context, name string, id IDInput, state *PrivateLinkAttachmentConnectionState, opts ...ResourceOption) (*PrivateLinkAttachmentConnection, error)
    public static PrivateLinkAttachmentConnection Get(string name, Input<string> id, PrivateLinkAttachmentConnectionState? state, CustomResourceOptions? opts = null)
    public static PrivateLinkAttachmentConnection get(String name, Output<String> id, PrivateLinkAttachmentConnectionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Aws Pulumi.ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionAws
    Azure Pulumi.ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionAzure
    DisplayName string
    The name of the Private Link Attachment Connection.
    Environment Pulumi.ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionEnvironment
    Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
    Gcp Pulumi.ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionGcp
    PrivateLinkAttachment Pulumi.ConfluentCloud.Inputs.PrivateLinkAttachmentConnectionPrivateLinkAttachment
    The private_link_attachment to which this belongs.
    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 PrivateLinkAttachmentConnectionAwsArgs
    Azure PrivateLinkAttachmentConnectionAzureArgs
    DisplayName string
    The name of the Private Link Attachment Connection.
    Environment PrivateLinkAttachmentConnectionEnvironmentArgs
    Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
    Gcp PrivateLinkAttachmentConnectionGcpArgs
    PrivateLinkAttachment PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs
    The private_link_attachment to which this belongs.
    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 PrivateLinkAttachmentConnectionAws
    azure PrivateLinkAttachmentConnectionAzure
    displayName String
    The name of the Private Link Attachment Connection.
    environment PrivateLinkAttachmentConnectionEnvironment
    Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
    gcp PrivateLinkAttachmentConnectionGcp
    privateLinkAttachment PrivateLinkAttachmentConnectionPrivateLinkAttachment
    The private_link_attachment to which this belongs.
    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 PrivateLinkAttachmentConnectionAws
    azure PrivateLinkAttachmentConnectionAzure
    displayName string
    The name of the Private Link Attachment Connection.
    environment PrivateLinkAttachmentConnectionEnvironment
    Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
    gcp PrivateLinkAttachmentConnectionGcp
    privateLinkAttachment PrivateLinkAttachmentConnectionPrivateLinkAttachment
    The private_link_attachment to which this belongs.
    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 PrivateLinkAttachmentConnectionAwsArgs
    azure PrivateLinkAttachmentConnectionAzureArgs
    display_name str
    The name of the Private Link Attachment Connection.
    environment PrivateLinkAttachmentConnectionEnvironmentArgs
    Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
    gcp PrivateLinkAttachmentConnectionGcpArgs
    private_link_attachment PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs
    The private_link_attachment to which this belongs.
    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 Property Map
    azure Property Map
    displayName String
    The name of the Private Link Attachment Connection.
    environment Property Map
    Environment objects represent an isolated namespace for your Confluent resources for organizational purposes.
    gcp Property Map
    privateLinkAttachment Property Map
    The private_link_attachment to which this belongs.
    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

    PrivateLinkAttachmentConnectionAws, PrivateLinkAttachmentConnectionAwsArgs

    VpcEndpointId string
    Id of a VPC Endpoint that is connected to the VPC Endpoint service.
    VpcEndpointId string
    Id of a VPC Endpoint that is connected to the VPC Endpoint service.
    vpcEndpointId String
    Id of a VPC Endpoint that is connected to the VPC Endpoint service.
    vpcEndpointId string
    Id of a VPC Endpoint that is connected to the VPC Endpoint service.
    vpc_endpoint_id str
    Id of a VPC Endpoint that is connected to the VPC Endpoint service.
    vpcEndpointId String
    Id of a VPC Endpoint that is connected to the VPC Endpoint service.

    PrivateLinkAttachmentConnectionAzure, PrivateLinkAttachmentConnectionAzureArgs

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

    PrivateLinkAttachmentConnectionEnvironment, PrivateLinkAttachmentConnectionEnvironmentArgs

    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.

    PrivateLinkAttachmentConnectionGcp, PrivateLinkAttachmentConnectionGcpArgs

    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.

    PrivateLinkAttachmentConnectionPrivateLinkAttachment, PrivateLinkAttachmentConnectionPrivateLinkAttachmentArgs

    Id string
    The unique identifier for the private link attachment.
    Id string
    The unique identifier for the private link attachment.
    id String
    The unique identifier for the private link attachment.
    id string
    The unique identifier for the private link attachment.
    id str
    The unique identifier for the private link attachment.
    id String
    The unique identifier for the private link attachment.

    Import

    You can import a Private Link Attachment Connection by using Environment ID and Private Link Attachment Connection ID, in the format <Environment ID>/<Private Link Attachment Connection ID>. The following example shows how to import a Private Link Attachment Connection:

    $ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>"

    $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>"

    $ pulumi import confluentcloud:index/privateLinkAttachmentConnection:PrivateLinkAttachmentConnection main env-abc123/plattc-abc123
    

    !> Warning: Do not forget to delete terminal command history afterwards for security purposes.

    To learn more about importing existing cloud resources, see Importing resources.

    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 v1.46.0 published on Friday, May 10, 2024 by Pulumi