Class: AWSCDK::CloudFront::CfnTrustStore::CaCertificatesBundleS3LocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnTrustStore::CaCertificatesBundleS3LocationProperty
- Defined in:
- cloud_front/cfn_trust_store.rb
Overview
The CA certificates bundle location in Amazon S3.
Instance Attribute Summary collapse
-
#bucket ⇒ String
readonly
The S3 bucket.
-
#key ⇒ String
readonly
The location's key.
-
#region ⇒ String
readonly
The location's Region.
-
#version ⇒ String?
readonly
The location's version.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket:, key:, region:, version: nil) ⇒ CaCertificatesBundleS3LocationProperty
constructor
A new instance of CaCertificatesBundleS3LocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket:, key:, region:, version: nil) ⇒ CaCertificatesBundleS3LocationProperty
Returns a new instance of CaCertificatesBundleS3LocationProperty.
600 601 602 603 604 605 606 607 608 609 |
# File 'cloud_front/cfn_trust_store.rb', line 600 def initialize(bucket:, key:, region:, version: nil) @bucket = bucket Jsii::Type.check_type(@bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucket") @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @region = region Jsii::Type.check_type(@region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "region") @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") unless @version.nil? end |
Instance Attribute Details
#bucket ⇒ String (readonly)
The S3 bucket.
615 616 617 |
# File 'cloud_front/cfn_trust_store.rb', line 615 def bucket @bucket end |
#key ⇒ String (readonly)
The location's key.
620 621 622 |
# File 'cloud_front/cfn_trust_store.rb', line 620 def key @key end |
#region ⇒ String (readonly)
The location's Region.
625 626 627 |
# File 'cloud_front/cfn_trust_store.rb', line 625 def region @region end |
#version ⇒ String? (readonly)
The location's version.
630 631 632 |
# File 'cloud_front/cfn_trust_store.rb', line 630 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
632 633 634 635 636 637 638 639 |
# File 'cloud_front/cfn_trust_store.rb', line 632 def self.jsii_properties { :bucket => "bucket", :key => "key", :region => "region", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
641 642 643 644 645 646 647 648 649 650 |
# File 'cloud_front/cfn_trust_store.rb', line 641 def to_jsii result = {} result.merge!({ "bucket" => @bucket, "key" => @key, "region" => @region, "version" => @version, }) result.compact end |