Class: AWSCDK::DataBrew::CfnRecipe::ActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataBrew::CfnRecipe::ActionProperty
- Defined in:
- data_brew/cfn_recipe.rb
Overview
Represents a transformation and associated parameters that are used to apply a change to an AWS Glue DataBrew dataset.
Instance Attribute Summary collapse
-
#operation ⇒ String
readonly
The name of a valid DataBrew transformation to be performed on the data.
-
#parameters ⇒ AWSCDK::IResolvable, ...
readonly
Contextual parameters for the transformation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(operation:, parameters: nil) ⇒ ActionProperty
constructor
A new instance of ActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(operation:, parameters: nil) ⇒ ActionProperty
Returns a new instance of ActionProperty.
542 543 544 545 546 547 |
# File 'data_brew/cfn_recipe.rb', line 542 def initialize(operation:, parameters: nil) @operation = operation Jsii::Type.check_type(@operation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "operation") @parameters = parameters Jsii::Type.check_type(@parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "parameters") unless @parameters.nil? end |
Instance Attribute Details
#operation ⇒ String (readonly)
The name of a valid DataBrew transformation to be performed on the data.
553 554 555 |
# File 'data_brew/cfn_recipe.rb', line 553 def operation @operation end |
#parameters ⇒ AWSCDK::IResolvable, ... (readonly)
Contextual parameters for the transformation.
558 559 560 |
# File 'data_brew/cfn_recipe.rb', line 558 def parameters @parameters end |
Class Method Details
.jsii_properties ⇒ Object
560 561 562 563 564 565 |
# File 'data_brew/cfn_recipe.rb', line 560 def self.jsii_properties { :operation => "operation", :parameters => "parameters", } end |
Instance Method Details
#to_jsii ⇒ Object
567 568 569 570 571 572 573 574 |
# File 'data_brew/cfn_recipe.rb', line 567 def to_jsii result = {} result.merge!({ "operation" => @operation, "parameters" => @parameters, }) result.compact end |