Assign

class aws_cdk.aws_appsync.Assign(attr, arg)

Bases: object

Utility class representing the assigment of a value to an attribute.

stability :stability: experimental

Parameters
  • attr (str) –

  • arg (str) –

stability :stability: experimental

Methods

put_in_map(map)

Renders the assignment as a map element.

Parameters

map (str) –

stability :stability: experimental

Return type

str

render_as_assignment()

Renders the assignment as a VTL string.

stability :stability: experimental

Return type

str