All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.msk.MskFunctions Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.msk;

import com.pulumi.aws.Utilities;
import com.pulumi.aws.msk.inputs.GetBootstrapBrokersArgs;
import com.pulumi.aws.msk.inputs.GetBootstrapBrokersPlainArgs;
import com.pulumi.aws.msk.inputs.GetBrokerNodesArgs;
import com.pulumi.aws.msk.inputs.GetBrokerNodesPlainArgs;
import com.pulumi.aws.msk.inputs.GetClusterArgs;
import com.pulumi.aws.msk.inputs.GetClusterPlainArgs;
import com.pulumi.aws.msk.inputs.GetConfigurationArgs;
import com.pulumi.aws.msk.inputs.GetConfigurationPlainArgs;
import com.pulumi.aws.msk.inputs.GetKafkaVersionArgs;
import com.pulumi.aws.msk.inputs.GetKafkaVersionPlainArgs;
import com.pulumi.aws.msk.inputs.GetVpcConnectionArgs;
import com.pulumi.aws.msk.inputs.GetVpcConnectionPlainArgs;
import com.pulumi.aws.msk.outputs.GetBootstrapBrokersResult;
import com.pulumi.aws.msk.outputs.GetBrokerNodesResult;
import com.pulumi.aws.msk.outputs.GetClusterResult;
import com.pulumi.aws.msk.outputs.GetConfigurationResult;
import com.pulumi.aws.msk.outputs.GetKafkaVersionResult;
import com.pulumi.aws.msk.outputs.GetVpcConnectionResult;
import com.pulumi.core.Output;
import com.pulumi.core.TypeShape;
import com.pulumi.deployment.Deployment;
import com.pulumi.deployment.InvokeOptions;
import java.util.concurrent.CompletableFuture;

public final class MskFunctions {
    /**
     * Get a list of brokers that a client application can use to bootstrap.
     * 
     * ## Example Usage
     * 
     * <!--Start PulumiCodeChooser -->
     * 
     * {@code
     * 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());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getBootstrapBrokers(GetBootstrapBrokersArgs args) { return getBootstrapBrokers(args, InvokeOptions.Empty); } /** * Get a list of brokers that a client application can use to bootstrap. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getBootstrapBrokersPlain(GetBootstrapBrokersPlainArgs args) { return getBootstrapBrokersPlain(args, InvokeOptions.Empty); } /** * Get a list of brokers that a client application can use to bootstrap. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getBootstrapBrokers(GetBootstrapBrokersArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:msk/getBootstrapBrokers:getBootstrapBrokers", TypeShape.of(GetBootstrapBrokersResult.class), args, Utilities.withVersion(options)); } /** * Get a list of brokers that a client application can use to bootstrap. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getBootstrapBrokersPlain(GetBootstrapBrokersPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:msk/getBootstrapBrokers:getBootstrapBrokers", TypeShape.of(GetBootstrapBrokersResult.class), args, Utilities.withVersion(options)); } /** * Get information on an Amazon MSK Broker Nodes. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetBrokerNodesArgs;
     * 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.getBrokerNodes(GetBrokerNodesArgs.builder()
     *             .clusterArn(exampleAwsMskCluster.arn())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getBrokerNodes(GetBrokerNodesArgs args) { return getBrokerNodes(args, InvokeOptions.Empty); } /** * Get information on an Amazon MSK Broker Nodes. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetBrokerNodesArgs;
     * 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.getBrokerNodes(GetBrokerNodesArgs.builder()
     *             .clusterArn(exampleAwsMskCluster.arn())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getBrokerNodesPlain(GetBrokerNodesPlainArgs args) { return getBrokerNodesPlain(args, InvokeOptions.Empty); } /** * Get information on an Amazon MSK Broker Nodes. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetBrokerNodesArgs;
     * 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.getBrokerNodes(GetBrokerNodesArgs.builder()
     *             .clusterArn(exampleAwsMskCluster.arn())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getBrokerNodes(GetBrokerNodesArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:msk/getBrokerNodes:getBrokerNodes", TypeShape.of(GetBrokerNodesResult.class), args, Utilities.withVersion(options)); } /** * Get information on an Amazon MSK Broker Nodes. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetBrokerNodesArgs;
     * 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.getBrokerNodes(GetBrokerNodesArgs.builder()
     *             .clusterArn(exampleAwsMskCluster.arn())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getBrokerNodesPlain(GetBrokerNodesPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:msk/getBrokerNodes:getBrokerNodes", TypeShape.of(GetBrokerNodesResult.class), args, Utilities.withVersion(options)); } /** * Get information on an Amazon MSK Cluster. * * > **Note:** This data sources returns information on _provisioned_ clusters. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetClusterArgs;
     * 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.getCluster(GetClusterArgs.builder()
     *             .clusterName("example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getCluster(GetClusterArgs args) { return getCluster(args, InvokeOptions.Empty); } /** * Get information on an Amazon MSK Cluster. * * > **Note:** This data sources returns information on _provisioned_ clusters. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetClusterArgs;
     * 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.getCluster(GetClusterArgs.builder()
     *             .clusterName("example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getClusterPlain(GetClusterPlainArgs args) { return getClusterPlain(args, InvokeOptions.Empty); } /** * Get information on an Amazon MSK Cluster. * * > **Note:** This data sources returns information on _provisioned_ clusters. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetClusterArgs;
     * 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.getCluster(GetClusterArgs.builder()
     *             .clusterName("example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getCluster(GetClusterArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:msk/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); } /** * Get information on an Amazon MSK Cluster. * * > **Note:** This data sources returns information on _provisioned_ clusters. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetClusterArgs;
     * 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.getCluster(GetClusterArgs.builder()
     *             .clusterName("example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getClusterPlain(GetClusterPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:msk/getCluster:getCluster", TypeShape.of(GetClusterResult.class), args, Utilities.withVersion(options)); } /** * Get information on an Amazon MSK Configuration. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetConfigurationArgs;
     * 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.getConfiguration(GetConfigurationArgs.builder()
     *             .name("example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getConfiguration(GetConfigurationArgs args) { return getConfiguration(args, InvokeOptions.Empty); } /** * Get information on an Amazon MSK Configuration. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetConfigurationArgs;
     * 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.getConfiguration(GetConfigurationArgs.builder()
     *             .name("example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getConfigurationPlain(GetConfigurationPlainArgs args) { return getConfigurationPlain(args, InvokeOptions.Empty); } /** * Get information on an Amazon MSK Configuration. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetConfigurationArgs;
     * 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.getConfiguration(GetConfigurationArgs.builder()
     *             .name("example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getConfiguration(GetConfigurationArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:msk/getConfiguration:getConfiguration", TypeShape.of(GetConfigurationResult.class), args, Utilities.withVersion(options)); } /** * Get information on an Amazon MSK Configuration. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetConfigurationArgs;
     * 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.getConfiguration(GetConfigurationArgs.builder()
     *             .name("example")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getConfigurationPlain(GetConfigurationPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:msk/getConfiguration:getConfiguration", TypeShape.of(GetConfigurationResult.class), args, Utilities.withVersion(options)); } /** * Get information on a Amazon MSK Kafka Version * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetKafkaVersionArgs;
     * 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 preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .preferredVersions(            
     *                 "2.4.1.1",
     *                 "2.4.1",
     *                 "2.2.1")
     *             .build());
     * 
     *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .version("2.8.0")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getKafkaVersion() { return getKafkaVersion(GetKafkaVersionArgs.Empty, InvokeOptions.Empty); } /** * Get information on a Amazon MSK Kafka Version * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetKafkaVersionArgs;
     * 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 preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .preferredVersions(            
     *                 "2.4.1.1",
     *                 "2.4.1",
     *                 "2.2.1")
     *             .build());
     * 
     *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .version("2.8.0")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getKafkaVersionPlain() { return getKafkaVersionPlain(GetKafkaVersionPlainArgs.Empty, InvokeOptions.Empty); } /** * Get information on a Amazon MSK Kafka Version * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetKafkaVersionArgs;
     * 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 preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .preferredVersions(            
     *                 "2.4.1.1",
     *                 "2.4.1",
     *                 "2.2.1")
     *             .build());
     * 
     *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .version("2.8.0")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getKafkaVersion(GetKafkaVersionArgs args) { return getKafkaVersion(args, InvokeOptions.Empty); } /** * Get information on a Amazon MSK Kafka Version * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetKafkaVersionArgs;
     * 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 preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .preferredVersions(            
     *                 "2.4.1.1",
     *                 "2.4.1",
     *                 "2.2.1")
     *             .build());
     * 
     *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .version("2.8.0")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getKafkaVersionPlain(GetKafkaVersionPlainArgs args) { return getKafkaVersionPlain(args, InvokeOptions.Empty); } /** * Get information on a Amazon MSK Kafka Version * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetKafkaVersionArgs;
     * 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 preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .preferredVersions(            
     *                 "2.4.1.1",
     *                 "2.4.1",
     *                 "2.2.1")
     *             .build());
     * 
     *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .version("2.8.0")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getKafkaVersion(GetKafkaVersionArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:msk/getKafkaVersion:getKafkaVersion", TypeShape.of(GetKafkaVersionResult.class), args, Utilities.withVersion(options)); } /** * Get information on a Amazon MSK Kafka Version * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetKafkaVersionArgs;
     * 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 preferred = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .preferredVersions(            
     *                 "2.4.1.1",
     *                 "2.4.1",
     *                 "2.2.1")
     *             .build());
     * 
     *         final var example = MskFunctions.getKafkaVersion(GetKafkaVersionArgs.builder()
     *             .version("2.8.0")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getKafkaVersionPlain(GetKafkaVersionPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:msk/getKafkaVersion:getKafkaVersion", TypeShape.of(GetKafkaVersionResult.class), args, Utilities.withVersion(options)); } /** * Get information on an Amazon MSK VPC Connection. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetVpcConnectionArgs;
     * 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.getVpcConnection(GetVpcConnectionArgs.builder()
     *             .arn(exampleAwsMskVpcConnection.arn())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getVpcConnection(GetVpcConnectionArgs args) { return getVpcConnection(args, InvokeOptions.Empty); } /** * Get information on an Amazon MSK VPC Connection. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetVpcConnectionArgs;
     * 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.getVpcConnection(GetVpcConnectionArgs.builder()
     *             .arn(exampleAwsMskVpcConnection.arn())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getVpcConnectionPlain(GetVpcConnectionPlainArgs args) { return getVpcConnectionPlain(args, InvokeOptions.Empty); } /** * Get information on an Amazon MSK VPC Connection. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetVpcConnectionArgs;
     * 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.getVpcConnection(GetVpcConnectionArgs.builder()
     *             .arn(exampleAwsMskVpcConnection.arn())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getVpcConnection(GetVpcConnectionArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("aws:msk/getVpcConnection:getVpcConnection", TypeShape.of(GetVpcConnectionResult.class), args, Utilities.withVersion(options)); } /** * Get information on an Amazon MSK VPC Connection. * * ## Example Usage * * <!--Start PulumiCodeChooser --> *
     * {@code
     * 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.GetVpcConnectionArgs;
     * 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.getVpcConnection(GetVpcConnectionArgs.builder()
     *             .arn(exampleAwsMskVpcConnection.arn())
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getVpcConnectionPlain(GetVpcConnectionPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("aws:msk/getVpcConnection:getVpcConnection", TypeShape.of(GetVpcConnectionResult.class), args, Utilities.withVersion(options)); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy