Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws.msk.getBootstrapBrokers
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
Get a list of brokers that a client application can use to bootstrap.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.msk.getBootstrapBrokers({
clusterArn: exampleAwsMskCluster.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.msk.get_bootstrap_brokers(cluster_arn=example_aws_msk_cluster["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/msk"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := msk.GetBootstrapBrokers(ctx, &msk.GetBootstrapBrokersArgs{
ClusterArn: exampleAwsMskCluster.Arn,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Msk.GetBootstrapBrokers.Invoke(new()
{
ClusterArn = exampleAwsMskCluster.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.msk.MskFunctions;
import com.pulumi.aws.msk.inputs.GetBootstrapBrokersArgs;
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 example = MskFunctions.getBootstrapBrokers(GetBootstrapBrokersArgs.builder()
.clusterArn(exampleAwsMskCluster.arn())
.build());
}
}
variables:
example:
fn::invoke:
Function: aws:msk:getBootstrapBrokers
Arguments:
clusterArn: ${exampleAwsMskCluster.arn}
Using getBootstrapBrokers
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 getBootstrapBrokers(args: GetBootstrapBrokersArgs, opts?: InvokeOptions): Promise<GetBootstrapBrokersResult>
function getBootstrapBrokersOutput(args: GetBootstrapBrokersOutputArgs, opts?: InvokeOptions): Output<GetBootstrapBrokersResult>
def get_bootstrap_brokers(cluster_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBootstrapBrokersResult
def get_bootstrap_brokers_output(cluster_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBootstrapBrokersResult]
func GetBootstrapBrokers(ctx *Context, args *GetBootstrapBrokersArgs, opts ...InvokeOption) (*GetBootstrapBrokersResult, error)
func GetBootstrapBrokersOutput(ctx *Context, args *GetBootstrapBrokersOutputArgs, opts ...InvokeOption) GetBootstrapBrokersResultOutput
> Note: This function is named GetBootstrapBrokers
in the Go SDK.
public static class GetBootstrapBrokers
{
public static Task<GetBootstrapBrokersResult> InvokeAsync(GetBootstrapBrokersArgs args, InvokeOptions? opts = null)
public static Output<GetBootstrapBrokersResult> Invoke(GetBootstrapBrokersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBootstrapBrokersResult> getBootstrapBrokers(GetBootstrapBrokersArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:msk/getBootstrapBrokers:getBootstrapBrokers
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Arn string - ARN of the cluster the nodes belong to.
- Cluster
Arn string - ARN of the cluster the nodes belong to.
- cluster
Arn String - ARN of the cluster the nodes belong to.
- cluster
Arn string - ARN of the cluster the nodes belong to.
- cluster_
arn str - ARN of the cluster the nodes belong to.
- cluster
Arn String - ARN of the cluster the nodes belong to.
getBootstrapBrokers Result
The following output properties are available:
- Bootstrap
Brokers string - Comma separated list of one or more hostname:port pairs of kafka brokers suitable to bootstrap connectivity to the kafka cluster.
- Bootstrap
Brokers stringPublic Sasl Iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- Bootstrap
Brokers stringPublic Sasl Scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- Bootstrap
Brokers stringPublic Tls - One or more DNS names (or IP addresses) and TLS port pairs.
- Bootstrap
Brokers stringSasl Iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- Bootstrap
Brokers stringSasl Scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- Bootstrap
Brokers stringTls - One or more DNS names (or IP addresses) and TLS port pairs.
- Bootstrap
Brokers stringVpc Connectivity Sasl Iam - A string containing one or more DNS names (or IP addresses) and SASL IAM port pairs for VPC connectivity.
- Bootstrap
Brokers stringVpc Connectivity Sasl Scram - A string containing one or more DNS names (or IP addresses) and SASL SCRAM port pairs for VPC connectivity.
- Bootstrap
Brokers stringVpc Connectivity Tls - A string containing one or more DNS names (or IP addresses) and TLS port pairs for VPC connectivity.
- Cluster
Arn string - Id string
- The provider-assigned unique ID for this managed resource.
- Bootstrap
Brokers string - Comma separated list of one or more hostname:port pairs of kafka brokers suitable to bootstrap connectivity to the kafka cluster.
- Bootstrap
Brokers stringPublic Sasl Iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- Bootstrap
Brokers stringPublic Sasl Scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- Bootstrap
Brokers stringPublic Tls - One or more DNS names (or IP addresses) and TLS port pairs.
- Bootstrap
Brokers stringSasl Iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- Bootstrap
Brokers stringSasl Scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- Bootstrap
Brokers stringTls - One or more DNS names (or IP addresses) and TLS port pairs.
- Bootstrap
Brokers stringVpc Connectivity Sasl Iam - A string containing one or more DNS names (or IP addresses) and SASL IAM port pairs for VPC connectivity.
- Bootstrap
Brokers stringVpc Connectivity Sasl Scram - A string containing one or more DNS names (or IP addresses) and SASL SCRAM port pairs for VPC connectivity.
- Bootstrap
Brokers stringVpc Connectivity Tls - A string containing one or more DNS names (or IP addresses) and TLS port pairs for VPC connectivity.
- Cluster
Arn string - Id string
- The provider-assigned unique ID for this managed resource.
- bootstrap
Brokers String - Comma separated list of one or more hostname:port pairs of kafka brokers suitable to bootstrap connectivity to the kafka cluster.
- bootstrap
Brokers StringPublic Sasl Iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- bootstrap
Brokers StringPublic Sasl Scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- bootstrap
Brokers StringPublic Tls - One or more DNS names (or IP addresses) and TLS port pairs.
- bootstrap
Brokers StringSasl Iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- bootstrap
Brokers StringSasl Scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- bootstrap
Brokers StringTls - One or more DNS names (or IP addresses) and TLS port pairs.
- bootstrap
Brokers StringVpc Connectivity Sasl Iam - A string containing one or more DNS names (or IP addresses) and SASL IAM port pairs for VPC connectivity.
- bootstrap
Brokers StringVpc Connectivity Sasl Scram - A string containing one or more DNS names (or IP addresses) and SASL SCRAM port pairs for VPC connectivity.
- bootstrap
Brokers StringVpc Connectivity Tls - A string containing one or more DNS names (or IP addresses) and TLS port pairs for VPC connectivity.
- cluster
Arn String - id String
- The provider-assigned unique ID for this managed resource.
- bootstrap
Brokers string - Comma separated list of one or more hostname:port pairs of kafka brokers suitable to bootstrap connectivity to the kafka cluster.
- bootstrap
Brokers stringPublic Sasl Iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- bootstrap
Brokers stringPublic Sasl Scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- bootstrap
Brokers stringPublic Tls - One or more DNS names (or IP addresses) and TLS port pairs.
- bootstrap
Brokers stringSasl Iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- bootstrap
Brokers stringSasl Scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- bootstrap
Brokers stringTls - One or more DNS names (or IP addresses) and TLS port pairs.
- bootstrap
Brokers stringVpc Connectivity Sasl Iam - A string containing one or more DNS names (or IP addresses) and SASL IAM port pairs for VPC connectivity.
- bootstrap
Brokers stringVpc Connectivity Sasl Scram - A string containing one or more DNS names (or IP addresses) and SASL SCRAM port pairs for VPC connectivity.
- bootstrap
Brokers stringVpc Connectivity Tls - A string containing one or more DNS names (or IP addresses) and TLS port pairs for VPC connectivity.
- cluster
Arn string - id string
- The provider-assigned unique ID for this managed resource.
- bootstrap_
brokers str - Comma separated list of one or more hostname:port pairs of kafka brokers suitable to bootstrap connectivity to the kafka cluster.
- bootstrap_
brokers_ strpublic_ sasl_ iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- bootstrap_
brokers_ strpublic_ sasl_ scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- bootstrap_
brokers_ strpublic_ tls - One or more DNS names (or IP addresses) and TLS port pairs.
- bootstrap_
brokers_ strsasl_ iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- bootstrap_
brokers_ strsasl_ scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- bootstrap_
brokers_ strtls - One or more DNS names (or IP addresses) and TLS port pairs.
- bootstrap_
brokers_ strvpc_ connectivity_ sasl_ iam - A string containing one or more DNS names (or IP addresses) and SASL IAM port pairs for VPC connectivity.
- bootstrap_
brokers_ strvpc_ connectivity_ sasl_ scram - A string containing one or more DNS names (or IP addresses) and SASL SCRAM port pairs for VPC connectivity.
- bootstrap_
brokers_ strvpc_ connectivity_ tls - A string containing one or more DNS names (or IP addresses) and TLS port pairs for VPC connectivity.
- cluster_
arn str - id str
- The provider-assigned unique ID for this managed resource.
- bootstrap
Brokers String - Comma separated list of one or more hostname:port pairs of kafka brokers suitable to bootstrap connectivity to the kafka cluster.
- bootstrap
Brokers StringPublic Sasl Iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- bootstrap
Brokers StringPublic Sasl Scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- bootstrap
Brokers StringPublic Tls - One or more DNS names (or IP addresses) and TLS port pairs.
- bootstrap
Brokers StringSasl Iam - One or more DNS names (or IP addresses) and SASL IAM port pairs.
- bootstrap
Brokers StringSasl Scram - One or more DNS names (or IP addresses) and SASL SCRAM port pairs.
- bootstrap
Brokers StringTls - One or more DNS names (or IP addresses) and TLS port pairs.
- bootstrap
Brokers StringVpc Connectivity Sasl Iam - A string containing one or more DNS names (or IP addresses) and SASL IAM port pairs for VPC connectivity.
- bootstrap
Brokers StringVpc Connectivity Sasl Scram - A string containing one or more DNS names (or IP addresses) and SASL SCRAM port pairs for VPC connectivity.
- bootstrap
Brokers StringVpc Connectivity Tls - A string containing one or more DNS names (or IP addresses) and TLS port pairs for VPC connectivity.
- cluster
Arn String - id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi