DatabaseArgs constructor
- Input<
String?> ? databaseDialect, - Input<
List< ? ddls,String> ?> - Input<
String?> ? defaultTimeZone, - Input<
String?> ? deletionPolicy, - Input<
bool?> ? deletionProtection, - Input<
bool?> ? enableDropProtection, - Input<
DatabaseEncryptionConfig?> ? encryptionConfig, - required Input<
String> instance, - Input<
String?> ? name, - Input<
String?> ? project, - 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,
});