aws_appsync_datasource

Nivis Nix constructor for the aws_appsync_datasource resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  api_id,
  type,
  description ? null,
  id ? null,
  cfg_name ? null,
  region ? null,
  service_role_arn ? null,
  dynamodb_config ? null,
  elasticsearch_config ? null,
  event_bridge_config ? null,
  http_config ? null,
  lambda_config ? null,
  opensearchservice_config ? null,
  relational_database_config ? null,
  overrides ? {}
}
Required arguments
  • api_id
  • type
Optional arguments
  • description (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • service_role_arn (defaults to null)
  • dynamodb_config (defaults to null)
  • elasticsearch_config (defaults to null)
  • event_bridge_config (defaults to null)
  • http_config (defaults to null)
  • lambda_config (defaults to null)
  • opensearchservice_config (defaults to null)
  • relational_database_config (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
Example
aws_appsync_datasource {
  name = "appsync_datasource";
  api_id = …;  # required
  type = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.