Class: AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayTLSValidationContextFileTrustProperty

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 trust for a local file.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(certificate_chain:) ⇒ VirtualGatewayTLSValidationContextFileTrustProperty

Returns a new instance of VirtualGatewayTLSValidationContextFileTrustProperty.

Parameters:

  • certificate_chain (String)

    The certificate trust chain for a certificate stored on the file system of the virtual node that the proxy is running on.



1835
1836
1837
1838
# File 'app_mesh/cfn_virtual_gateway.rb', line 1835

def initialize(certificate_chain:)
  @certificate_chain = certificate_chain
  Jsii::Type.check_type(@certificate_chain, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateChain")
end

Instance Attribute Details

#certificate_chainString (readonly)

The certificate trust chain for a certificate stored on the file system of the virtual node that the proxy is running on.



1844
1845
1846
# File 'app_mesh/cfn_virtual_gateway.rb', line 1844

def certificate_chain
  @certificate_chain
end

Class Method Details

.jsii_propertiesObject



1846
1847
1848
1849
1850
# File 'app_mesh/cfn_virtual_gateway.rb', line 1846

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

Instance Method Details

#to_jsiiObject



1852
1853
1854
1855
1856
1857
1858
# File 'app_mesh/cfn_virtual_gateway.rb', line 1852

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