Class CfnClusterPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnClusterPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:01.711Z")
@Stability(Stable)
public class CfnClusterPropsMixin
extends Mixin
implements software.constructs.IMixin
Creates a new MSK cluster.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.msk.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnClusterPropsMixin cfnClusterPropsMixin = CfnClusterPropsMixin.Builder.create(CfnClusterMixinProps.builder()
.brokerNodeGroupInfo(BrokerNodeGroupInfoProperty.builder()
.brokerAzDistribution("brokerAzDistribution")
.clientSubnets(List.of("clientSubnets"))
.connectivityInfo(ConnectivityInfoProperty.builder()
.networkType("networkType")
.publicAccess(PublicAccessProperty.builder()
.type("type")
.build())
.vpcConnectivity(VpcConnectivityProperty.builder()
.clientAuthentication(VpcConnectivityClientAuthenticationProperty.builder()
.sasl(VpcConnectivitySaslProperty.builder()
.iam(VpcConnectivityIamProperty.builder()
.enabled(false)
.build())
.scram(VpcConnectivityScramProperty.builder()
.enabled(false)
.build())
.build())
.tls(VpcConnectivityTlsProperty.builder()
.enabled(false)
.build())
.build())
.build())
.build())
.instanceType("instanceType")
.securityGroups(List.of("securityGroups"))
.storageInfo(StorageInfoProperty.builder()
.ebsStorageInfo(EBSStorageInfoProperty.builder()
.provisionedThroughput(ProvisionedThroughputProperty.builder()
.enabled(false)
.volumeThroughput(123)
.build())
.volumeSize(123)
.build())
.build())
.build())
.clientAuthentication(ClientAuthenticationProperty.builder()
.sasl(SaslProperty.builder()
.iam(IamProperty.builder()
.enabled(false)
.build())
.scram(ScramProperty.builder()
.enabled(false)
.build())
.build())
.tls(TlsProperty.builder()
.certificateAuthorityArnList(List.of("certificateAuthorityArnList"))
.enabled(false)
.build())
.unauthenticated(UnauthenticatedProperty.builder()
.enabled(false)
.build())
.build())
.clusterName("clusterName")
.configurationInfo(ConfigurationInfoProperty.builder()
.arn("arn")
.revision(123)
.build())
.currentVersion("currentVersion")
.encryptionInfo(EncryptionInfoProperty.builder()
.encryptionAtRest(EncryptionAtRestProperty.builder()
.dataVolumeKmsKeyId("dataVolumeKmsKeyId")
.build())
.encryptionInTransit(EncryptionInTransitProperty.builder()
.clientBroker("clientBroker")
.inCluster(false)
.build())
.build())
.enhancedMonitoring("enhancedMonitoring")
.kafkaVersion("kafkaVersion")
.loggingInfo(LoggingInfoProperty.builder()
.brokerLogs(BrokerLogsProperty.builder()
.cloudWatchLogs(CloudWatchLogsProperty.builder()
.enabled(false)
.logGroup("logGroup")
.build())
.firehose(FirehoseProperty.builder()
.deliveryStream("deliveryStream")
.enabled(false)
.build())
.s3(S3Property.builder()
.bucket("bucket")
.enabled(false)
.prefix("prefix")
.build())
.build())
.build())
.numberOfBrokerNodes(123)
.openMonitoring(OpenMonitoringProperty.builder()
.prometheus(PrometheusProperty.builder()
.jmxExporter(JmxExporterProperty.builder()
.enabledInBroker(false)
.build())
.nodeExporter(NodeExporterProperty.builder()
.enabledInBroker(false)
.build())
.build())
.build())
.rebalancing(RebalancingProperty.builder()
.status("status")
.build())
.storageMode("storageMode")
.tags(Map.of(
"tagsKey", "tags"))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe broker logs configuration for this MSK cluster.static interfaceDescribes the setup to be used for the broker nodes in the cluster.static final classA fluent builder forCfnClusterPropsMixin.static interfaceExample:static interfaceDetails of the CloudWatch Logs destination for broker logs.static interfaceSpecifies the configuration to use for the brokers.static interfaceBroker access controls.static interfaceContains information about the EBS storage volumes attached to the broker nodes.static interfaceThe data-volume encryption details.static interfaceIncludes encryption-related information, such as the Amazon KMS key used for encrypting data at rest and whether you want MSK to encrypt your data in transit.static interfaceThe settings for encrypting data in transit.static interfaceFirehose details for BrokerLogs.static interfaceDetails for SASL/IAM client authentication.static interfaceIndicates whether you want to enable or disable the JMX Exporter.static interfaceYou can configure your MSK cluster to send broker logs to different destination types.static interfaceIndicates whether you want to enable or disable the Node Exporter.static interfaceJMX and Node monitoring for the MSK cluster.static interfacePrometheus settings for open monitoring.static interfaceContains information about provisioned throughput for EBS storage volumes attached to kafka broker nodes.static interfaceBroker access controls.static interfaceExample:static interfaceThe details of the Amazon S3 destination for broker logs.static interfaceDetails for client authentication using SASL.static interfaceDetails for SASL/SCRAM client authentication.static interfaceContains information about storage volumes attached to Amazon MSK broker nodes.static interfaceDetails for client authentication using TLS.static interfaceDetails for allowing no client authentication.static interfaceIncludes all client authentication information for VpcConnectivity.static interfaceDetails for SASL/IAM client authentication for VpcConnectivity.static interfaceVPC connection control settings for brokers.static interfaceDetails for client authentication using SASL for VpcConnectivity.static interfaceDetails for SASL/SCRAM client authentication for VpcConnectivity.static interfaceDetails for client authentication using TLS for VpcConnectivity.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::MSK::Cluster.CfnClusterPropsMixin(CfnClusterMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::MSK::Cluster.protectedCfnClusterPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnClusterPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnClusterMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnClusterPropsMixin
protected CfnClusterPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnClusterPropsMixin
protected CfnClusterPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnClusterPropsMixin
@Stability(Stable) public CfnClusterPropsMixin(@NotNull CfnClusterMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::MSK::Cluster.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnClusterPropsMixin
Create a mixin to apply properties toAWS::MSK::Cluster.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-