Class: AWSCDK::ElasticLoadBalancingv2::CfnListenerCertificateProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticLoadBalancingv2::CfnListenerCertificateProps
- Defined in:
- elastic_load_balancingv2/cfn_listener_certificate_props.rb
Overview
Properties for defining a CfnListenerCertificate.
Instance Attribute Summary collapse
-
#certificates ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::ElasticLoadBalancingv2::CfnListenerCertificate::CertificateProperty>
readonly
The certificate.
-
#listener_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the listener.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificates:, listener_arn:) ⇒ CfnListenerCertificateProps
constructor
A new instance of CfnListenerCertificateProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificates:, listener_arn:) ⇒ CfnListenerCertificateProps
Returns a new instance of CfnListenerCertificateProps.
11 12 13 14 15 16 |
# File 'elastic_load_balancingv2/cfn_listener_certificate_props.rb', line 11 def initialize(certificates:, listener_arn:) @certificates = certificates Jsii::Type.check_type(@certificates, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWxhc3RpY2xvYWRiYWxhbmNpbmd2Mi5DZm5MaXN0ZW5lckNlcnRpZmljYXRlLkNlcnRpZmljYXRlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "certificates") @listener_arn = listener_arn Jsii::Type.check_type(@listener_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "listenerArn") end |
Instance Attribute Details
#certificates ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::ElasticLoadBalancingv2::CfnListenerCertificate::CertificateProperty> (readonly)
The certificate.
You can specify one certificate per resource.
24 25 26 |
# File 'elastic_load_balancingv2/cfn_listener_certificate_props.rb', line 24 def certificates @certificates end |
#listener_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the listener.
29 30 31 |
# File 'elastic_load_balancingv2/cfn_listener_certificate_props.rb', line 29 def listener_arn @listener_arn end |
Class Method Details
.jsii_properties ⇒ Object
31 32 33 34 35 36 |
# File 'elastic_load_balancingv2/cfn_listener_certificate_props.rb', line 31 def self.jsii_properties { :certificates => "certificates", :listener_arn => "listenerArn", } end |
Instance Method Details
#to_jsii ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'elastic_load_balancingv2/cfn_listener_certificate_props.rb', line 38 def to_jsii result = {} result.merge!({ "certificates" => @certificates, "listenerArn" => @listener_arn, }) result.compact end |