Interface SchemaOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
GlobalSecondaryIndexProps, TableOptions, TableProps
All Known Implementing Classes:
GlobalSecondaryIndexProps.Jsii$Proxy, SchemaOptions.Jsii$Proxy, TableOptions.Jsii$Proxy, TableProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:05.560Z") @Stability(Stable) public interface SchemaOptions extends software.amazon.jsii.JsiiSerializable
Represents the table schema attributes.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.dynamodb.*;
 SchemaOptions schemaOptions = SchemaOptions.builder()
         .partitionKey(Attribute.builder()
                 .name("name")
                 .type(AttributeType.BINARY)
                 .build())
         // the properties below are optional
         .sortKey(Attribute.builder()
                 .name("name")
                 .type(AttributeType.BINARY)
                 .build())
         .build();
 
  • Method Details