PartitionKeyStep

class aws_cdk.aws_appsync.PartitionKeyStep(key)

Bases: object

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

Stability

experimental

Parameters

key (str) –

Stability

experimental

Methods

auto()

(experimental) Assign an auto-generated value to the partition key.

Stability

experimental

Return type

PartitionKey

is_(val)

(experimental) Assign an auto-generated value to the partition key.

Parameters

val (str) –

Stability

experimental

Return type

PartitionKey