Class: AWSCDK::AppMesh::CfnVirtualNode::ListenerTLSFileCertificateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnVirtualNode::ListenerTLSFileCertificateProperty
- Defined in:
- app_mesh/cfn_virtual_node.rb
Overview
An object that represents a local file certificate.
The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS) .
Instance Attribute Summary collapse
-
#certificate_chain ⇒ String
readonly
The certificate chain for the certificate.
-
#private_key ⇒ String
readonly
The private key for a certificate stored on the file system of the virtual node that the proxy is running on.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificate_chain:, private_key:) ⇒ ListenerTLSFileCertificateProperty
constructor
A new instance of ListenerTLSFileCertificateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificate_chain:, private_key:) ⇒ ListenerTLSFileCertificateProperty
Returns a new instance of ListenerTLSFileCertificateProperty.
1610 1611 1612 1613 1614 1615 |
# File 'app_mesh/cfn_virtual_node.rb', line 1610 def initialize(certificate_chain:, private_key:) @certificate_chain = certificate_chain Jsii::Type.check_type(@certificate_chain, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateChain") @private_key = private_key Jsii::Type.check_type(@private_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "privateKey") end |
Instance Attribute Details
#certificate_chain ⇒ String (readonly)
The certificate chain for the certificate.
1621 1622 1623 |
# File 'app_mesh/cfn_virtual_node.rb', line 1621 def certificate_chain @certificate_chain end |
#private_key ⇒ String (readonly)
The private key for a certificate stored on the file system of the virtual node that the proxy is running on.
1626 1627 1628 |
# File 'app_mesh/cfn_virtual_node.rb', line 1626 def private_key @private_key end |
Class Method Details
.jsii_properties ⇒ Object
1628 1629 1630 1631 1632 1633 |
# File 'app_mesh/cfn_virtual_node.rb', line 1628 def self.jsii_properties { :certificate_chain => "certificateChain", :private_key => "privateKey", } end |
Instance Method Details
#to_jsii ⇒ Object
1635 1636 1637 1638 1639 1640 1641 1642 |
# File 'app_mesh/cfn_virtual_node.rb', line 1635 def to_jsii result = {} result.merge!({ "certificateChain" => @certificate_chain, "privateKey" => @private_key, }) result.compact end |