toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'hashKey': hashKey,
    'keySchemas': pulumi.Input.mapInputValue<List<GetTableGlobalSecondaryIndexKeySchema>, List<Map<String, dynamic>>>(keySchemas, (value) => pulumi.Input.encodeList<GetTableGlobalSecondaryIndexKeySchema, Map<String, dynamic>>(value, (value) => value.toMap())),
    'name': name,
    'nonKeyAttributes': nonKeyAttributes,
    'onDemandThroughputs': pulumi.Input.mapInputValue<List<GetTableGlobalSecondaryIndexOnDemandThroughput>, List<Map<String, dynamic>>>(onDemandThroughputs, (value) => pulumi.Input.encodeList<GetTableGlobalSecondaryIndexOnDemandThroughput, Map<String, dynamic>>(value, (value) => value.toMap())),
    'projectionType': projectionType,
    'rangeKey': rangeKey,
    'readCapacity': readCapacity,
    'warmThroughputs': pulumi.Input.mapInputValue<List<GetTableGlobalSecondaryIndexWarmThroughput>, List<Map<String, dynamic>>>(warmThroughputs, (value) => pulumi.Input.encodeList<GetTableGlobalSecondaryIndexWarmThroughput, Map<String, dynamic>>(value, (value) => value.toMap())),
    'writeCapacity': writeCapacity,
  };
}