Skip to content
v2.278.0

Experimental

@aws-cdk/aws-msk-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

KafkaVersionFeatures Struct ​

Available features for a given Kafka version.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as msk_alpha from '@aws-cdk/aws-msk-alpha';
const kafkaVersionFeatures: msk_alpha.KafkaVersionFeatures = {
  tieredStorage: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_msk_alpha as msk_alpha

kafka_version_features = msk_alpha.KafkaVersionFeatures(
    tiered_storage=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.msk.alpha.*;

KafkaVersionFeatures kafkaVersionFeatures = KafkaVersionFeatures.builder()
        .tieredStorage(false)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MSK.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MSK.Alpha;

var kafkaVersionFeatures = new KafkaVersionFeatures {
    TieredStorage = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdkmskalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import msk_alpha "github.com/aws/aws-cdk-go/awscdkmskalpha"

kafkaVersionFeatures := &KafkaVersionFeatures{
	TieredStorage: jsii.Boolean(false),
}

Properties ​

tieredStorageoptionalbooleantiered_storageoptionalbooltieredStorageoptionalBooleanTieredStorageoptionalboolTieredStorageoptional*bool = false #
Whether the Kafka version supports tiered storage mode.