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