RoleArgs constructor

const RoleArgs({
  1. Input<String>? assumeRole,
  2. Input<bool>? bypassRowLevelSecurity,
  3. Input<int>? connectionLimit,
  4. Input<bool>? createDatabase,
  5. Input<bool>? createRole,
  6. Input<String>? encrypted,
  7. Input<bool>? encryptedPassword,
  8. Input<int>? idleInTransactionSessionTimeout,
  9. Input<bool>? inherit,
  10. Input<bool>? login,
  11. Input<String>? name,
  12. Input<String>? password,
  13. Input<String>? passwordWo,
  14. Input<String>? passwordWoVersion,
  15. Input<bool>? replication,
  16. Input<List<String>>? roles,
  17. Input<List<String>>? searchPaths,
  18. Input<bool>? skipDropRole,
  19. Input<bool>? skipReassignOwned,
  20. Input<int>? statementTimeout,
  21. Input<bool>? superuser,
  22. Input<String>? validUntil,
})

Creates a new RoleArgs. assumeRole Defines the role to switch to at login via SET ROLE. bypassRowLevelSecurity Defines whether a role bypasses every connectionLimit If this role can log in, this specifies how createDatabase Defines a role's ability to execute CREATE [createRole] Defines a role's ability to execute CREATE ROLE. [encrypted] Optional. [encryptedPassword] Defines whether the password is stored [idleInTransactionSessionTimeout] Terminate any session with an open transaction that has been idle for longer than the specified duration in milliseconds [inherit] Defines whether a role "inherits" the privileges of [login] Defines whether role is allowed to log in. Roles without [name] The name of the role. Must be unique on the PostgreSQL [password] Sets the role's password. A password is only of use [passwordWo] **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. [passwordWoVersion] Prevents applies from updating the role password on every [replication] Defines whether a role is allowed to initiate [roles] Defines list of roles which will be granted to this new role. [searchPaths] Alters the search path of this new role. Note that [skipDropRole] When a PostgreSQL ROLE exists in multiple [skipReassignOwned] When a PostgreSQL ROLE exists in multiple [statementTimeout] Defines [statementTimeout`](https://www.postgresql.org/docs/current/runtime-config-client.html#RUNTIME-CONFIG-CLIENT-STATEMENT) setting for this role which allows to abort any statement that takes more than the specified amount of time. superuser Defines whether the role is a "superuser", and validUntil Defines the date and time after which the role's

Implementation

const RoleArgs({
  this.assumeRole,
  this.bypassRowLevelSecurity,
  this.connectionLimit,
  this.createDatabase,
  this.createRole,
  this.encrypted,
  this.encryptedPassword,
  this.idleInTransactionSessionTimeout,
  this.inherit,
  this.login,
  this.name,
  this.password,
  this.passwordWo,
  this.passwordWoVersion,
  this.replication,
  this.roles,
  this.searchPaths,
  this.skipDropRole,
  this.skipReassignOwned,
  this.statementTimeout,
  this.superuser,
  this.validUntil,
});