Class: AWSCDK::DataBrew::CfnJob::RecipeProperty

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

Overview

Represents one or more actions to be performed on a DataBrew dataset.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, version: nil) ⇒ RecipeProperty

Returns a new instance of RecipeProperty.

Parameters:

  • name (String)

    The unique name for the recipe.

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

    The identifier for the version for the recipe.



1472
1473
1474
1475
1476
1477
# File 'data_brew/cfn_job.rb', line 1472

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

Instance Attribute Details

#nameString (readonly)

The unique name for the recipe.



1483
1484
1485
# File 'data_brew/cfn_job.rb', line 1483

def name
  @name
end

#versionString? (readonly)

The identifier for the version for the recipe.



1488
1489
1490
# File 'data_brew/cfn_job.rb', line 1488

def version
  @version
end

Class Method Details

.jsii_propertiesObject



1490
1491
1492
1493
1494
1495
# File 'data_brew/cfn_job.rb', line 1490

def self.jsii_properties
  {
    :name => "name",
    :version => "version",
  }
end

Instance Method Details

#to_jsiiObject



1497
1498
1499
1500
1501
1502
1503
1504
# File 'data_brew/cfn_job.rb', line 1497

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