Class: AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayListenerTLSCertificateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayListenerTLSCertificateProperty
- Defined in:
- app_mesh/cfn_virtual_gateway.rb
Overview
An object that represents a listener's Transport Layer Security (TLS) certificate.
Instance Attribute Summary collapse
-
#acm ⇒ AWSCDK::IResolvable, ...
readonly
A reference to an object that represents an Certificate Manager certificate.
-
#file ⇒ AWSCDK::IResolvable, ...
readonly
A reference to an object that represents a local file certificate.
-
#sds ⇒ AWSCDK::IResolvable, ...
readonly
A reference to an object that represents a virtual gateway's listener's Secret Discovery Service certificate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(acm: nil, file: nil, sds: nil) ⇒ VirtualGatewayListenerTLSCertificateProperty
constructor
A new instance of VirtualGatewayListenerTLSCertificateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(acm: nil, file: nil, sds: nil) ⇒ VirtualGatewayListenerTLSCertificateProperty
Returns a new instance of VirtualGatewayListenerTLSCertificateProperty.
1397 1398 1399 1400 1401 1402 1403 1404 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1397 def initialize(acm: nil, file: nil, sds: nil) @acm = acm.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayListenerTLSACMCertificateProperty.new(**acm.transform_keys(&:to_sym)) : acm Jsii::Type.check_type(@acm, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBtZXNoLkNmblZpcnR1YWxHYXRld2F5LlZpcnR1YWxHYXRld2F5TGlzdGVuZXJUbHNBY21DZXJ0aWZpY2F0ZVByb3BlcnR5In1dfX0=")), "acm") unless @acm.nil? @file = file.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayListenerTLSFileCertificateProperty.new(**file.transform_keys(&:to_sym)) : file Jsii::Type.check_type(@file, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBtZXNoLkNmblZpcnR1YWxHYXRld2F5LlZpcnR1YWxHYXRld2F5TGlzdGVuZXJUbHNGaWxlQ2VydGlmaWNhdGVQcm9wZXJ0eSJ9XX19")), "file") unless @file.nil? @sds = sds.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnVirtualGateway::VirtualGatewayListenerTLSSdsCertificateProperty.new(**sds.transform_keys(&:to_sym)) : sds Jsii::Type.check_type(@sds, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBtZXNoLkNmblZpcnR1YWxHYXRld2F5LlZpcnR1YWxHYXRld2F5TGlzdGVuZXJUbHNTZHNDZXJ0aWZpY2F0ZVByb3BlcnR5In1dfX0=")), "sds") unless @sds.nil? end |
Instance Attribute Details
#acm ⇒ AWSCDK::IResolvable, ... (readonly)
A reference to an object that represents an Certificate Manager certificate.
1410 1411 1412 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1410 def acm @acm end |
#file ⇒ AWSCDK::IResolvable, ... (readonly)
A reference to an object that represents a local file certificate.
1415 1416 1417 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1415 def file @file end |
#sds ⇒ AWSCDK::IResolvable, ... (readonly)
A reference to an object that represents a virtual gateway's listener's Secret Discovery Service certificate.
1420 1421 1422 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1420 def sds @sds end |
Class Method Details
.jsii_properties ⇒ Object
1422 1423 1424 1425 1426 1427 1428 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1422 def self.jsii_properties { :acm => "acm", :file => "file", :sds => "sds", } end |
Instance Method Details
#to_jsii ⇒ Object
1430 1431 1432 1433 1434 1435 1436 1437 1438 |
# File 'app_mesh/cfn_virtual_gateway.rb', line 1430 def to_jsii result = {} result.merge!({ "acm" => @acm, "file" => @file, "sds" => @sds, }) result.compact end |