@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.030Z") @Stability(value=Stable) public enum AttributeType extends Enum<AttributeType>
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());
| Enum Constant and Description |
|---|
BINARY
Up to 400KiB of binary data (which must be encoded as base64 before sending to DynamoDB).
|
NUMBER
Numeric values made of up to 38 digits (positive, negative or zero).
|
STRING
Up to 400KiB of UTF-8 encoded text.
|
| Modifier and Type | Method and Description |
|---|---|
static AttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final AttributeType BINARY
@Stability(value=Stable) public static final AttributeType NUMBER
@Stability(value=Stable) public static final AttributeType STRING
public static AttributeType[] values()
for (AttributeType c : AttributeType.values()) System.out.println(c);
public static AttributeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.