@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:12.505Z") @Stability(value=Stable) public interface CfnClusterProps extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
Object tags;
CfnClusterProps cfnClusterProps = CfnClusterProps.builder()
.brokerNodeGroupInfo(BrokerNodeGroupInfoProperty.builder()
.clientSubnets(List.of("clientSubnets"))
.instanceType("instanceType")
// the properties below are optional
.brokerAzDistribution("brokerAzDistribution")
.connectivityInfo(ConnectivityInfoProperty.builder()
.publicAccess(PublicAccessProperty.builder()
.type("type")
.build())
.build())
.securityGroups(List.of("securityGroups"))
.storageInfo(StorageInfoProperty.builder()
.ebsStorageInfo(EBSStorageInfoProperty.builder()
.volumeSize(123)
.build())
.build())
.build())
.clusterName("clusterName")
.kafkaVersion("kafkaVersion")
.numberOfBrokerNodes(123)
// the properties below are optional
.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())
.configurationInfo(ConfigurationInfoProperty.builder()
.arn("arn")
.revision(123)
.build())
.encryptionInfo(EncryptionInfoProperty.builder()
.encryptionAtRest(EncryptionAtRestProperty.builder()
.dataVolumeKmsKeyId("dataVolumeKmsKeyId")
.build())
.encryptionInTransit(EncryptionInTransitProperty.builder()
.clientBroker("clientBroker")
.inCluster(false)
.build())
.build())
.enhancedMonitoring("enhancedMonitoring")
.loggingInfo(LoggingInfoProperty.builder()
.brokerLogs(BrokerLogsProperty.builder()
.cloudWatchLogs(CloudWatchLogsProperty.builder()
.enabled(false)
// the properties below are optional
.logGroup("logGroup")
.build())
.firehose(FirehoseProperty.builder()
.enabled(false)
// the properties below are optional
.deliveryStream("deliveryStream")
.build())
.s3(S3Property.builder()
.enabled(false)
// the properties below are optional
.bucket("bucket")
.prefix("prefix")
.build())
.build())
.build())
.openMonitoring(OpenMonitoringProperty.builder()
.prometheus(PrometheusProperty.builder()
.jmxExporter(JmxExporterProperty.builder()
.enabledInBroker(false)
.build())
.nodeExporter(NodeExporterProperty.builder()
.enabledInBroker(false)
.build())
.build())
.build())
.tags(tags)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnClusterProps.Builder
A builder for
CfnClusterProps |
static class |
CfnClusterProps.Jsii$Proxy
An implementation for
CfnClusterProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnClusterProps.Builder |
builder() |
Object |
getBrokerNodeGroupInfo()
The setup to be used for brokers in the cluster.
|
default Object |
getClientAuthentication()
Includes information related to client authentication.
|
String |
getClusterName()
The name of the cluster.
|
default Object |
getConfigurationInfo()
The Amazon MSK configuration to use for the cluster.
|
default Object |
getEncryptionInfo()
Includes all encryption-related information.
|
default String |
getEnhancedMonitoring()
Specifies the level of monitoring for the MSK cluster.
|
String |
getKafkaVersion()
The version of Apache Kafka.
|
default Object |
getLoggingInfo()
You can configure your MSK cluster to send broker logs to different destination types.
|
Number |
getNumberOfBrokerNodes()
The number of broker nodes you want in the Amazon MSK cluster.
|
default Object |
getOpenMonitoring()
The settings for open monitoring.
|
default Object |
getTags()
A map of key:value pairs to apply to this resource.
|
@Stability(value=Stable) @NotNull Object getBrokerNodeGroupInfo()
@Stability(value=Stable) @NotNull String getClusterName()
@Stability(value=Stable) @NotNull String getKafkaVersion()
You can use Amazon MSK to create clusters that use Apache Kafka versions 1.1.1 and 2.2.1.
@Stability(value=Stable) @NotNull Number getNumberOfBrokerNodes()
You can submit an update to increase the number of broker nodes in a cluster.
@Stability(value=Stable) @Nullable default Object getClientAuthentication()
@Stability(value=Stable) @Nullable default Object getConfigurationInfo()
@Stability(value=Stable) @Nullable default Object getEncryptionInfo()
@Stability(value=Stable) @Nullable default String getEnhancedMonitoring()
The possible values are DEFAULT , PER_BROKER , and PER_TOPIC_PER_BROKER .
@Stability(value=Stable) @Nullable default Object getLoggingInfo()
This is a container for the configuration details related to broker logs.
@Stability(value=Stable) @Nullable default Object getOpenMonitoring()
@Stability(value=Stable) @Nullable default Object getTags()
Both key and value are of type String.
@Stability(value=Stable) static CfnClusterProps.Builder builder()
CfnClusterProps.Builder of CfnClusterPropsCopyright © 2022. All rights reserved.