Class: AWSCDK::MSK::CfnCluster::ScramProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnCluster::ScramProperty
- Defined in:
- msk/cfn_cluster.rb
Overview
Details for SASL/SCRAM client authentication.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, AWSCDK::IResolvable
readonly
SASL/SCRAM authentication is enabled or not.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled:) ⇒ ScramProperty
constructor
A new instance of ScramProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled:) ⇒ ScramProperty
Returns a new instance of ScramProperty.
1697 1698 1699 1700 |
# File 'msk/cfn_cluster.rb', line 1697 def initialize(enabled:) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") end |
Instance Attribute Details
#enabled ⇒ Boolean, AWSCDK::IResolvable (readonly)
SASL/SCRAM authentication is enabled or not.
1706 1707 1708 |
# File 'msk/cfn_cluster.rb', line 1706 def enabled @enabled end |
Class Method Details
.jsii_properties ⇒ Object
1708 1709 1710 1711 1712 |
# File 'msk/cfn_cluster.rb', line 1708 def self.jsii_properties { :enabled => "enabled", } end |
Instance Method Details
#to_jsii ⇒ Object
1714 1715 1716 1717 1718 1719 1720 |
# File 'msk/cfn_cluster.rb', line 1714 def to_jsii result = {} result.merge!({ "enabled" => @enabled, }) result.compact end |