Class: AWSCDK::AppMesh::CfnVirtualNode::TLSValidationContextFileTrustProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_mesh/cfn_virtual_node.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:) ⇒ TLSValidationContextFileTrustProperty

Returns a new instance of TLSValidationContextFileTrustProperty.

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.



2193
2194
2195
2196
# File 'app_mesh/cfn_virtual_node.rb', line 2193

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.



2202
2203
2204
# File 'app_mesh/cfn_virtual_node.rb', line 2202

def certificate_chain
  @certificate_chain
end

Class Method Details

.jsii_propertiesObject



2204
2205
2206
2207
2208
# File 'app_mesh/cfn_virtual_node.rb', line 2204

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

Instance Method Details

#to_jsiiObject



2210
2211
2212
2213
2214
2215
2216
# File 'app_mesh/cfn_virtual_node.rb', line 2210

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