DynamoProjectionExpression

class aws_cdk.aws_stepfunctions_tasks.DynamoProjectionExpression

Bases: object

Class to generate projection expression.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_stepfunctions_tasks as stepfunctions_tasks

dynamo_projection_expression = stepfunctions_tasks.DynamoProjectionExpression()

Methods

at_index(index)

Adds the array literal access for passed index.

Parameters:

index (Union[int, float]) – array index.

Return type:

DynamoProjectionExpression

to_string()

converts and return the string expression.

Return type:

str

with_attribute(attr)

Adds the passed attribute to the chain.

Parameters:

attr (str) – Attribute name.

Return type:

DynamoProjectionExpression