Class: AWSCDK::IoT::CfnSoftwarePackageVersion::SbomProperty

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

Overview

The sbom zip archive location of the package version.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_location:) ⇒ SbomProperty

Returns a new instance of SbomProperty.

Parameters:



721
722
723
724
# File 'io_t/cfn_software_package_version.rb', line 721

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



732
733
734
735
736
# File 'io_t/cfn_software_package_version.rb', line 732

def self.jsii_properties
  {
    :s3_location => "s3Location",
  }
end

Instance Method Details

#to_jsiiObject



738
739
740
741
742
743
744
# File 'io_t/cfn_software_package_version.rb', line 738

def to_jsii
  result = {}
  result.merge!({
    "s3Location" => @s3_location,
  })
  result.compact
end