Class: AWSCDK::DataBrew::CfnDataset::MetadataProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataBrew::CfnDataset::MetadataProperty
- Defined in:
- data_brew/cfn_dataset.rb
Overview
Contains additional resource information needed for specific datasets.
Instance Attribute Summary collapse
-
#source_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) associated with the dataset.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_arn: nil) ⇒ MetadataProperty
constructor
A new instance of MetadataProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_arn: nil) ⇒ MetadataProperty
Returns a new instance of MetadataProperty.
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_arn ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |