Class: AWSCDK::DataBrew::CfnJob::RecipeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataBrew::CfnJob::RecipeProperty
- Defined in:
- data_brew/cfn_job.rb
Overview
Represents one or more actions to be performed on a DataBrew dataset.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The unique name for the recipe.
-
#version ⇒ String?
readonly
The identifier for the version for the recipe.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, version: nil) ⇒ RecipeProperty
constructor
A new instance of RecipeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, version: nil) ⇒ RecipeProperty
Returns a new instance of RecipeProperty.
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
#name ⇒ String (readonly)
The unique name for the recipe.
1483 1484 1485 |
# File 'data_brew/cfn_job.rb', line 1483 def name @name end |
#version ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |