You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
maybe a stupid question, but i don't know to use it, thanks very much, it'd be great if can have an example
so, i'd like to create a table with below schema:
dynamodb.CreateTableInput{
AttributeDefinitions: []types.AttributeDefinition{
{
AttributeName: aws.String("accountId"),
AttributeType: types.ScalarAttributeTypeS,
},
{
AttributeName: aws.String("types"),
AttributeType: []string,/// question
},
{
AttributeName: aws.String("items"),
AttributeType: map[string]string,/// question
},
},
KeySchema: []types.KeySchemaElement{
{
AttributeName: aws.String("accountId"),
KeyType: types.KeyTypeHash,
},
},
TableName: aws.String(tableName),
BillingMode: types.BillingModeProvisioned,
}
Beta Was this translation helpful? Give feedback.
All reactions