Interface ClusterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ClusterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:26.009Z")
@Stability(Experimental)
public interface ClusterProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for a MSK Cluster.
Example:
Vpc vpc; Cluster cluster = Cluster.Builder.create(this, "cluster") .clusterName("myCluster") .kafkaVersion(KafkaVersion.V2_8_1) .vpc(vpc) .encryptionInTransit(EncryptionInTransitConfig.builder() .clientBroker(ClientBrokerEncryption.TLS) .build()) .clientAuthentication(ClientAuthentication.sasl(SaslAuthProps.builder() .scram(true) .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forClusterProps
static final class
An implementation forClusterProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterProps.Builder
builder()
default ClientAuthentication
(experimental) Configuration properties for client authentication.(experimental) The physical name of the cluster.default ClusterConfigurationInfo
(experimental) The Amazon MSK configuration to use for the cluster.default EbsStorageInfo
(experimental) Information about storage volumes attached to MSK broker nodes.default EncryptionInTransitConfig
(experimental) Config details for encryption in transit.default InstanceType
(experimental) The EC2 instance type that you want Amazon MSK to use when it creates your brokers.(experimental) The version of Apache Kafka.default BrokerLogging
(experimental) Configure your MSK cluster to send broker logs to different destination types.default MonitoringConfiguration
(experimental) Cluster monitoring configuration.default Number
(experimental) Number of Apache Kafka brokers deployed in each Availability Zone.default RemovalPolicy
(experimental) What to do when this resource is deleted from a stack.default List<ISecurityGroup>
(experimental) The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster.default StorageMode
(experimental) This controls storage mode for supported storage tiers.getVpc()
(experimental) Defines the virtual networking environment for this cluster.default SubnetSelection
(experimental) Where to place the nodes within the VPC.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterName
(experimental) The physical name of the cluster. -
getKafkaVersion
(experimental) The version of Apache Kafka. -
getVpc
(experimental) Defines the virtual networking environment for this cluster.Must have at least 2 subnets in two different AZs.
-
getClientAuthentication
(experimental) Configuration properties for client authentication.MSK supports using private TLS certificates or SASL/SCRAM to authenticate the identity of clients.
Default: - disabled
-
getConfigurationInfo
(experimental) The Amazon MSK configuration to use for the cluster.Default: - none
-
getEbsStorageInfo
(experimental) Information about storage volumes attached to MSK broker nodes.Default: - 1000 GiB EBS volume
-
getEncryptionInTransit
(experimental) Config details for encryption in transit.Default: - enabled
-
getInstanceType
(experimental) The EC2 instance type that you want Amazon MSK to use when it creates your brokers.Default: kafka.m5.large
- See Also:
-
getLogging
(experimental) Configure your MSK cluster to send broker logs to different destination types.Default: - disabled
-
getMonitoring
(experimental) Cluster monitoring configuration.Default: - DEFAULT monitoring level
-
getNumberOfBrokerNodes
(experimental) Number of Apache Kafka brokers deployed in each Availability Zone.Default: 1
-
getRemovalPolicy
(experimental) What to do when this resource is deleted from a stack.Default: RemovalPolicy.RETAIN
-
getSecurityGroups
(experimental) The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster.Default: - create new security group
-
getStorageMode
(experimental) This controls storage mode for supported storage tiers.Default: - StorageMode.LOCAL
- See Also:
-
getVpcSubnets
(experimental) Where to place the nodes within the VPC.Amazon MSK distributes the broker nodes evenly across the subnets that you specify. The subnets that you specify must be in distinct Availability Zones. Client subnets can't be in Availability Zone us-east-1e.
Default: - the Vpc default strategy if not specified.
-
builder
- Returns:
- a
ClusterProps.Builder
ofClusterProps
-