Class: AWSCDK::DataBrew::CfnRecipe::ActionProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operation:, parameters: nil) ⇒ ActionProperty

Returns a new instance of ActionProperty.

Parameters:

  • operation (String)

    The name of a valid DataBrew transformation to be performed on the data.

  • parameters (AWSCDK::IResolvable, Hash{String => String}, nil) (defaults to: nil)

    Contextual parameters for the transformation.



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

#operationString (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

#parametersAWSCDK::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_propertiesObject



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_jsiiObject



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