Class: AWSCDK::DataBrew::CfnDataset::MetadataProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_brew/cfn_dataset.rb

Overview

Contains additional resource information needed for specific datasets.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_arn: nil) ⇒ MetadataProperty

Returns a new instance of MetadataProperty.

Parameters:

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

    The Amazon Resource Name (ARN) associated with the dataset.



1241
1242
1243
1244
# File 'data_brew/cfn_dataset.rb', line 1241

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

Instance Attribute Details

#source_arnString? (readonly)

The Amazon Resource Name (ARN) associated with the dataset.

Currently, DataBrew only supports ARNs from Amazon AppFlow.



1252
1253
1254
# File 'data_brew/cfn_dataset.rb', line 1252

def source_arn
  @source_arn
end

Class Method Details

.jsii_propertiesObject



1254
1255
1256
1257
1258
# File 'data_brew/cfn_dataset.rb', line 1254

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

Instance Method Details

#to_jsiiObject



1260
1261
1262
1263
1264
1265
1266
# File 'data_brew/cfn_dataset.rb', line 1260

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