Enum ClientBrokerEncryption
java.lang.Object
java.lang.Enum<ClientBrokerEncryption>
software.amazon.awscdk.services.msk.alpha.ClientBrokerEncryption
- All Implemented Interfaces:
Serializable
,Comparable<ClientBrokerEncryption>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:19.093Z")
@Stability(Experimental)
public enum ClientBrokerEncryption
extends Enum<ClientBrokerEncryption>
(experimental) Indicates the encryption setting for data in transit between clients and brokers.
Example:
import software.amazon.awscdk.services.acmpca.*; 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.tls(TlsAuthProps.builder() .certificateAuthorities(List.of(CertificateAuthority.fromCertificateAuthorityArn(this, "CertificateAuthority", "arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111"))) .build())) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription(experimental) PLAINTEXT means that client-broker communication is enabled in plaintext only.(experimental) TLS means that client-broker communication is enabled with TLS only.(experimental) TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientBrokerEncryption
Returns the enum constant of this type with the specified name.static ClientBrokerEncryption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TLS
(experimental) TLS means that client-broker communication is enabled with TLS only. -
TLS_PLAINTEXT
(experimental) TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data. -
PLAINTEXT
(experimental) PLAINTEXT means that client-broker communication is enabled in plaintext only.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-