Class: AWSCDK::MSK::CfnCluster::VPCConnectivityScramProperty

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

Overview

Details for SASL/SCRAM client authentication for VpcConnectivity.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled:) ⇒ VPCConnectivityScramProperty

Returns a new instance of VPCConnectivityScramProperty.

Parameters:



1991
1992
1993
1994
# File 'msk/cfn_cluster.rb', line 1991

def initialize(enabled:)
  @enabled = enabled
  Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled")
end

Instance Attribute Details

#enabledBoolean, AWSCDK::IResolvable (readonly)

SASL/SCRAM authentication is enabled or not.



2000
2001
2002
# File 'msk/cfn_cluster.rb', line 2000

def enabled
  @enabled
end

Class Method Details

.jsii_propertiesObject



2002
2003
2004
2005
2006
# File 'msk/cfn_cluster.rb', line 2002

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

Instance Method Details

#to_jsiiObject



2008
2009
2010
2011
2012
2013
2014
# File 'msk/cfn_cluster.rb', line 2008

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