EncryptionInTransitConfig

class aws_cdk.aws_msk.EncryptionInTransitConfig(*, client_broker=None, enable_in_cluster=None)

Bases: object

(experimental) The settings for encrypting data in transit.

Parameters
  • client_broker (Optional[ClientBrokerEncryption]) – (experimental) Indicates the encryption setting for data in transit between clients and brokers. Default: - TLS

  • enable_in_cluster (Optional[bool]) – (experimental) Indicates that data communication among the broker nodes of the cluster is encrypted. Default: true

See

https://docs.aws.amazon.com/msk/latest/developerguide/msk-encryption.html#msk-encryption-in-transit

Stability

experimental

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_msk as msk

encryption_in_transit_config = msk.EncryptionInTransitConfig(
    client_broker=msk.ClientBrokerEncryption.TLS,
    enable_in_cluster=False
)

Attributes

client_broker

(experimental) Indicates the encryption setting for data in transit between clients and brokers.

Default
  • TLS

Stability

experimental

Return type

Optional[ClientBrokerEncryption]

enable_in_cluster

(experimental) Indicates that data communication among the broker nodes of the cluster is encrypted.

Default

true

Stability

experimental

Return type

Optional[bool]