Class: AWSCDK::ElasticLoadBalancingv2::CfnListener::CertificateProperty

Inherits:
Jsii::Struct
  • Object
show all
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

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.



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_arnString? (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_propertiesObject



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_jsiiObject



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