Class: AWSCDK::CloudFront::CfnTrustStoreProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnTrustStoreProps
- Defined in:
- cloud_front/cfn_trust_store_props.rb
Overview
Properties for defining a CfnTrustStore.
Instance Attribute Summary collapse
-
#ca_certificates_bundle_source ⇒ AWSCDK::IResolvable, ...
readonly
A CA certificates bundle source.
-
#name ⇒ String
readonly
The trust store's name.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
A complex type that contains zero or more
Tagelements. -
#use_client_certificate_ocsp_endpoint ⇒ Boolean, ...
readonly
A boolean.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, ca_certificates_bundle_source: nil, tags: nil, use_client_certificate_ocsp_endpoint: nil) ⇒ CfnTrustStoreProps
constructor
A new instance of CfnTrustStoreProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, ca_certificates_bundle_source: nil, tags: nil, use_client_certificate_ocsp_endpoint: nil) ⇒ CfnTrustStoreProps
Returns a new instance of CfnTrustStoreProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'cloud_front/cfn_trust_store_props.rb', line 13 def initialize(name:, ca_certificates_bundle_source: nil, tags: nil, use_client_certificate_ocsp_endpoint: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @ca_certificates_bundle_source = ca_certificates_bundle_source.is_a?(Hash) ? ::AWSCDK::CloudFront::CfnTrustStore::CaCertificatesBundleSourceProperty.new(**ca_certificates_bundle_source.transform_keys(&:to_sym)) : ca_certificates_bundle_source Jsii::Type.check_type(@ca_certificates_bundle_source, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbG91ZGZyb250LkNmblRydXN0U3RvcmUuQ2FDZXJ0aWZpY2F0ZXNCdW5kbGVTb3VyY2VQcm9wZXJ0eSJ9XX19")), "caCertificatesBundleSource") unless @ca_certificates_bundle_source.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? @use_client_certificate_ocsp_endpoint = use_client_certificate_ocsp_endpoint Jsii::Type.check_type(@use_client_certificate_ocsp_endpoint, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "useClientCertificateOcspEndpoint") unless @use_client_certificate_ocsp_endpoint.nil? end |
Instance Attribute Details
#ca_certificates_bundle_source ⇒ AWSCDK::IResolvable, ... (readonly)
A CA certificates bundle source.
33 34 35 |
# File 'cloud_front/cfn_trust_store_props.rb', line 33 def ca_certificates_bundle_source @ca_certificates_bundle_source end |
#name ⇒ String (readonly)
The trust store's name.
28 29 30 |
# File 'cloud_front/cfn_trust_store_props.rb', line 28 def name @name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
A complex type that contains zero or more Tag elements.
38 39 40 |
# File 'cloud_front/cfn_trust_store_props.rb', line 38 def @tags end |
#use_client_certificate_ocsp_endpoint ⇒ Boolean, ... (readonly)
A boolean.
When true, performs real-time certificate revocation checks by querying the OCSP endpoint specified within the client certificate.
45 46 47 |
# File 'cloud_front/cfn_trust_store_props.rb', line 45 def use_client_certificate_ocsp_endpoint @use_client_certificate_ocsp_endpoint end |
Class Method Details
.jsii_properties ⇒ Object
47 48 49 50 51 52 53 54 |
# File 'cloud_front/cfn_trust_store_props.rb', line 47 def self.jsii_properties { :name => "name", :ca_certificates_bundle_source => "caCertificatesBundleSource", :tags => "tags", :use_client_certificate_ocsp_endpoint => "useClientCertificateOcspEndpoint", } end |
Instance Method Details
#to_jsii ⇒ Object
56 57 58 59 60 61 62 63 64 65 |
# File 'cloud_front/cfn_trust_store_props.rb', line 56 def to_jsii result = {} result.merge!({ "name" => @name, "caCertificatesBundleSource" => @ca_certificates_bundle_source, "tags" => @tags, "useClientCertificateOcspEndpoint" => @use_client_certificate_ocsp_endpoint, }) result.compact end |