Class: AWSCDK::AppMesh::CfnVirtualNode::ListenerTLSSdsCertificateProperty

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

Overview

An object that represents the listener's Secret Discovery Service certificate.

The proxy must be configured with a local SDS provider via a Unix Domain Socket. See App Mesh TLS documentation for more info.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(secret_name:) ⇒ ListenerTLSSdsCertificateProperty

Returns a new instance of ListenerTLSSdsCertificateProperty.

Parameters:

  • secret_name (String)

    A reference to an object that represents the name of the secret requested from the Secret Discovery Service provider representing Transport Layer Security (TLS) materials like a certificate or certificate chain.



1711
1712
1713
1714
# File 'app_mesh/cfn_virtual_node.rb', line 1711

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

Instance Attribute Details

#secret_nameString (readonly)

A reference to an object that represents the name of the secret requested from the Secret Discovery Service provider representing Transport Layer Security (TLS) materials like a certificate or certificate chain.



1720
1721
1722
# File 'app_mesh/cfn_virtual_node.rb', line 1720

def secret_name
  @secret_name
end

Class Method Details

.jsii_propertiesObject



1722
1723
1724
1725
1726
# File 'app_mesh/cfn_virtual_node.rb', line 1722

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

Instance Method Details

#to_jsiiObject



1728
1729
1730
1731
1732
1733
1734
# File 'app_mesh/cfn_virtual_node.rb', line 1728

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