Class: AWSCDK::IoT::CfnSoftwarePackageVersion::PackageVersionArtifactProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnSoftwarePackageVersion::PackageVersionArtifactProperty
- Defined in:
- io_t/cfn_software_package_version.rb
Overview
The artifact location of the package version.
Instance Attribute Summary collapse
-
#s3_location ⇒ AWSCDK::IResolvable, AWSCDK::IoT::CfnSoftwarePackageVersion::S3LocationProperty
readonly
The Amazon S3 location.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_location:) ⇒ PackageVersionArtifactProperty
constructor
A new instance of PackageVersionArtifactProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_location:) ⇒ PackageVersionArtifactProperty
Returns a new instance of PackageVersionArtifactProperty.
635 636 637 638 |
# File 'io_t/cfn_software_package_version.rb', line 635 def initialize(s3_location:) @s3_location = s3_location.is_a?(Hash) ? ::AWSCDK::IoT::CfnSoftwarePackageVersion::S3LocationProperty.new(**s3_location.transform_keys(&:to_sym)) : s3_location Jsii::Type.check_type(@s3_location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3QuQ2ZuU29mdHdhcmVQYWNrYWdlVmVyc2lvbi5TM0xvY2F0aW9uUHJvcGVydHkifV19fQ==")), "s3Location") end |
Instance Attribute Details
#s3_location ⇒ AWSCDK::IResolvable, AWSCDK::IoT::CfnSoftwarePackageVersion::S3LocationProperty (readonly)
The Amazon S3 location.
644 645 646 |
# File 'io_t/cfn_software_package_version.rb', line 644 def s3_location @s3_location end |
Class Method Details
.jsii_properties ⇒ Object
646 647 648 649 650 |
# File 'io_t/cfn_software_package_version.rb', line 646 def self.jsii_properties { :s3_location => "s3Location", } end |
Instance Method Details
#to_jsii ⇒ Object
652 653 654 655 656 657 658 |
# File 'io_t/cfn_software_package_version.rb', line 652 def to_jsii result = {} result.merge!({ "s3Location" => @s3_location, }) result.compact end |