Class Assign
Utility class representing the assigment of a value to an attribute.
Inheritance
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(By |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Assign(Deputy |
Used by jsii to construct an instance of this class from DeputyProps |
Assign(String, String) |
Methods
Put |
Renders the assignment as a map element. |
Render |
Renders the assignment as a VTL string. |
Constructors
Assign(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Assign(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
Assign(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Assign(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
Assign(String, String)
public Assign(string attr, string arg)
Parameters
- attr System.
String - arg System.
String
Methods
PutInMap(String)
Renders the assignment as a map element.
public virtual string PutInMap(string map)
Parameters
- map System.
String
Returns
System.
RenderAsAssignment()
Renders the assignment as a VTL string.
public virtual string RenderAsAssignment()
Returns
System.