toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'arn': ?arn,
    'indexName': ?indexName,
    'keySchemas': ?pulumi.Input.mapOptionalInputValue<List<GlobalSecondaryIndexKeySchema>, List<Map<String, dynamic>>>(keySchemas, (value) => pulumi.Input.encodeList<GlobalSecondaryIndexKeySchema, Map<String, dynamic>>(value, (value) => value.toMap())),
    'onDemandThroughput': ?pulumi.Input.mapOptionalInputValue<GlobalSecondaryIndexOnDemandThroughput, Map<String, dynamic>>(onDemandThroughput, (value) => value.toMap()),
    'projection': ?pulumi.Input.mapOptionalInputValue<GlobalSecondaryIndexProjection, Map<String, dynamic>>(projection, (value) => value.toMap()),
    'provisionedThroughput': ?pulumi.Input.mapOptionalInputValue<GlobalSecondaryIndexProvisionedThroughput, Map<String, dynamic>>(provisionedThroughput, (value) => value.toMap()),
    'region': ?region,
    'tableName': ?tableName,
    'timeouts': ?pulumi.Input.mapOptionalInputValue<GlobalSecondaryIndexTimeouts, Map<String, dynamic>>(timeouts, (value) => value.toMap()),
    'warmThroughput': ?pulumi.Input.mapOptionalInputValue<GlobalSecondaryIndexWarmThroughput, Map<String, dynamic>>(warmThroughput, (value) => value.toMap()),
  };
}