Class: AWSCDK::CleanRooms::CfnAnalysisTemplate::HashProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
clean_rooms/cfn_analysis_template.rb

Overview

Hash.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sha256: nil) ⇒ HashProperty

Returns a new instance of HashProperty.

Parameters:

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

    The SHA-256 hash value.



1075
1076
1077
1078
# File 'clean_rooms/cfn_analysis_template.rb', line 1075

def initialize(sha256: nil)
  @sha256 = sha256
  Jsii::Type.check_type(@sha256, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sha256") unless @sha256.nil?
end

Instance Attribute Details

#sha256String? (readonly)

The SHA-256 hash value.



1084
1085
1086
# File 'clean_rooms/cfn_analysis_template.rb', line 1084

def sha256
  @sha256
end

Class Method Details

.jsii_propertiesObject



1086
1087
1088
1089
1090
# File 'clean_rooms/cfn_analysis_template.rb', line 1086

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

Instance Method Details

#to_jsiiObject



1092
1093
1094
1095
1096
1097
1098
# File 'clean_rooms/cfn_analysis_template.rb', line 1092

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