@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-09T19:16:39.950Z")
public interface Attribute
Example:
Table globalTable = Table.Builder.create(this, "Table") .partitionKey(Attribute.builder().name("id").type(AttributeType.STRING).build()) .replicationRegions(List.of("us-east-1", "us-east-2", "us-west-2")) .billingMode(BillingMode.PROVISIONED) .build(); globalTable.autoScaleWriteCapacity(EnableScalingProps.builder() .minCapacity(1) .maxCapacity(10) .build()).scaleOnUtilization(UtilizationScalingProps.builder().targetUtilizationPercent(75).build());
Modifier and Type | Interface and Description |
---|---|
static class |
Attribute.Builder
A builder for
Attribute |
static class |
Attribute.Jsii$Proxy
An implementation for
Attribute |
Modifier and Type | Method and Description |
---|---|
static Attribute.Builder |
builder() |
java.lang.String |
getName()
The name of an attribute.
|
AttributeType |
getType()
The data type of an attribute.
|
java.lang.String getName()
AttributeType getType()
static Attribute.Builder builder()
Attribute.Builder
of Attribute