Class: AWSCDK::CleanRooms::CfnAnalysisTemplate::S3LocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnAnalysisTemplate::S3LocationProperty
- Defined in:
- clean_rooms/cfn_analysis_template.rb
Overview
The S3 location.
Instance Attribute Summary collapse
-
#bucket ⇒ String
readonly
The bucket name.
-
#key ⇒ String
readonly
The object key.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket:, key:) ⇒ S3LocationProperty
constructor
A new instance of S3LocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket:, key:) ⇒ S3LocationProperty
Returns a new instance of S3LocationProperty.
1166 1167 1168 1169 1170 1171 |
# File 'clean_rooms/cfn_analysis_template.rb', line 1166 def initialize(bucket:, key:) @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") end |
Instance Attribute Details
#bucket ⇒ String (readonly)
The bucket name.
1177 1178 1179 |
# File 'clean_rooms/cfn_analysis_template.rb', line 1177 def bucket @bucket end |
#key ⇒ String (readonly)
The object key.
1182 1183 1184 |
# File 'clean_rooms/cfn_analysis_template.rb', line 1182 def key @key end |
Class Method Details
.jsii_properties ⇒ Object
1184 1185 1186 1187 1188 1189 |
# File 'clean_rooms/cfn_analysis_template.rb', line 1184 def self.jsii_properties { :bucket => "bucket", :key => "key", } end |
Instance Method Details
#to_jsii ⇒ Object
1191 1192 1193 1194 1195 1196 1197 1198 |
# File 'clean_rooms/cfn_analysis_template.rb', line 1191 def to_jsii result = {} result.merge!({ "bucket" => @bucket, "key" => @key, }) result.compact end |