PartitionKey¶
-
class
aws_cdk.aws_appsync.
PartitionKey
(pkey)¶ Bases:
aws_cdk.aws_appsync.PrimaryKey
(experimental) Specifies the assignment to the partition key.
It can be enhanced with the assignment of the sort key.
- Stability
experimental
- Parameters
pkey (
Assign
) –- Stability
experimental
Methods
-
render_template
()¶ (experimental) Renders the key assignment to a VTL string.
- Stability
experimental
- Return type
str
-
sort
(key)¶ (experimental) Allows assigning a value to the sort key.
- Parameters
key (
str
) –- Stability
experimental
- Return type
Static Methods
-
classmethod
partition
(key)¶ (experimental) Allows assigning a value to the partition key.
- Parameters
key (
str
) –- Stability
experimental
- Return type