Class DatabaseArgs


  • public final class DatabaseArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • applyImmediately

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> applyImmediately()
        Returns:
        When true , applies changes immediately. When false , applies changes during the preferred maintenance window. Some changes may cause an outage.
      • availabilityZone

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> availabilityZone()
        Returns:
        The Availability Zone in which to create your new database. Use the us-east-2a case-sensitive format.
      • backupRetentionEnabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> backupRetentionEnabled()
        Returns:
        When true, enables automated backup retention for your database. When false, disables automated backup retention for your database. Disabling backup retention deletes all automated database backups. Before disabling this, you may want to create a snapshot of your database.
      • blueprintId

        public com.pulumi.core.Output<java.lang.String> blueprintId()
        Returns:
        The blueprint ID for your new database. A blueprint describes the major engine version of a database. You can get a list of database blueprints IDs by using the AWS CLI command: `aws lightsail get-relational-database-blueprints`
      • bundleId

        public com.pulumi.core.Output<java.lang.String> bundleId()
        Returns:
        The bundle ID for your new database. A bundle describes the performance specifications for your database (see list below). You can get a list of database bundle IDs by using the AWS CLI command: `aws lightsail get-relational-database-bundles`.
      • finalSnapshotName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> finalSnapshotName()
        Returns:
        The name of the database snapshot created if skip final snapshot is false, which is the default value for that parameter.
      • masterDatabaseName

        public com.pulumi.core.Output<java.lang.String> masterDatabaseName()
        Returns:
        The name of the master database created when the Lightsail database resource is created.
      • masterPassword

        public com.pulumi.core.Output<java.lang.String> masterPassword()
        Returns:
        The password for the master user of your new database. The password can include any printable ASCII character except "/", """, or "@".
      • masterUsername

        public com.pulumi.core.Output<java.lang.String> masterUsername()
        Returns:
        The master user name for your new database.
      • preferredBackupWindow

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> preferredBackupWindow()
        Returns:
        The daily time range during which automated backups are created for your new database if automated backups are enabled. Must be in the hh24:mi-hh24:mi format. Example: `16:00-16:30`. Specified in Coordinated Universal Time (UTC).
      • preferredMaintenanceWindow

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> preferredMaintenanceWindow()
        Returns:
        The weekly time range during which system maintenance can occur on your new database. Must be in the ddd:hh24:mi-ddd:hh24:mi format. Specified in Coordinated Universal Time (UTC). Example: `Tue:17:00-Tue:17:30`
      • publiclyAccessible

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> publiclyAccessible()
        Returns:
        Specifies the accessibility options for your new database. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database.
      • relationalDatabaseName

        public com.pulumi.core.Output<java.lang.String> relationalDatabaseName()
        Returns:
        The name to use for your new Lightsail database resource. Names be unique within each AWS Region in your Lightsail account.
      • skipFinalSnapshot

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> skipFinalSnapshot()
        Returns:
        Determines whether a final database snapshot is created before your database is deleted. If true is specified, no database snapshot is created. If false is specified, a database snapshot is created before your database is deleted. You must specify the final relational database snapshot name parameter if the skip final snapshot parameter is false.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        A map of tags to assign to the resource. To create a key-only tag, use an empty string as the value.