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
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_appsync as appsync partition_key_step = appsync.PartitionKeyStep("key")
- Parameters:
key (
str
) –- Stability:
experimental
Methods
- auto()
(experimental) Assign an auto-generated value to the partition key.
- Stability:
experimental
- Return type:
- is_(val)
(experimental) Assign an auto-generated value to the partition key.
- Parameters:
val (
str
) –- Stability:
experimental
- Return type: