aws_appsync_datasourceNivis 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_idtype
Optional arguments
description(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)region(defaults tonull)service_role_arn(defaults tonull)dynamodb_config(defaults tonull)elasticsearch_config(defaults tonull)event_bridge_config(defaults tonull)http_config(defaults tonull)lambda_config(defaults tonull)opensearchservice_config(defaults tonull)relational_database_config(defaults tonull)
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.