PrimaryKey

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

Bases: object

(experimental) Specifies the assignment to the primary key.

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

Stability

experimental

Parameters
Stability

experimental

Methods

render_template()

(experimental) Renders the key assignment to a VTL string.

Stability

experimental

Return type

str

Static Methods

classmethod partition(key)

(experimental) Allows assigning a value to the partition key.

Parameters

key (str) –

Stability

experimental

Return type

PartitionKeyStep