Class PartitionKeyStep
(experimental) Utility class to allow assigning a value or an auto-generated id to a partition key.
Inheritance
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public class PartitionKeyStep : DeputyBase
Syntax (vb)
Public Class PartitionKeyStep
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 partitionKeyStep = new PartitionKeyStep("key");
Synopsis
Constructors
PartitionKeyStep(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
PartitionKeyStep(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
PartitionKeyStep(String) |
Methods
Auto() | (experimental) Assign an auto-generated value to the partition key. |
Is(String) | (experimental) Assign an auto-generated value to the partition key. |
Constructors
PartitionKeyStep(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected PartitionKeyStep(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
PartitionKeyStep(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected PartitionKeyStep(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
PartitionKeyStep(String)
public PartitionKeyStep(string key)
Parameters
- key System.String
Remarks
Stability: Experimental
Methods
Auto()
(experimental) Assign an auto-generated value to the partition key.
public virtual PartitionKey Auto()
Returns
Remarks
Stability: Experimental
Is(String)
(experimental) Assign an auto-generated value to the partition key.
public virtual PartitionKey Is(string val)
Parameters
- val System.String
Returns
Remarks
Stability: Experimental