SchemaPolicy constructor

const SchemaPolicy({
  1. Input<bool>? create,
  2. Input<bool>? createWithGrant,
  3. Input<String>? role,
  4. Input<bool>? usage,
  5. Input<bool>? usageWithGrant,
})

Creates a new SchemaPolicy. create Should the specified ROLE have CREATE privileges to the specified SCHEMA. createWithGrant Should the specified ROLE have CREATE privileges to the specified SCHEMA and the ability to GRANT the CREATE privilege to other ROLEs. role The ROLE who is receiving the policy. If this value is empty or not specified it implies the policy is referring to the PUBLIC role. usage Should the specified ROLE have USAGE privileges to the specified SCHEMA. usageWithGrant Should the specified ROLE have USAGE privileges to the specified SCHEMA and the ability to GRANT the USAGE privilege to other ROLEs.

Implementation

const SchemaPolicy({
  this.create,
  this.createWithGrant,
  this.role,
  this.usage,
  this.usageWithGrant,
});