# 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.278.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`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoDeleteItemJsonataProps.html).returnValues
- [`DynamoDeleteItemJsonPathProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoDeleteItemJsonPathProps.html).returnValues
- [`DynamoDeleteItemProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoDeleteItemProps.html).returnValues
- [`DynamoPutItemJsonataProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoPutItemJsonataProps.html).returnValues
- [`DynamoPutItemJsonPathProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoPutItemJsonPathProps.html).returnValues
- [`DynamoPutItemProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoPutItemProps.html).returnValues
- [`DynamoUpdateItemJsonataProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoUpdateItemJsonataProps.html).returnValues
- [`DynamoUpdateItemJsonPathProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoUpdateItemJsonPathProps.html).returnValues
- [`DynamoUpdateItemProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions_tasks.DynamoUpdateItemProps.html).returnValues
