Class: AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayTLSValidationContextProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_mesh/cfn_virtual_gateway.rb

Overview

An object that represents a Transport Layer Security (TLS) validation context.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(trust:, subject_alternative_names: nil) ⇒ VirtualGatewayTLSValidationContextProperty

Returns a new instance of VirtualGatewayTLSValidationContextProperty.

Parameters:



1869
1870
1871
1872
1873
1874
# File 'app_mesh/cfn_virtual_gateway.rb', line 1869

def initialize(trust:, subject_alternative_names: nil)
  @trust = trust.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayTLSValidationContextTrustProperty.new(**trust.transform_keys(&:to_sym)) : trust
  Jsii::Type.check_type(@trust, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBtZXNoLkNmblZpcnR1YWxHYXRld2F5LlZpcnR1YWxHYXRld2F5VGxzVmFsaWRhdGlvbkNvbnRleHRUcnVzdFByb3BlcnR5In1dfX0=")), "trust")
  @subject_alternative_names = subject_alternative_names.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnVirtualGateway::SubjectAlternativeNamesProperty.new(**subject_alternative_names.transform_keys(&:to_sym)) : subject_alternative_names
  Jsii::Type.check_type(@subject_alternative_names, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBtZXNoLkNmblZpcnR1YWxHYXRld2F5LlN1YmplY3RBbHRlcm5hdGl2ZU5hbWVzUHJvcGVydHkifV19fQ==")), "subjectAlternativeNames") unless @subject_alternative_names.nil?
end

Instance Attribute Details

#subject_alternative_namesAWSCDK::IResolvable, ... (readonly)

A reference to an object that represents the SANs for a virtual gateway's listener's Transport Layer Security (TLS) validation context.



1885
1886
1887
# File 'app_mesh/cfn_virtual_gateway.rb', line 1885

def subject_alternative_names
  @subject_alternative_names
end

Class Method Details

.jsii_propertiesObject



1887
1888
1889
1890
1891
1892
# File 'app_mesh/cfn_virtual_gateway.rb', line 1887

def self.jsii_properties
  {
    :trust => "trust",
    :subject_alternative_names => "subjectAlternativeNames",
  }
end

Instance Method Details

#to_jsiiObject



1894
1895
1896
1897
1898
1899
1900
1901
# File 'app_mesh/cfn_virtual_gateway.rb', line 1894

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