interface CfnConfigurationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MSK.CfnConfigurationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnConfigurationProps |
![]() | software.amazon.awscdk.services.msk.CfnConfigurationProps |
![]() | aws_cdk.aws_msk.CfnConfigurationProps |
![]() | aws-cdk-lib » aws_msk » CfnConfigurationProps |
Properties for defining a CfnConfiguration
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-configuration.html
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'],
latestRevision: {
creationTime: 'creationTime',
description: 'description',
revision: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of the configuration. |
server | string | Contents of the server.properties file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents of server.properties can be in plaintext. |
description? | string | The description of the configuration. |
kafka | string[] | The versions of Apache Kafka with which you can use this MSK configuration. |
latest | IResolvable | Latest | Latest revision of the MSK configuration. |
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 this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents of server.properties
can be in plaintext.
description?
Type:
string
(optional)
The description of the configuration.
kafkaVersionsList?
Type:
string[]
(optional)
The versions of Apache Kafka with which you can use this MSK configuration.
latestRevision?
Type:
IResolvable
|
Latest
(optional)
Latest revision of the MSK configuration.