Class: AWSCDK::IoT::CfnSoftwarePackageVersion::PackageVersionArtifactProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t/cfn_software_package_version.rb

Overview

The artifact location of the package version.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_location:) ⇒ PackageVersionArtifactProperty

Returns a new instance of PackageVersionArtifactProperty.

Parameters:



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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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