DatabaseArgs constructor

const DatabaseArgs({
  1. Input<String?>? databaseDialect,
  2. Input<List<String>?>? ddls,
  3. Input<String?>? defaultTimeZone,
  4. Input<String?>? deletionPolicy,
  5. Input<bool?>? deletionProtection,
  6. Input<bool?>? enableDropProtection,
  7. Input<DatabaseEncryptionConfig?>? encryptionConfig,
  8. required Input<String> instance,
  9. Input<String?>? name,
  10. Input<String?>? project,
  11. Input<String?>? versionRetentionPeriod,
})

Creates a new DatabaseArgs. databaseDialect The dialect of the Cloud Spanner Database. ddls An optional list of DDL statements to run inside the database. Statements can create defaultTimeZone The default time zone for the database. The default time zone must be a valid name deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deletionProtection Whether or not to allow the provider to destroy the instance. Unless this field is set to false enableDropProtection Whether drop protection is enabled for this database. Defaults to false. encryptionConfig Encryption configuration for the database instance The instance to create the database on. name A unique identifier for the database, which cannot be changed after the project The ID of the project in which the resource belongs. versionRetentionPeriod The retention period for the database. The retention period must be between 1 hour

Implementation

const DatabaseArgs({
  this.databaseDialect,
  this.ddls,
  this.defaultTimeZone,
  this.deletionPolicy,
  this.deletionProtection,
  this.enableDropProtection,
  this.encryptionConfig,
  required this.instance,
  this.name,
  this.project,
  this.versionRetentionPeriod,
});