Class: AWSCDK::OpsWorks::CfnApp::SSLConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ops_works/cfn_app.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(certificate: nil, chain: nil, private_key: nil) ⇒ SSLConfigurationProperty

Returns a new instance of SSLConfigurationProperty.

Parameters:

  • certificate (String, nil) (defaults to: nil)

    The contents of the certificate's domain.crt file.

  • chain (String, nil) (defaults to: nil)

    Optional.

  • private_key (String, nil) (defaults to: nil)

    The private key;



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

#certificateString? (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

#chainString? (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_keyString? (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_propertiesObject



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_jsiiObject



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