@Stability(value=Stable)
public static interface CfnTable.GlobalSecondaryIndexProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
GlobalSecondaryIndexProperty globalSecondaryIndexProperty = GlobalSecondaryIndexProperty.builder()
.indexName("indexName")
.keySchema(List.of(KeySchemaProperty.builder()
.attributeName("attributeName")
.keyType("keyType")
.build()))
.projection(ProjectionProperty.builder()
.nonKeyAttributes(List.of("nonKeyAttributes"))
.projectionType("projectionType")
.build())
// the properties below are optional
.contributorInsightsSpecification(ContributorInsightsSpecificationProperty.builder()
.enabled(false)
.build())
.provisionedThroughput(ProvisionedThroughputProperty.builder()
.readCapacityUnits(123)
.writeCapacityUnits(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTable.GlobalSecondaryIndexProperty.Builder
A builder for
CfnTable.GlobalSecondaryIndexProperty |
static class |
CfnTable.GlobalSecondaryIndexProperty.Jsii$Proxy
An implementation for
CfnTable.GlobalSecondaryIndexProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTable.GlobalSecondaryIndexProperty.Builder |
builder() |
default Object |
getContributorInsightsSpecification()
`CfnTable.GlobalSecondaryIndexProperty.ContributorInsightsSpecification`.
|
String |
getIndexName()
`CfnTable.GlobalSecondaryIndexProperty.IndexName`.
|
Object |
getKeySchema()
`CfnTable.GlobalSecondaryIndexProperty.KeySchema`.
|
Object |
getProjection()
`CfnTable.GlobalSecondaryIndexProperty.Projection`.
|
default Object |
getProvisionedThroughput()
`CfnTable.GlobalSecondaryIndexProperty.ProvisionedThroughput`.
|
@Stability(value=Stable) @Nullable default Object getContributorInsightsSpecification()
@Stability(value=Stable) @NotNull String getIndexName()
@Stability(value=Stable) @NotNull Object getKeySchema()
@Stability(value=Stable) @NotNull Object getProjection()
@Stability(value=Stable) @Nullable default Object getProvisionedThroughput()
@Stability(value=Stable) static CfnTable.GlobalSecondaryIndexProperty.Builder builder()
Copyright © 2021. All rights reserved.