PartitionKeyStep

class aws_cdk.aws_appsync.PartitionKeyStep(key)

Bases: object

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

stability :stability: experimental

__init__(key)
Parameters

key (str) –

stability :stability: experimental

Return type

None

Methods

auto()

Assign an auto-generated value to the partition key.

stability :stability: experimental

Return type

PartitionKey

is_(val)

Assign an auto-generated value to the partition key.

Parameters

val (str) –

stability :stability: experimental

Return type

PartitionKey