Class: AWSCDK::OpsWorks::CfnApp::SSLConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::OpsWorks::CfnApp::SSLConfigurationProperty
- Defined in:
- ops_works/cfn_app.rb
Overview
Instance Attribute Summary collapse
-
#certificate ⇒ String?
readonly
The contents of the certificate's domain.crt file.
-
#chain ⇒ String?
readonly
Optional.
-
#private_key ⇒ String?
readonly
The private key;.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificate: nil, chain: nil, private_key: nil) ⇒ SSLConfigurationProperty
constructor
A new instance of SSLConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificate: nil, chain: nil, private_key: nil) ⇒ SSLConfigurationProperty
Returns a new instance of SSLConfigurationProperty.
848 849 850 851 852 853 854 855 |
# File 'ops_works/cfn_app.rb', line 848 def initialize(certificate: nil, chain: nil, private_key: nil) @certificate = certificate Jsii::Type.check_type(@certificate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificate") unless @certificate.nil? @chain = chain Jsii::Type.check_type(@chain, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "chain") unless @chain.nil? @private_key = private_key Jsii::Type.check_type(@private_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "privateKey") unless @private_key.nil? end |
Instance Attribute Details
#certificate ⇒ String? (readonly)
The contents of the certificate's domain.crt file.
861 862 863 |
# File 'ops_works/cfn_app.rb', line 861 def certificate @certificate end |
#chain ⇒ String? (readonly)
Optional.
Can be used to specify an intermediate certificate authority key or client authentication.
868 869 870 |
# File 'ops_works/cfn_app.rb', line 868 def chain @chain end |
#private_key ⇒ String? (readonly)
The private key;
the contents of the certificate's domain.kex file.
875 876 877 |
# File 'ops_works/cfn_app.rb', line 875 def private_key @private_key end |
Class Method Details
.jsii_properties ⇒ Object
877 878 879 880 881 882 883 |
# File 'ops_works/cfn_app.rb', line 877 def self.jsii_properties { :certificate => "certificate", :chain => "chain", :private_key => "privateKey", } end |
Instance Method Details
#to_jsii ⇒ Object
885 886 887 888 889 890 891 892 893 |
# File 'ops_works/cfn_app.rb', line 885 def to_jsii result = {} result.merge!({ "certificate" => @certificate, "chain" => @chain, "privateKey" => @private_key, }) result.compact end |