@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.079Z") @Stability(value=Stable) public interface SecondaryIndexProps extends software.amazon.jsii.JsiiSerializable
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.*;
SecondaryIndexProps secondaryIndexProps = SecondaryIndexProps.builder()
.indexName("indexName")
// the properties below are optional
.nonKeyAttributes(List.of("nonKeyAttributes"))
.projectionType(ProjectionType.KEYS_ONLY)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
SecondaryIndexProps.Builder
A builder for
SecondaryIndexProps |
static class |
SecondaryIndexProps.Jsii$Proxy
An implementation for
SecondaryIndexProps |
| Modifier and Type | Method and Description |
|---|---|
static SecondaryIndexProps.Builder |
builder() |
String |
getIndexName()
The name of the secondary index.
|
default List<String> |
getNonKeyAttributes()
The non-key attributes that are projected into the secondary index.
|
default ProjectionType |
getProjectionType()
The set of attributes that are projected into the secondary index.
|
@Stability(value=Stable) @NotNull String getIndexName()
@Stability(value=Stable) @Nullable default List<String> getNonKeyAttributes()
Default: - No additional attributes
@Stability(value=Stable) @Nullable default ProjectionType getProjectionType()
Default: ALL
@Stability(value=Stable) static SecondaryIndexProps.Builder builder()
SecondaryIndexProps.Builder of SecondaryIndexPropsCopyright © 2022. All rights reserved.