Values

class aws_cdk.aws_appsync.Values

Bases: object

Factory class for attribute value assignments.

stability :stability: experimental

stability :stability: experimental

Static Methods

classmethod attribute(attr)

Allows assigning a value to the specified attribute.

Parameters

attr (str) –

stability :stability: experimental

Return type

AttributeValuesStep

classmethod projecting(arg=None)

Treats the specified object as a map of assignments, where the property names represent attribute names.

It’s opinionated about how it represents some of the nested objects: e.g., it will use lists (“L”) rather than sets (“SS”, “NS”, “BS”). By default it projects the argument container (“$ctx.args”).

Parameters

arg (Optional[str]) –

stability :stability: experimental

Return type

AttributeValues