# DynamoReturnValues

Use ReturnValues if you want to get the item attributes as they appear before or after they are changed.

- Source: [`aws-stepfunctions-tasks/lib/dynamodb/shared-types.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/dynamodb/shared-types.ts#L45)

## Members

| Member | Description |
| --- | --- |
| `NONE` | Nothing is returned. |
| `ALL_OLD` | Returns all of the attributes of the item. |
| `UPDATED_OLD` | Returns only the updated attributes. |
| `ALL_NEW` | Returns all of the attributes of the item. |
| `UPDATED_NEW` | Returns only the updated attributes. |

## Referenced by

- [`DynamoDeleteItemJsonataProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoDeleteItemJsonataProps).returnValues
- [`DynamoDeleteItemJsonPathProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoDeleteItemJsonPathProps).returnValues
- [`DynamoDeleteItemProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoDeleteItemProps).returnValues
- [`DynamoPutItemJsonataProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoPutItemJsonataProps).returnValues
- [`DynamoPutItemJsonPathProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoPutItemJsonPathProps).returnValues
- [`DynamoPutItemProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoPutItemProps).returnValues
- [`DynamoUpdateItemJsonataProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoUpdateItemJsonataProps).returnValues
- [`DynamoUpdateItemJsonPathProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoUpdateItemJsonPathProps).returnValues
- [`DynamoUpdateItemProps`](/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoUpdateItemProps).returnValues
