ConfigurationArgs

data class ConfigurationArgs(val description: Output<String>? = null, val kafkaVersions: Output<List<String>>? = null, val name: Output<String>? = null, val serverProperties: Output<String>? = null) : ConvertibleToJava<ConfigurationArgs>

Manages an Amazon Managed Streaming for Kafka configuration. More information can be found on the MSK Developer Guide.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.msk.Configuration;
import com.pulumi.aws.msk.ConfigurationArgs;
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 example = new Configuration("example", ConfigurationArgs.builder()
.kafkaVersions("2.1.0")
.serverProperties("""
auto.create.topics.enable = true
delete.topic.enable = true
""")
.build());
}
}

Import

MSK configurations can be imported using the configuration ARN, e.g.,

$ pulumi import aws:msk/configuration:Configuration example arn:aws:kafka:us-west-2:123456789012:configuration/example/279c0212-d057-4dba-9aa9-1c4e5a25bfc7-3

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, kafkaVersions: Output<List<String>>? = null, name: Output<String>? = null, serverProperties: Output<String>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

Description of the configuration.

Link copied to clipboard
val kafkaVersions: Output<List<String>>? = null

List of Apache Kafka versions which can use this configuration.

Link copied to clipboard
val name: Output<String>? = null

Name of the configuration.

Link copied to clipboard
val serverProperties: Output<String>? = null

Contents of the server.properties file. Supported properties are documented in the MSK Developer Guide.

Functions

Link copied to clipboard
open override fun toJava(): ConfigurationArgs