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:
        Whether to apply 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:
        Availability Zone in which to create your database. Use the us-east-2a case-sensitive format.
      • backupRetentionEnabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> backupRetentionEnabled()
        Returns:
        Whether to enable 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:
        Blueprint ID for your 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:
        Bundle ID for your 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:
        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:
        Name of the master database created when the Lightsail database resource is created.
      • masterPassword

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

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> preferredBackupWindow()
        Returns:
        Daily time range during which automated backups are created for your 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:
        Weekly time range during which system maintenance can occur on your 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:
        Whether the database is accessible to resources outside of your Lightsail account. 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.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • relationalDatabaseName

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> skipFinalSnapshot()
        Returns:
        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:
        Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.