Skip to content

Create Configuration

kafka_create_configuration R Documentation

Creates a new MSK configuration

Description

Creates a new MSK configuration.

Usage

kafka_create_configuration(Description, KafkaVersions, Name,
  ServerProperties)

Arguments

Description

The description of the configuration.

KafkaVersions

The versions of Apache Kafka with which you can use this MSK configuration.

Name

[required] The name of the configuration.

ServerProperties

[required] Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.

Value

A list with the following syntax:

list(
  Arn = "string",
  CreationTime = as.POSIXct(
    "2015-01-01"
  ),
  LatestRevision = list(
    CreationTime = as.POSIXct(
      "2015-01-01"
    ),
    Description = "string",
    Revision = 123
  ),
  Name = "string",
  State = "ACTIVE"|"DELETING"|"DELETE_FAILED"
)

Request syntax

svc$create_configuration(
  Description = "string",
  KafkaVersions = list(
    "string"
  ),
  Name = "string",
  ServerProperties = raw
)