Class: AWSCDK::ElasticLoadBalancingv2::CfnListenerCertificate::CertificateProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
elastic_load_balancingv2/cfn_listener_certificate.rb

Overview

Specifies an SSL server certificate for the certificate list of a secure listener.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(certificate_arn: nil) ⇒ CertificateProperty

Returns a new instance of CertificateProperty.

Parameters:

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

    The Amazon Resource Name (ARN) of the certificate.



511
512
513
514
# File 'elastic_load_balancingv2/cfn_listener_certificate.rb', line 511

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_arnString? (readonly)

The Amazon Resource Name (ARN) of the certificate.



520
521
522
# File 'elastic_load_balancingv2/cfn_listener_certificate.rb', line 520

def certificate_arn
  @certificate_arn
end

Class Method Details

.jsii_propertiesObject



522
523
524
525
526
# File 'elastic_load_balancingv2/cfn_listener_certificate.rb', line 522

def self.jsii_properties
  {
    :certificate_arn => "certificateArn",
  }
end

Instance Method Details

#to_jsiiObject



528
529
530
531
532
533
534
# File 'elastic_load_balancingv2/cfn_listener_certificate.rb', line 528

def to_jsii
  result = {}
  result.merge!({
    "certificateArn" => @certificate_arn,
  })
  result.compact
end