Class: AWSCDK::StepFunctionsTasks::DynamoProjectionExpression
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::StepFunctionsTasks::DynamoProjectionExpression
- Defined in:
- step_functions_tasks/dynamo_projection_expression.rb
Overview
Class to generate projection expression.
Class Method Summary collapse
Instance Method Summary collapse
-
#at_index(index) ⇒ AWSCDK::StepFunctionsTasks::DynamoProjectionExpression
Adds the array literal access for passed index.
-
#initialize ⇒ DynamoProjectionExpression
constructor
A new instance of DynamoProjectionExpression.
-
#to_string ⇒ String
converts and return the string expression.
-
#with_attribute(attr) ⇒ AWSCDK::StepFunctionsTasks::DynamoProjectionExpression
Adds the passed attribute to the chain.
Constructor Details
#initialize ⇒ DynamoProjectionExpression
Returns a new instance of DynamoProjectionExpression.
8 9 10 |
# File 'step_functions_tasks/dynamo_projection_expression.rb', line 8 def initialize Jsii::Object.instance_method(:initialize).bind(self).call end |
Class Method Details
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 17 18 |
# File 'step_functions_tasks/dynamo_projection_expression.rb', line 12 def self.jsii_overridable_methods { :at_index => { kind: :method, name: "atIndex", is_optional: false }, :to_string => { kind: :method, name: "toString", is_optional: false }, :with_attribute => { kind: :method, name: "withAttribute", is_optional: false }, } end |
Instance Method Details
#at_index(index) ⇒ AWSCDK::StepFunctionsTasks::DynamoProjectionExpression
Adds the array literal access for passed index.
24 25 26 27 |
# File 'step_functions_tasks/dynamo_projection_expression.rb', line 24 def at_index(index) Jsii::Type.check_type(index, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "index") jsii_call_method("atIndex", [index]) end |
#to_string ⇒ String
converts and return the string expression.
32 33 34 |
# File 'step_functions_tasks/dynamo_projection_expression.rb', line 32 def to_string() jsii_call_method("toString", []) end |
#with_attribute(attr) ⇒ AWSCDK::StepFunctionsTasks::DynamoProjectionExpression
Adds the passed attribute to the chain.
40 41 42 43 |
# File 'step_functions_tasks/dynamo_projection_expression.rb', line 40 def with_attribute(attr) Jsii::Type.check_type(attr, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attr") jsii_call_method("withAttribute", [attr]) end |