Confluent v2.10.0 published on Wednesday, Nov 20, 2024 by Pulumi
confluentcloud.getAccessPoint
Explore with Pulumi AI
confluentcloud.AccessPoint
describes a Access Point data source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
const main = confluentcloud.getAccessPoint({
id: "ap-abc123",
environment: {
id: "env-123abc",
},
});
export const accessPoint = main;
import pulumi
import pulumi_confluentcloud as confluentcloud
main = confluentcloud.get_access_point(id="ap-abc123",
environment={
"id": "env-123abc",
})
pulumi.export("accessPoint", 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.LookupAccessPoint(ctx, &confluentcloud.LookupAccessPointArgs{
Id: "ap-abc123",
Environment: confluentcloud.GetAccessPointEnvironment{
Id: "env-123abc",
},
}, nil)
if err != nil {
return err
}
ctx.Export("accessPoint", main)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
return await Deployment.RunAsync(() =>
{
var main = ConfluentCloud.GetAccessPoint.Invoke(new()
{
Id = "ap-abc123",
Environment = new ConfluentCloud.Inputs.GetAccessPointEnvironmentInputArgs
{
Id = "env-123abc",
},
});
return new Dictionary<string, object?>
{
["accessPoint"] = 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.GetAccessPointArgs;
import com.pulumi.confluentcloud.inputs.GetAccessPointEnvironmentArgs;
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.getAccessPoint(GetAccessPointArgs.builder()
.id("ap-abc123")
.environment(GetAccessPointEnvironmentArgs.builder()
.id("env-123abc")
.build())
.build());
ctx.export("accessPoint", main.applyValue(getAccessPointResult -> getAccessPointResult));
}
}
variables:
main:
fn::invoke:
Function: confluentcloud:getAccessPoint
Arguments:
id: ap-abc123
environment:
id: env-123abc
outputs:
accessPoint: ${main}
Using getAccessPoint
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 getAccessPoint(args: GetAccessPointArgs, opts?: InvokeOptions): Promise<GetAccessPointResult>
function getAccessPointOutput(args: GetAccessPointOutputArgs, opts?: InvokeOptions): Output<GetAccessPointResult>
def get_access_point(environment: Optional[GetAccessPointEnvironment] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccessPointResult
def get_access_point_output(environment: Optional[pulumi.Input[GetAccessPointEnvironmentArgs]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccessPointResult]
func LookupAccessPoint(ctx *Context, args *LookupAccessPointArgs, opts ...InvokeOption) (*LookupAccessPointResult, error)
func LookupAccessPointOutput(ctx *Context, args *LookupAccessPointOutputArgs, opts ...InvokeOption) LookupAccessPointResultOutput
> Note: This function is named LookupAccessPoint
in the Go SDK.
public static class GetAccessPoint
{
public static Task<GetAccessPointResult> InvokeAsync(GetAccessPointArgs args, InvokeOptions? opts = null)
public static Output<GetAccessPointResult> Invoke(GetAccessPointInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccessPointResult> getAccessPoint(GetAccessPointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: confluentcloud:index/getAccessPoint:getAccessPoint
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Pulumi.
Confluent Cloud. Inputs. Get Access Point Environment - Id string
- The ID of the Access Point, for example,
ap-abc123
.
- Environment
Get
Access Point Environment - Id string
- The ID of the Access Point, for example,
ap-abc123
.
- environment
Get
Access Point Environment - id String
- The ID of the Access Point, for example,
ap-abc123
.
- environment
Get
Access Point Environment - id string
- The ID of the Access Point, for example,
ap-abc123
.
- environment
Get
Access Point Environment - id str
- The ID of the Access Point, for example,
ap-abc123
.
- environment Property Map
- id String
- The ID of the Access Point, for example,
ap-abc123
.
getAccessPoint Result
The following output properties are available:
- Aws
Egress List<Pulumi.Private Link Endpoints Confluent Cloud. Outputs. Get Access Point Aws Egress Private Link Endpoint> - (Optional Configuration Block) supports the following:
- Aws
Private List<Pulumi.Network Interfaces Confluent Cloud. Outputs. Get Access Point Aws Private Network Interface> - (Optional Configuration Block) Supports the following:
- Azure
Egress List<Pulumi.Private Link Endpoints Confluent Cloud. Outputs. Get Access Point Azure Egress Private Link Endpoint> - (Optional Configuration Block) supports the following:
- Display
Name string - (Required String) A human-readable name for the Access Point.
- Environment
Pulumi.
Confluent Cloud. Outputs. Get Access Point Environment - Gateways
List<Pulumi.
Confluent Cloud. Outputs. Get Access Point Gateway> - (Required Configuration Block) supports the following:
- Id string
- (Required String) The ID of the gateway to which the Access Point belongs, for example,
gw-abc123
.
- Aws
Egress []GetPrivate Link Endpoints Access Point Aws Egress Private Link Endpoint - (Optional Configuration Block) supports the following:
- Aws
Private []GetNetwork Interfaces Access Point Aws Private Network Interface - (Optional Configuration Block) Supports the following:
- Azure
Egress []GetPrivate Link Endpoints Access Point Azure Egress Private Link Endpoint - (Optional Configuration Block) supports the following:
- Display
Name string - (Required String) A human-readable name for the Access Point.
- Environment
Get
Access Point Environment - Gateways
[]Get
Access Point Gateway - (Required Configuration Block) supports the following:
- Id string
- (Required String) The ID of the gateway to which the Access Point belongs, for example,
gw-abc123
.
- aws
Egress List<GetPrivate Link Endpoints Access Point Aws Egress Private Link Endpoint> - (Optional Configuration Block) supports the following:
- aws
Private List<GetNetwork Interfaces Access Point Aws Private Network Interface> - (Optional Configuration Block) Supports the following:
- azure
Egress List<GetPrivate Link Endpoints Access Point Azure Egress Private Link Endpoint> - (Optional Configuration Block) supports the following:
- display
Name String - (Required String) A human-readable name for the Access Point.
- environment
Get
Access Point Environment - gateways
List<Get
Access Point Gateway> - (Required Configuration Block) supports the following:
- id String
- (Required String) The ID of the gateway to which the Access Point belongs, for example,
gw-abc123
.
- aws
Egress GetPrivate Link Endpoints Access Point Aws Egress Private Link Endpoint[] - (Optional Configuration Block) supports the following:
- aws
Private GetNetwork Interfaces Access Point Aws Private Network Interface[] - (Optional Configuration Block) Supports the following:
- azure
Egress GetPrivate Link Endpoints Access Point Azure Egress Private Link Endpoint[] - (Optional Configuration Block) supports the following:
- display
Name string - (Required String) A human-readable name for the Access Point.
- environment
Get
Access Point Environment - gateways
Get
Access Point Gateway[] - (Required Configuration Block) supports the following:
- id string
- (Required String) The ID of the gateway to which the Access Point belongs, for example,
gw-abc123
.
- aws_
egress_ Sequence[Getprivate_ link_ endpoints Access Point Aws Egress Private Link Endpoint] - (Optional Configuration Block) supports the following:
- aws_
private_ Sequence[Getnetwork_ interfaces Access Point Aws Private Network Interface] - (Optional Configuration Block) Supports the following:
- azure_
egress_ Sequence[Getprivate_ link_ endpoints Access Point Azure Egress Private Link Endpoint] - (Optional Configuration Block) supports the following:
- display_
name str - (Required String) A human-readable name for the Access Point.
- environment
Get
Access Point Environment - gateways
Sequence[Get
Access Point Gateway] - (Required Configuration Block) supports the following:
- id str
- (Required String) The ID of the gateway to which the Access Point belongs, for example,
gw-abc123
.
- aws
Egress List<Property Map>Private Link Endpoints - (Optional Configuration Block) supports the following:
- aws
Private List<Property Map>Network Interfaces - (Optional Configuration Block) Supports the following:
- azure
Egress List<Property Map>Private Link Endpoints - (Optional Configuration Block) supports the following:
- display
Name String - (Required String) A human-readable name for the Access Point.
- environment Property Map
- gateways List<Property Map>
- (Required Configuration Block) supports the following:
- id String
- (Required String) The ID of the gateway to which the Access Point belongs, for example,
gw-abc123
.
Supporting Types
GetAccessPointAwsEgressPrivateLinkEndpoint
- Enable
High boolAvailability - (Required Boolean) Whether a resource should be provisioned with high availability. Endpoints deployed with high availability have network interfaces deployed in multiple AZs. Defaults to
false
. - Vpc
Endpoint stringDns Name - (Required String) The DNS name of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
*.vpce-00000000000000000-abcd1234.s3.us-west-2.vpce.amazonaws.com
. - Vpc
Endpoint stringId - (Required String) The ID of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
vpce-00000000000000000
. - 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
.
- Enable
High boolAvailability - (Required Boolean) Whether a resource should be provisioned with high availability. Endpoints deployed with high availability have network interfaces deployed in multiple AZs. Defaults to
false
. - Vpc
Endpoint stringDns Name - (Required String) The DNS name of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
*.vpce-00000000000000000-abcd1234.s3.us-west-2.vpce.amazonaws.com
. - Vpc
Endpoint stringId - (Required String) The ID of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
vpce-00000000000000000
. - 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
.
- enable
High BooleanAvailability - (Required Boolean) Whether a resource should be provisioned with high availability. Endpoints deployed with high availability have network interfaces deployed in multiple AZs. Defaults to
false
. - vpc
Endpoint StringDns Name - (Required String) The DNS name of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
*.vpce-00000000000000000-abcd1234.s3.us-west-2.vpce.amazonaws.com
. - vpc
Endpoint StringId - (Required String) The ID of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
vpce-00000000000000000
. - 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
.
- enable
High booleanAvailability - (Required Boolean) Whether a resource should be provisioned with high availability. Endpoints deployed with high availability have network interfaces deployed in multiple AZs. Defaults to
false
. - vpc
Endpoint stringDns Name - (Required String) The DNS name of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
*.vpce-00000000000000000-abcd1234.s3.us-west-2.vpce.amazonaws.com
. - vpc
Endpoint stringId - (Required String) The ID of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
vpce-00000000000000000
. - 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
.
- enable_
high_ boolavailability - (Required Boolean) Whether a resource should be provisioned with high availability. Endpoints deployed with high availability have network interfaces deployed in multiple AZs. Defaults to
false
. - vpc_
endpoint_ strdns_ name - (Required String) The DNS name of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
*.vpce-00000000000000000-abcd1234.s3.us-west-2.vpce.amazonaws.com
. - vpc_
endpoint_ strid - (Required String) The ID of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
vpce-00000000000000000
. - 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
.
- enable
High BooleanAvailability - (Required Boolean) Whether a resource should be provisioned with high availability. Endpoints deployed with high availability have network interfaces deployed in multiple AZs. Defaults to
false
. - vpc
Endpoint StringDns Name - (Required String) The DNS name of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
*.vpce-00000000000000000-abcd1234.s3.us-west-2.vpce.amazonaws.com
. - vpc
Endpoint StringId - (Required String) The ID of a VPC Endpoint (if any) that is connected to the VPC Endpoint service, for example,
vpce-00000000000000000
. - 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
.
GetAccessPointAwsPrivateNetworkInterface
- Account string
- (Required String) The AWS account ID associated with the ENIs you are using for the Confluent Private Network Interface, for example:
000000000000
. - Network
Interfaces List<string> - (Required List of Strings) List of the IDs of the Elastic Network Interfaces, for example:
["eni-00000000000000000", "eni-00000000000000001", "eni-00000000000000002", "eni-00000000000000003", "eni-00000000000000004", "eni-00000000000000005"]
- Account string
- (Required String) The AWS account ID associated with the ENIs you are using for the Confluent Private Network Interface, for example:
000000000000
. - Network
Interfaces []string - (Required List of Strings) List of the IDs of the Elastic Network Interfaces, for example:
["eni-00000000000000000", "eni-00000000000000001", "eni-00000000000000002", "eni-00000000000000003", "eni-00000000000000004", "eni-00000000000000005"]
- account String
- (Required String) The AWS account ID associated with the ENIs you are using for the Confluent Private Network Interface, for example:
000000000000
. - network
Interfaces List<String> - (Required List of Strings) List of the IDs of the Elastic Network Interfaces, for example:
["eni-00000000000000000", "eni-00000000000000001", "eni-00000000000000002", "eni-00000000000000003", "eni-00000000000000004", "eni-00000000000000005"]
- account string
- (Required String) The AWS account ID associated with the ENIs you are using for the Confluent Private Network Interface, for example:
000000000000
. - network
Interfaces string[] - (Required List of Strings) List of the IDs of the Elastic Network Interfaces, for example:
["eni-00000000000000000", "eni-00000000000000001", "eni-00000000000000002", "eni-00000000000000003", "eni-00000000000000004", "eni-00000000000000005"]
- account str
- (Required String) The AWS account ID associated with the ENIs you are using for the Confluent Private Network Interface, for example:
000000000000
. - network_
interfaces Sequence[str] - (Required List of Strings) List of the IDs of the Elastic Network Interfaces, for example:
["eni-00000000000000000", "eni-00000000000000001", "eni-00000000000000002", "eni-00000000000000003", "eni-00000000000000004", "eni-00000000000000005"]
- account String
- (Required String) The AWS account ID associated with the ENIs you are using for the Confluent Private Network Interface, for example:
000000000000
. - network
Interfaces List<String> - (Required List of Strings) List of the IDs of the Elastic Network Interfaces, for example:
["eni-00000000000000000", "eni-00000000000000001", "eni-00000000000000002", "eni-00000000000000003", "eni-00000000000000004", "eni-00000000000000005"]
GetAccessPointAzureEgressPrivateLinkEndpoint
- Private
Endpoint List<string>Custom Dns Config Domains - (Required List of Strings) Domains of the Private Endpoint (if any) based off FQDNs in Azure custom DNS configs, which are required in your private DNS setup, for example:
["dbname.database.windows.net", "dbname-region.database.windows.net"]
. - Private
Endpoint stringDomain - (Required String) Domain of the Private Endpoint (if any) that is connected to the Private Link service.
- Private
Endpoint stringIp Address - (Required String) IP address of the Private Endpoint (if any) that is connected to the Private Link service.
- Private
Endpoint stringResource Id - (Required String) Resource ID of the Private Endpoint (if any) that is connected to the Private Link service.
- Private
Link stringService Resource Id - (Required String) Resource ID of the Azure Private Link service.
- Private
Link stringSubresource Name - (Required String) Name of the subresource for the Private Endpoint to connect to.
- Private
Endpoint []stringCustom Dns Config Domains - (Required List of Strings) Domains of the Private Endpoint (if any) based off FQDNs in Azure custom DNS configs, which are required in your private DNS setup, for example:
["dbname.database.windows.net", "dbname-region.database.windows.net"]
. - Private
Endpoint stringDomain - (Required String) Domain of the Private Endpoint (if any) that is connected to the Private Link service.
- Private
Endpoint stringIp Address - (Required String) IP address of the Private Endpoint (if any) that is connected to the Private Link service.
- Private
Endpoint stringResource Id - (Required String) Resource ID of the Private Endpoint (if any) that is connected to the Private Link service.
- Private
Link stringService Resource Id - (Required String) Resource ID of the Azure Private Link service.
- Private
Link stringSubresource Name - (Required String) Name of the subresource for the Private Endpoint to connect to.
- private
Endpoint List<String>Custom Dns Config Domains - (Required List of Strings) Domains of the Private Endpoint (if any) based off FQDNs in Azure custom DNS configs, which are required in your private DNS setup, for example:
["dbname.database.windows.net", "dbname-region.database.windows.net"]
. - private
Endpoint StringDomain - (Required String) Domain of the Private Endpoint (if any) that is connected to the Private Link service.
- private
Endpoint StringIp Address - (Required String) IP address of the Private Endpoint (if any) that is connected to the Private Link service.
- private
Endpoint StringResource Id - (Required String) Resource ID of the Private Endpoint (if any) that is connected to the Private Link service.
- private
Link StringService Resource Id - (Required String) Resource ID of the Azure Private Link service.
- private
Link StringSubresource Name - (Required String) Name of the subresource for the Private Endpoint to connect to.
- private
Endpoint string[]Custom Dns Config Domains - (Required List of Strings) Domains of the Private Endpoint (if any) based off FQDNs in Azure custom DNS configs, which are required in your private DNS setup, for example:
["dbname.database.windows.net", "dbname-region.database.windows.net"]
. - private
Endpoint stringDomain - (Required String) Domain of the Private Endpoint (if any) that is connected to the Private Link service.
- private
Endpoint stringIp Address - (Required String) IP address of the Private Endpoint (if any) that is connected to the Private Link service.
- private
Endpoint stringResource Id - (Required String) Resource ID of the Private Endpoint (if any) that is connected to the Private Link service.
- private
Link stringService Resource Id - (Required String) Resource ID of the Azure Private Link service.
- private
Link stringSubresource Name - (Required String) Name of the subresource for the Private Endpoint to connect to.
- private_
endpoint_ Sequence[str]custom_ dns_ config_ domains - (Required List of Strings) Domains of the Private Endpoint (if any) based off FQDNs in Azure custom DNS configs, which are required in your private DNS setup, for example:
["dbname.database.windows.net", "dbname-region.database.windows.net"]
. - private_
endpoint_ strdomain - (Required String) Domain of the Private Endpoint (if any) that is connected to the Private Link service.
- private_
endpoint_ strip_ address - (Required String) IP address of the Private Endpoint (if any) that is connected to the Private Link service.
- private_
endpoint_ strresource_ id - (Required String) Resource ID of the Private Endpoint (if any) that is connected to the Private Link service.
- private_
link_ strservice_ resource_ id - (Required String) Resource ID of the Azure Private Link service.
- private_
link_ strsubresource_ name - (Required String) Name of the subresource for the Private Endpoint to connect to.
- private
Endpoint List<String>Custom Dns Config Domains - (Required List of Strings) Domains of the Private Endpoint (if any) based off FQDNs in Azure custom DNS configs, which are required in your private DNS setup, for example:
["dbname.database.windows.net", "dbname-region.database.windows.net"]
. - private
Endpoint StringDomain - (Required String) Domain of the Private Endpoint (if any) that is connected to the Private Link service.
- private
Endpoint StringIp Address - (Required String) IP address of the Private Endpoint (if any) that is connected to the Private Link service.
- private
Endpoint StringResource Id - (Required String) Resource ID of the Private Endpoint (if any) that is connected to the Private Link service.
- private
Link StringService Resource Id - (Required String) Resource ID of the Azure Private Link service.
- private
Link StringSubresource Name - (Required String) Name of the subresource for the Private Endpoint to connect to.
GetAccessPointEnvironment
- Id string
- The ID of the Environment that the Access Point belongs to, for example,
env-123abc
.
- Id string
- The ID of the Environment that the Access Point belongs to, for example,
env-123abc
.
- id String
- The ID of the Environment that the Access Point belongs to, for example,
env-123abc
.
- id string
- The ID of the Environment that the Access Point belongs to, for example,
env-123abc
.
- id str
- The ID of the Environment that the Access Point belongs to, for example,
env-123abc
.
- id String
- The ID of the Environment that the Access Point belongs to, for example,
env-123abc
.
GetAccessPointGateway
- Id string
- The ID of the Access Point, for example,
ap-abc123
.
- Id string
- The ID of the Access Point, for example,
ap-abc123
.
- id String
- The ID of the Access Point, for example,
ap-abc123
.
- id string
- The ID of the Access Point, for example,
ap-abc123
.
- id str
- The ID of the Access Point, for example,
ap-abc123
.
- id String
- The ID of the Access Point, for example,
ap-abc123
.
Package Details
- Repository
- Confluent Cloud pulumi/pulumi-confluentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
confluent
Terraform Provider.