Class SortKeyStep
Utility class to allow assigning a value or an auto-generated id to a sort key.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SortKeyStep : DeputyBase
Syntax (vb)
Public Class SortKeyStep 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;
Assign assign;
var sortKeyStep = new SortKeyStep(assign, "skey");
Synopsis
Constructors
| SortKeyStep(Assign, string) | Utility class to allow assigning a value or an auto-generated id to a sort key. |
Methods
| Auto() | Assign an auto-generated value to the sort key. |
| Is(string) | Assign an auto-generated value to the sort key. |
Constructors
SortKeyStep(Assign, string)
Utility class to allow assigning a value or an auto-generated id to a sort key.
public SortKeyStep(Assign pkey, string skey)
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;
Assign assign;
var sortKeyStep = new SortKeyStep(assign, "skey");
Methods
Auto()
Assign an auto-generated value to the sort key.
public virtual PrimaryKey Auto()
Returns
Remarks
ExampleMetadata: fixture=_generated
Is(string)
Assign an auto-generated value to the sort key.
public virtual PrimaryKey Is(string val)
Parameters
- val string
Returns
Remarks
ExampleMetadata: fixture=_generated