toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'hashKey': ?hashKey,
'keySchemas': ?pulumi.Input.mapOptionalInputValue<List<TableGlobalSecondaryIndexKeySchema>, List<Map<String, dynamic>>>(keySchemas, (value) => pulumi.Input.encodeList<TableGlobalSecondaryIndexKeySchema, Map<String, dynamic>>(value, (value) => value.toMap())),
'name': name,
'nonKeyAttributes': ?nonKeyAttributes,
'onDemandThroughput': ?pulumi.Input.mapOptionalInputValue<TableGlobalSecondaryIndexOnDemandThroughput, Map<String, dynamic>>(onDemandThroughput, (value) => value.toMap()),
'projectionType': projectionType,
'rangeKey': ?rangeKey,
'readCapacity': ?readCapacity,
'warmThroughput': ?pulumi.Input.mapOptionalInputValue<TableGlobalSecondaryIndexWarmThroughput, Map<String, dynamic>>(warmThroughput, (value) => value.toMap()),
'writeCapacity': ?writeCapacity,
};
}