aws_s3control_access_grant

Nivis Nix constructor for the aws_s3control_access_grant 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,
  access_grants_location_id,
  permission,
  account_id ? null,
  region ? null,
  s3_prefix_type ? null,
  tags ? null,
  access_grants_location_configuration ? null,
  grantee ? null,
  overrides ? {}
}
Required arguments
  • access_grants_location_id
  • permission
Optional arguments
  • account_id (defaults to null)
  • region (defaults to null)
  • s3_prefix_type (defaults to null)
  • tags (defaults to null)
  • access_grants_location_configuration (defaults to null)
  • grantee (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • access_grant_arn
  • access_grant_id
  • grant_scope
  • id
  • tags_all
Example
aws_s3control_access_grant {
  name = "s3control_access_grant";
  access_grants_location_id = …;  # required
  permission = …;  # required
}

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