aws-cdk-lib.aws_msk.CfnConfigurationProps

interface CfnConfigurationProps

LanguageType name
.NETAmazon.CDK.AWS.MSK.CfnConfigurationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnConfigurationProps
Javasoftware.amazon.awscdk.services.msk.CfnConfigurationProps
Pythonaws_cdk.aws_msk.CfnConfigurationProps
TypeScript aws-cdk-lib » aws_msk » CfnConfigurationProps

Properties for defining a CfnConfiguration.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const cfnConfigurationProps: msk.CfnConfigurationProps = {
  name: 'name',
  serverProperties: 'serverProperties',

  // the properties below are optional
  description: 'description',
  kafkaVersionsList: ['kafkaVersionsList'],
};

Properties

NameTypeDescription
namestringThe name of the configuration.
serverPropertiesstringContents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the CLI, the contents of server.properties can be in plaintext.
description?stringThe description of the configuration.
kafkaVersionsList?string[]AWS::MSK::Configuration.KafkaVersionsList.

name

Type: string

The name of the configuration.

Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".


serverProperties

Type: string

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 console, the SDK, or the CLI, the contents of server.properties can be in plaintext.


description?

Type: string (optional)

The description of the configuration.


kafkaVersionsList?

Type: string[] (optional)

AWS::MSK::Configuration.KafkaVersionsList.