Class: AWSCDK::DataBrew::CfnJob::OutputLocationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket:, bucket_owner: nil, key: nil) ⇒ OutputLocationProperty

Returns a new instance of OutputLocationProperty.

Parameters:

  • bucket (String)

    The Amazon S3 bucket name.

  • bucket_owner (String, nil) (defaults to: nil)
  • key (String, nil) (defaults to: nil)

    The unique name of the object in the bucket.



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

#bucketString (readonly)

The Amazon S3 bucket name.



1269
1270
1271
# File 'data_brew/cfn_job.rb', line 1269

def bucket
  @bucket
end

#bucket_ownerString? (readonly)



1272
1273
1274
# File 'data_brew/cfn_job.rb', line 1272

def bucket_owner
  @bucket_owner
end

#keyString? (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_propertiesObject



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_jsiiObject



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