RoleState constructor
- Input<
String> ? assumeRole, - Input<
bool> ? bypassRowLevelSecurity, - Input<
int> ? connectionLimit, - Input<
bool> ? createDatabase, - Input<
bool> ? createRole, - Input<
String> ? encrypted, - Input<
bool> ? encryptedPassword, - Input<
int> ? idleInTransactionSessionTimeout, - Input<
bool> ? inherit, - Input<
bool> ? login, - Input<
String> ? name, - Input<
String> ? password, - Input<
String> ? passwordWo, - Input<
String> ? passwordWoVersion, - Input<
bool> ? replication, - Input<
List< ? roles,String> > - Input<
List< ? searchPaths,String> > - Input<
bool> ? skipDropRole, - Input<
bool> ? skipReassignOwned, - Input<
int> ? statementTimeout, - Input<
bool> ? superuser, - Input<
String> ? validUntil,
Creates a new RoleState.
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 RoleState({
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,
});