@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:12.507Z") @Stability(value=Experimental) public enum ClientBrokerEncryption extends Enum<ClientBrokerEncryption>
Example:
// Example automatically generated from non-compiling source. May contain errors.
import software.amazon.awscdk.core.*;
Object cluster = new cluster(this, "cluster", Map.of(
(SpreadAssignment ...
encryptionInTransit
encryptionInTransit)), Map.of(
"clientBroker", ClientBrokerEncryption.TLS), clientAuthentication, ClientAuthentication.sasl(SaslAuthProps.builder()
.scram(true)
.build()));
| Enum Constant and Description |
|---|
PLAINTEXT
(experimental) PLAINTEXT means that client-broker communication is enabled in plaintext only.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static ClientBrokerEncryption |
valueOf(String name)
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.
|
@Stability(value=Experimental) public static final ClientBrokerEncryption TLS
@Stability(value=Experimental) public static final ClientBrokerEncryption TLS_PLAINTEXT
@Stability(value=Experimental) public static final ClientBrokerEncryption PLAINTEXT
public static ClientBrokerEncryption[] values()
for (ClientBrokerEncryption c : ClientBrokerEncryption.values()) System.out.println(c);
public static ClientBrokerEncryption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.