SortKeyStep

class aws_cdk.aws_appsync.SortKeyStep(pkey, skey)

Bases: object

Utility class to allow assigning a value or an auto-generated id to a sort key.

stability :stability: experimental

__init__(pkey, skey)
Parameters
  • pkey (Assign) –

  • skey (str) –

stability :stability: experimental

Return type

None

Methods

auto()

Assign an auto-generated value to the sort key.

stability :stability: experimental

Return type

PrimaryKey

is_(val)

Assign an auto-generated value to the sort key.

Parameters

val (str) –

stability :stability: experimental

Return type

PrimaryKey