Class: AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayListenerTLSFileCertificateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayListenerTLSFileCertificateProperty
- Defined in:
- app_mesh/cfn_virtual_gateway.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 mesh endpoint that the proxy is running on.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificate_chain:, private_key:) ⇒ VirtualGatewayListenerTLSFileCertificateProperty
constructor
A new instance of VirtualGatewayListenerTLSFileCertificateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificate_chain:, private_key:) ⇒ VirtualGatewayListenerTLSFileCertificateProperty
Returns a new instance of VirtualGatewayListenerTLSFileCertificateProperty.
1451 1452 1453 1454 1455 1456 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1451 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.
1462 1463 1464 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1462 def certificate_chain @certificate_chain end |
#private_key ⇒ String (readonly)
The private key for a certificate stored on the file system of the mesh endpoint that the proxy is running on.
1467 1468 1469 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1467 def private_key @private_key end |
Class Method Details
.jsii_properties ⇒ Object
1469 1470 1471 1472 1473 1474 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1469 def self.jsii_properties { :certificate_chain => "certificateChain", :private_key => "privateKey", } end |
Instance Method Details
#to_jsii ⇒ Object
1476 1477 1478 1479 1480 1481 1482 1483 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1476 def to_jsii result = {} result.merge!({ "certificateChain" => @certificate_chain, "privateKey" => @private_key, }) result.compact end |