Class: AWSCDK::IoT::CfnSoftwarePackageVersion::S3LocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnSoftwarePackageVersion::S3LocationProperty
- Defined in:
- io_t/cfn_software_package_version.rb
Overview
The Amazon S3 location.
Instance Attribute Summary collapse
-
#bucket ⇒ String
readonly
The S3 bucket.
-
#key ⇒ String
readonly
The S3 key.
-
#version ⇒ String
readonly
The S3 version.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket:, key:, version:) ⇒ S3LocationProperty
constructor
A new instance of S3LocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket:, key:, version:) ⇒ S3LocationProperty
Returns a new instance of S3LocationProperty.
670 671 672 673 674 675 676 677 |
# File 'io_t/cfn_software_package_version.rb', line 670 def initialize(bucket:, key:, version:) @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") @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") end |
Instance Attribute Details
#bucket ⇒ String (readonly)
The S3 bucket.
683 684 685 |
# File 'io_t/cfn_software_package_version.rb', line 683 def bucket @bucket end |
#key ⇒ String (readonly)
The S3 key.
688 689 690 |
# File 'io_t/cfn_software_package_version.rb', line 688 def key @key end |
#version ⇒ String (readonly)
The S3 version.
693 694 695 |
# File 'io_t/cfn_software_package_version.rb', line 693 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
695 696 697 698 699 700 701 |
# File 'io_t/cfn_software_package_version.rb', line 695 def self.jsii_properties { :bucket => "bucket", :key => "key", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
703 704 705 706 707 708 709 710 711 |
# File 'io_t/cfn_software_package_version.rb', line 703 def to_jsii result = {} result.merge!({ "bucket" => @bucket, "key" => @key, "version" => @version, }) result.compact end |