Class SortKeyStep
(experimental) Utility class to allow assigning a value or an auto-generated id to a sort key.
Inheritance
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public class SortKeyStep : DeputyBase
Syntax (vb)
Public Class SortKeyStep
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;
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() | (experimental) Assign an auto-generated value to the sort key. |
Is(String) | (experimental) Assign an auto-generated value to the sort key. |
Constructors
SortKeyStep(Assign, String)
public SortKeyStep(Assign pkey, string skey)
Parameters
- pkey Assign
- skey System.String
Remarks
Stability: Experimental
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()
(experimental) Assign an auto-generated value to the sort key.
public virtual PrimaryKey Auto()
Returns
Remarks
Stability: Experimental
Is(String)
(experimental) Assign an auto-generated value to the sort key.
public virtual PrimaryKey Is(string val)
Parameters
- val System.String
Returns
Remarks
Stability: Experimental