Class: AWSCDK::ElasticLoadBalancingv2::TrustStoreRevocationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticLoadBalancingv2::TrustStoreRevocationProps
- Defined in:
- elastic_load_balancingv2/trust_store_revocation_props.rb
Overview
Properties for the trust store revocation.
Instance Attribute Summary collapse
-
#revocation_contents ⇒ Array<AWSCDK::ElasticLoadBalancingv2::RevocationContent>
readonly
The revocation file to add.
-
#trust_store ⇒ AWSCDK::Interfaces::AWSElasticloadbalancingv2::ITrustStoreRef
readonly
The trust store.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(revocation_contents:, trust_store:) ⇒ TrustStoreRevocationProps
constructor
A new instance of TrustStoreRevocationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(revocation_contents:, trust_store:) ⇒ TrustStoreRevocationProps
Returns a new instance of TrustStoreRevocationProps.
9 10 11 12 13 14 |
# File 'elastic_load_balancingv2/trust_store_revocation_props.rb', line 9 def initialize(revocation_contents:, trust_store:) @revocation_contents = revocation_contents.is_a?(Array) ? revocation_contents.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::ElasticLoadBalancingv2::RevocationContent.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : revocation_contents Jsii::Type.check_type(@revocation_contents, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbGFzdGljbG9hZGJhbGFuY2luZ3YyLlJldm9jYXRpb25Db250ZW50In0sImtpbmQiOiJhcnJheSJ9fQ==")), "revocationContents") @trust_store = trust_store Jsii::Type.check_type(@trust_store, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19lbGFzdGljbG9hZGJhbGFuY2luZ3YyLklUcnVzdFN0b3JlUmVmIn0=")), "trustStore") end |
Instance Attribute Details
#revocation_contents ⇒ Array<AWSCDK::ElasticLoadBalancingv2::RevocationContent> (readonly)
The revocation file to add.
19 20 21 |
# File 'elastic_load_balancingv2/trust_store_revocation_props.rb', line 19 def revocation_contents @revocation_contents end |
#trust_store ⇒ AWSCDK::Interfaces::AWSElasticloadbalancingv2::ITrustStoreRef (readonly)
The trust store.
23 24 25 |
# File 'elastic_load_balancingv2/trust_store_revocation_props.rb', line 23 def trust_store @trust_store end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'elastic_load_balancingv2/trust_store_revocation_props.rb', line 25 def self.jsii_properties { :revocation_contents => "revocationContents", :trust_store => "trustStore", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'elastic_load_balancingv2/trust_store_revocation_props.rb', line 32 def to_jsii result = {} result.merge!({ "revocationContents" => @revocation_contents, "trustStore" => @trust_store, }) result.compact end |