# AttributeValuesStep

Utility class to allow assigning a value to an attribute.

- Source: [`aws-appsync/lib/key.ts`](https://github.com/aws/aws-cdk/blob/v2.273.0/packages/aws-cdk-lib/aws-appsync/lib/key.ts#L224)
- Type last changed: v2.60.0 · 12 Jan 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';

declare const assign: appsync.Assign;
const attributeValuesStep = new appsync.AttributeValuesStep('attr', 'container', [assign]);
```

## Initializer

```ts
new AttributeValuesStep(attr: string, container: string, assignments: Assign[])
```

## Methods

- `is(val: string): AttributeValues` — Assign the value to the current attribute.
