Class: AWSCDK::MSK::CfnCluster::TLSProperty

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

Overview

Details for client authentication using TLS.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(certificate_authority_arn_list: nil, enabled: nil) ⇒ TLSProperty

Returns a new instance of TLSProperty.

Parameters:

  • certificate_authority_arn_list (Array<String>, nil) (defaults to: nil)

    List of AWS Private CA ARNs.

  • enabled (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    TLS authentication is enabled or not.



1764
1765
1766
1767
1768
1769
# File 'msk/cfn_cluster.rb', line 1764

def initialize(certificate_authority_arn_list: nil, enabled: nil)
  @certificate_authority_arn_list = certificate_authority_arn_list
  Jsii::Type.check_type(@certificate_authority_arn_list, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "certificateAuthorityArnList") unless @certificate_authority_arn_list.nil?
  @enabled = enabled
  Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil?
end

Instance Attribute Details

#certificate_authority_arn_listArray<String>? (readonly)

List of AWS Private CA ARNs.



1775
1776
1777
# File 'msk/cfn_cluster.rb', line 1775

def certificate_authority_arn_list
  @certificate_authority_arn_list
end

#enabledBoolean, ... (readonly)

TLS authentication is enabled or not.



1780
1781
1782
# File 'msk/cfn_cluster.rb', line 1780

def enabled
  @enabled
end

Class Method Details

.jsii_propertiesObject



1782
1783
1784
1785
1786
1787
# File 'msk/cfn_cluster.rb', line 1782

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

Instance Method Details

#to_jsiiObject



1789
1790
1791
1792
1793
1794
1795
1796
# File 'msk/cfn_cluster.rb', line 1789

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