aws_cognito_resource_serverNivis Nix constructor for the aws_cognito_resource_server 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,
identifier,
user_pool_id,
id ? null,
cfg_name ? null,
region ? null,
scope ? null,
overrides ? {}
}Required arguments
identifieruser_pool_id
Optional arguments
id(defaults tonull)cfg_name(defaults tonull)region(defaults tonull)scope(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
scope_identifiers
Example
aws_cognito_resource_server {
name = "cognito_resource_server";
identifier = …; # required
user_pool_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.