Class: AWSCDK::ElasticLoadBalancingv2::CfnListener::CertificateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticLoadBalancingv2::CfnListener::CertificateProperty
- Defined in:
- elastic_load_balancingv2/cfn_listener.rb
Overview
Specifies an SSL server certificate to use as the default certificate for a secure listener.
Instance Attribute Summary collapse
-
#certificate_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the certificate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificate_arn: nil) ⇒ CertificateProperty
constructor
A new instance of CertificateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificate_arn: nil) ⇒ CertificateProperty
Returns a new instance of CertificateProperty.
1019 1020 1021 1022 |
# File 'elastic_load_balancingv2/cfn_listener.rb', line 1019 def initialize(certificate_arn: nil) @certificate_arn = certificate_arn Jsii::Type.check_type(@certificate_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateArn") unless @certificate_arn.nil? end |
Instance Attribute Details
#certificate_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the certificate.
1028 1029 1030 |
# File 'elastic_load_balancingv2/cfn_listener.rb', line 1028 def certificate_arn @certificate_arn end |
Class Method Details
.jsii_properties ⇒ Object
1030 1031 1032 1033 1034 |
# File 'elastic_load_balancingv2/cfn_listener.rb', line 1030 def self.jsii_properties { :certificate_arn => "certificateArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1036 1037 1038 1039 1040 1041 1042 |
# File 'elastic_load_balancingv2/cfn_listener.rb', line 1036 def to_jsii result = {} result.merge!({ "certificateArn" => @certificate_arn, }) result.compact end |