Assign
- class aws_cdk.aws_appsync.Assign(attr, arg)
Bases:
object
Utility class representing the assigment of a value to an attribute.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_appsync as appsync assign = appsync.Assign("attr", "arg")
- Parameters:
attr (
str
) –arg (
str
) –
Methods
- put_in_map(map)
Renders the assignment as a map element.
- Parameters:
map (
str
) –- Return type:
str
- render_as_assignment()
Renders the assignment as a VTL string.
- Return type:
str