Class: AWSCDK::CloudFront::CfnTrustStore::CaCertificatesBundleS3LocationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
cloud_front/cfn_trust_store.rb

Overview

The CA certificates bundle location in Amazon S3.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket:, key:, region:, version: nil) ⇒ CaCertificatesBundleS3LocationProperty

Returns a new instance of CaCertificatesBundleS3LocationProperty.

Parameters:

  • bucket (String)

    The S3 bucket.

  • key (String)

    The location's key.

  • region (String)

    The location's Region.

  • version (String, nil) (defaults to: nil)

    The location's version.



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

#bucketString (readonly)

The S3 bucket.



615
616
617
# File 'cloud_front/cfn_trust_store.rb', line 615

def bucket
  @bucket
end

#keyString (readonly)

The location's key.



620
621
622
# File 'cloud_front/cfn_trust_store.rb', line 620

def key
  @key
end

#regionString (readonly)

The location's Region.



625
626
627
# File 'cloud_front/cfn_trust_store.rb', line 625

def region
  @region
end

#versionString? (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_propertiesObject



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_jsiiObject



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