Class SortKeyStep
Utility class to allow assigning a value or an auto-generated id to a sort key.
Inheritance
System.Object
SortKeyStep
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) | |
SortKeyStep(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SortKeyStep(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
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)
SortKeyStep(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SortKeyStep(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
SortKeyStep(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SortKeyStep(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Auto()
Is(String)
Assign an auto-generated value to the sort key.
public virtual PrimaryKey Is(string val)
Parameters
- val System.String
Returns