Class Assign
(experimental) Utility class representing the assigment of a value to an attribute.
Inheritance
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public class Assign : DeputyBase
Syntax (vb)
Public Class Assign
Inherits DeputyBase
Remarks
Stability: Experimental
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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Assign(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Assign(String, String) |
Methods
PutInMap(String) | (experimental) Renders the assignment as a map element. |
RenderAsAssignment() | (experimental) 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.ByRefValue
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.DeputyBase.DeputyProps
The deputy props
Assign(String, String)
public Assign(string attr, string arg)
Parameters
- attr System.String
- arg System.String
Remarks
Stability: Experimental
Methods
PutInMap(String)
(experimental) Renders the assignment as a map element.
public virtual string PutInMap(string map)
Parameters
- map System.String
Returns
System.String
Remarks
Stability: Experimental
RenderAsAssignment()
(experimental) Renders the assignment as a VTL string.
public virtual string RenderAsAssignment()
Returns
System.String
Remarks
Stability: Experimental