Class Assign
Utility class representing the assigment of a value to an attribute.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Assign : DeputyBase
Syntax (vb)
Public Class Assign Inherits DeputyBase
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var assign = new Assign("attr", "arg");
Synopsis
Constructors
Assign(string, string) | Utility class representing the assigment of a value to an attribute. |
Methods
PutInMap(string) | Renders the assignment as a map element. |
RenderAsAssignment() | Renders the assignment as a VTL string. |
Constructors
Assign(string, string)
Utility class representing the assigment of a value to an attribute.
public Assign(string attr, string arg)
Parameters
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var assign = new Assign("attr", "arg");
Methods
PutInMap(string)
Renders the assignment as a map element.
public virtual string PutInMap(string map)
Parameters
- map string
Returns
Remarks
ExampleMetadata: fixture=_generated
RenderAsAssignment()
Renders the assignment as a VTL string.
public virtual string RenderAsAssignment()
Returns
Remarks
ExampleMetadata: fixture=_generated