PrimaryKey

class aws_cdk.aws_appsync.PrimaryKey(pkey, skey=None)

Bases: object

Specifies the assignment to the primary key.

It either contains the full primary key or only the partition key.

stability :stability: experimental

Parameters

stability :stability: experimental

Methods

render_template()

Renders the key assignment to a VTL string.

stability :stability: experimental

Return type

str

Static Methods

classmethod partition(key)

Allows assigning a value to the partition key.

Parameters

key (str) –

stability :stability: experimental

Return type

PartitionKeyStep