Class: AWSCDK::CleanRooms::CfnAnalysisTemplate::S3LocationProperty

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

Overview

The S3 location.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket:, key:) ⇒ S3LocationProperty

Returns a new instance of S3LocationProperty.

Parameters:

  • bucket (String)

    The bucket name.

  • key (String)

    The object key.



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

#bucketString (readonly)

The bucket name.



1177
1178
1179
# File 'clean_rooms/cfn_analysis_template.rb', line 1177

def bucket
  @bucket
end

#keyString (readonly)

The object key.



1182
1183
1184
# File 'clean_rooms/cfn_analysis_template.rb', line 1182

def key
  @key
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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