Class: AWSCDK::MSK::CfnServerlessCluster::SaslProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
msk/cfn_serverless_cluster.rb

Overview

Details for client authentication using SASL.

To turn on SASL, you must also turn on EncryptionInTransit by setting in_cluster to true. You must set client_broker to either TLS or TLS_PLAINTEXT . If you choose TLS_PLAINTEXT , then you must also set unauthenticated to true.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iam:) ⇒ SaslProperty

Returns a new instance of SaslProperty.

Parameters:



626
627
628
629
# File 'msk/cfn_serverless_cluster.rb', line 626

def initialize(iam:)
  @iam = iam.is_a?(Hash) ? ::AWSCDK::MSK::CfnServerlessCluster::IAMProperty.new(**iam.transform_keys(&:to_sym)) : iam
  Jsii::Type.check_type(@iam, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tc2suQ2ZuU2VydmVybGVzc0NsdXN0ZXIuSWFtUHJvcGVydHkifV19fQ==")), "iam")
end

Instance Attribute Details

Class Method Details

.jsii_propertiesObject



637
638
639
640
641
# File 'msk/cfn_serverless_cluster.rb', line 637

def self.jsii_properties
  {
    :iam => "iam",
  }
end

Instance Method Details

#to_jsiiObject



643
644
645
646
647
648
649
# File 'msk/cfn_serverless_cluster.rb', line 643

def to_jsii
  result = {}
  result.merge!({
    "iam" => @iam,
  })
  result.compact
end