Interface ICfnConfigurationProps
Properties for defining a CfnConfiguration
.
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.AWS.MSK.dll
Syntax (csharp)
public interface ICfnConfigurationProps
Syntax (vb)
Public Interface ICfnConfigurationProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MSK;
var cfnConfigurationProps = new CfnConfigurationProps {
Name = "name",
ServerProperties = "serverProperties",
// the properties below are optional
Description = "description",
KafkaVersionsList = new [] { "kafkaVersionsList" }
};
Synopsis
Properties
Description | The description of the configuration. |
KafkaVersionsList |
|
Name | The name of the configuration. |
ServerProperties | 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. |
Properties
Description
The description of the configuration.
virtual string Description { get; }
Property Value
System.String
Remarks
KafkaVersionsList
AWS::MSK::Configuration.KafkaVersionsList
.
virtual string[] KafkaVersionsList { get; }
Property Value
System.String[]
Remarks
Name
The name of the configuration.
string Name { get; }
Property Value
System.String
Remarks
Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
ServerProperties
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.
string ServerProperties { get; }
Property Value
System.String