Class: AWSCDK::DataBrew::CfnJob::OutputLocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataBrew::CfnJob::OutputLocationProperty
- Defined in:
- data_brew/cfn_job.rb
Overview
The location in Amazon S3 or AWS Glue Data Catalog where the job writes its output.
Instance Attribute Summary collapse
-
#bucket ⇒ String
readonly
The Amazon S3 bucket name.
- #bucket_owner ⇒ String? readonly
-
#key ⇒ String?
readonly
The unique name of the object in the bucket.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket:, bucket_owner: nil, key: nil) ⇒ OutputLocationProperty
constructor
A new instance of OutputLocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket:, bucket_owner: nil, key: nil) ⇒ OutputLocationProperty
Returns a new instance of OutputLocationProperty.
1256 1257 1258 1259 1260 1261 1262 1263 |
# File 'data_brew/cfn_job.rb', line 1256 def initialize(bucket:, bucket_owner: nil, key: nil) @bucket = bucket Jsii::Type.check_type(@bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucket") @bucket_owner = bucket_owner Jsii::Type.check_type(@bucket_owner, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketOwner") unless @bucket_owner.nil? @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") unless @key.nil? end |
Instance Attribute Details
#bucket ⇒ String (readonly)
The Amazon S3 bucket name.
1269 1270 1271 |
# File 'data_brew/cfn_job.rb', line 1269 def bucket @bucket end |
#bucket_owner ⇒ String? (readonly)
1272 1273 1274 |
# File 'data_brew/cfn_job.rb', line 1272 def bucket_owner @bucket_owner end |
#key ⇒ String? (readonly)
The unique name of the object in the bucket.
1277 1278 1279 |
# File 'data_brew/cfn_job.rb', line 1277 def key @key end |
Class Method Details
.jsii_properties ⇒ Object
1279 1280 1281 1282 1283 1284 1285 |
# File 'data_brew/cfn_job.rb', line 1279 def self.jsii_properties { :bucket => "bucket", :bucket_owner => "bucketOwner", :key => "key", } end |
Instance Method Details
#to_jsii ⇒ Object
1287 1288 1289 1290 1291 1292 1293 1294 1295 |
# File 'data_brew/cfn_job.rb', line 1287 def to_jsii result = {} result.merge!({ "bucket" => @bucket, "bucketOwner" => @bucket_owner, "key" => @key, }) result.compact end |