Class: AWSCDK::MSK::CfnReplicator::KafkaClusterSaslScramAuthenticationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnReplicator::KafkaClusterSaslScramAuthenticationProperty
- Defined in:
- msk/cfn_replicator.rb
Overview
Details for SASL/SCRAM client authentication.
Instance Attribute Summary collapse
-
#mechanism ⇒ String
readonly
The SASL/SCRAM authentication mechanism.
-
#secret_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Secrets Manager secret.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mechanism:, secret_arn:) ⇒ KafkaClusterSaslScramAuthenticationProperty
constructor
A new instance of KafkaClusterSaslScramAuthenticationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(mechanism:, secret_arn:) ⇒ KafkaClusterSaslScramAuthenticationProperty
Returns a new instance of KafkaClusterSaslScramAuthenticationProperty.
1077 1078 1079 1080 1081 1082 |
# File 'msk/cfn_replicator.rb', line 1077 def initialize(mechanism:, secret_arn:) @mechanism = mechanism Jsii::Type.check_type(@mechanism, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mechanism") @secret_arn = secret_arn Jsii::Type.check_type(@secret_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretArn") end |
Instance Attribute Details
#mechanism ⇒ String (readonly)
The SASL/SCRAM authentication mechanism.
1088 1089 1090 |
# File 'msk/cfn_replicator.rb', line 1088 def mechanism @mechanism end |
#secret_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Secrets Manager secret.
1093 1094 1095 |
# File 'msk/cfn_replicator.rb', line 1093 def secret_arn @secret_arn end |
Class Method Details
.jsii_properties ⇒ Object
1095 1096 1097 1098 1099 1100 |
# File 'msk/cfn_replicator.rb', line 1095 def self.jsii_properties { :mechanism => "mechanism", :secret_arn => "secretArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1102 1103 1104 1105 1106 1107 1108 1109 |
# File 'msk/cfn_replicator.rb', line 1102 def to_jsii result = {} result.merge!({ "mechanism" => @mechanism, "secretArn" => @secret_arn, }) result.compact end |