Class ClusterArgs.Builder

  • Enclosing class:
    ClusterArgs

    public static final class ClusterArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • allocatedStorage

        public ClusterArgs.Builder allocatedStorage​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> allocatedStorage)
        Parameters:
        allocatedStorage - Amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster.
        Returns:
        builder
      • allocatedStorage

        public ClusterArgs.Builder allocatedStorage​(java.lang.Integer allocatedStorage)
        Parameters:
        allocatedStorage - Amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster.
        Returns:
        builder
      • allowMajorVersionUpgrade

        public ClusterArgs.Builder allowMajorVersionUpgrade​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> allowMajorVersionUpgrade)
        Parameters:
        allowMajorVersionUpgrade - Enable to allow major engine version upgrades when changing engine versions. Defaults to `false`.
        Returns:
        builder
      • allowMajorVersionUpgrade

        public ClusterArgs.Builder allowMajorVersionUpgrade​(java.lang.Boolean allowMajorVersionUpgrade)
        Parameters:
        allowMajorVersionUpgrade - Enable to allow major engine version upgrades when changing engine versions. Defaults to `false`.
        Returns:
        builder
      • applyImmediately

        public ClusterArgs.Builder applyImmediately​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> applyImmediately)
        Parameters:
        applyImmediately - Whether any cluster modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon RDS Documentation for more information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html)
        Returns:
        builder
      • applyImmediately

        public ClusterArgs.Builder applyImmediately​(java.lang.Boolean applyImmediately)
        Parameters:
        applyImmediately - Whether any cluster modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon RDS Documentation for more information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html)
        Returns:
        builder
      • autoMinorVersionUpgrade

        public ClusterArgs.Builder autoMinorVersionUpgrade​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> autoMinorVersionUpgrade)
        Parameters:
        autoMinorVersionUpgrade - Whether to apply minor engine upgrades automatically to the DB cluster during the maintenance window. Defaults to `true`.
        Returns:
        builder
      • autoMinorVersionUpgrade

        public ClusterArgs.Builder autoMinorVersionUpgrade​(java.lang.Boolean autoMinorVersionUpgrade)
        Parameters:
        autoMinorVersionUpgrade - Whether to apply minor engine upgrades automatically to the DB cluster during the maintenance window. Defaults to `true`.
        Returns:
        builder
      • availabilityZones

        public ClusterArgs.Builder availabilityZones​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> availabilityZones)
        Parameters:
        availabilityZones - List of EC2 Availability Zones for the DB cluster storage where DB cluster instances can be created. RDS automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a difference requiring resource recreation next pulumi up. We recommend specifying 3 AZs or using the `lifecycle` configuration block `ignoreChanges` argument if necessary. A maximum of 3 AZs can be configured. **Note:** [Multi-AZ DB clusters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) require exactly 3 Availability Zones in the DB subnet group. Aurora DB clusters can operate with fewer AZs, but RDS will still automatically assign 3 AZs as described above. **Note:** Do not set `availabilityZones` to the output of a data source such as `aws.getAvailabilityZones`, as this may be subject to change (for example, when a new AZ is added to a Region). Changing `availabilityZones` forces a replacement, which will destroy and recreate the cluster. Always use an explicit, static list of AZs.
        Returns:
        builder
      • availabilityZones

        public ClusterArgs.Builder availabilityZones​(java.util.List<java.lang.String> availabilityZones)
        Parameters:
        availabilityZones - List of EC2 Availability Zones for the DB cluster storage where DB cluster instances can be created. RDS automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a difference requiring resource recreation next pulumi up. We recommend specifying 3 AZs or using the `lifecycle` configuration block `ignoreChanges` argument if necessary. A maximum of 3 AZs can be configured. **Note:** [Multi-AZ DB clusters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) require exactly 3 Availability Zones in the DB subnet group. Aurora DB clusters can operate with fewer AZs, but RDS will still automatically assign 3 AZs as described above. **Note:** Do not set `availabilityZones` to the output of a data source such as `aws.getAvailabilityZones`, as this may be subject to change (for example, when a new AZ is added to a Region). Changing `availabilityZones` forces a replacement, which will destroy and recreate the cluster. Always use an explicit, static list of AZs.
        Returns:
        builder
      • availabilityZones

        public ClusterArgs.Builder availabilityZones​(java.lang.String... availabilityZones)
        Parameters:
        availabilityZones - List of EC2 Availability Zones for the DB cluster storage where DB cluster instances can be created. RDS automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a difference requiring resource recreation next pulumi up. We recommend specifying 3 AZs or using the `lifecycle` configuration block `ignoreChanges` argument if necessary. A maximum of 3 AZs can be configured. **Note:** [Multi-AZ DB clusters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) require exactly 3 Availability Zones in the DB subnet group. Aurora DB clusters can operate with fewer AZs, but RDS will still automatically assign 3 AZs as described above. **Note:** Do not set `availabilityZones` to the output of a data source such as `aws.getAvailabilityZones`, as this may be subject to change (for example, when a new AZ is added to a Region). Changing `availabilityZones` forces a replacement, which will destroy and recreate the cluster. Always use an explicit, static list of AZs.
        Returns:
        builder
      • backtrackWindow

        public ClusterArgs.Builder backtrackWindow​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Integer> backtrackWindow)
        Parameters:
        backtrackWindow - Target backtrack window, in seconds. Only available for `aurora` and `aurora-mysql` engines currently. To disable backtracking, set this value to `0`. Defaults to `0`. Must be between `0` and `259200` (72 hours)
        Returns:
        builder
      • backtrackWindow

        public ClusterArgs.Builder backtrackWindow​(java.lang.Integer backtrackWindow)
        Parameters:
        backtrackWindow - Target backtrack window, in seconds. Only available for `aurora` and `aurora-mysql` engines currently. To disable backtracking, set this value to `0`. Defaults to `0`. Must be between `0` and `259200` (72 hours)
        Returns:
        builder
      • backupRetentionPeriod

        public ClusterArgs.Builder backupRetentionPeriod​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Integer> backupRetentionPeriod)
        Parameters:
        backupRetentionPeriod - Days to retain backups for. Default `1`
        Returns:
        builder
      • backupRetentionPeriod

        public ClusterArgs.Builder backupRetentionPeriod​(java.lang.Integer backupRetentionPeriod)
        Parameters:
        backupRetentionPeriod - Days to retain backups for. Default `1`
        Returns:
        builder
      • caCertificateIdentifier

        public ClusterArgs.Builder caCertificateIdentifier​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> caCertificateIdentifier)
        Parameters:
        caCertificateIdentifier - CA certificate identifier to use for the DB cluster's server certificate.
        Returns:
        builder
      • caCertificateIdentifier

        public ClusterArgs.Builder caCertificateIdentifier​(java.lang.String caCertificateIdentifier)
        Parameters:
        caCertificateIdentifier - CA certificate identifier to use for the DB cluster's server certificate.
        Returns:
        builder
      • clusterIdentifier

        public ClusterArgs.Builder clusterIdentifier​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> clusterIdentifier)
        Parameters:
        clusterIdentifier - Cluster identifier. If omitted, this provider will assign a random, unique identifier.
        Returns:
        builder
      • clusterIdentifier

        public ClusterArgs.Builder clusterIdentifier​(java.lang.String clusterIdentifier)
        Parameters:
        clusterIdentifier - Cluster identifier. If omitted, this provider will assign a random, unique identifier.
        Returns:
        builder
      • clusterIdentifierPrefix

        public ClusterArgs.Builder clusterIdentifierPrefix​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> clusterIdentifierPrefix)
        Parameters:
        clusterIdentifierPrefix - Creates a unique cluster identifier beginning with the specified prefix. Conflicts with `clusterIdentifier`.
        Returns:
        builder
      • clusterIdentifierPrefix

        public ClusterArgs.Builder clusterIdentifierPrefix​(java.lang.String clusterIdentifierPrefix)
        Parameters:
        clusterIdentifierPrefix - Creates a unique cluster identifier beginning with the specified prefix. Conflicts with `clusterIdentifier`.
        Returns:
        builder
      • clusterMembers

        public ClusterArgs.Builder clusterMembers​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> clusterMembers)
        Parameters:
        clusterMembers - List of RDS Instances that are a part of this cluster
        Returns:
        builder
      • clusterMembers

        public ClusterArgs.Builder clusterMembers​(java.util.List<java.lang.String> clusterMembers)
        Parameters:
        clusterMembers - List of RDS Instances that are a part of this cluster
        Returns:
        builder
      • clusterMembers

        public ClusterArgs.Builder clusterMembers​(java.lang.String... clusterMembers)
        Parameters:
        clusterMembers - List of RDS Instances that are a part of this cluster
        Returns:
        builder
      • clusterScalabilityType

        public ClusterArgs.Builder clusterScalabilityType​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> clusterScalabilityType)
        Parameters:
        clusterScalabilityType - Scalability mode of the Aurora DB cluster. When set to `limitless`, the cluster operates as an Aurora Limitless Database. When set to `standard` (the default), the cluster uses normal DB instance creation. Valid values: `limitless`, `standard`.
        Returns:
        builder
      • clusterScalabilityType

        public ClusterArgs.Builder clusterScalabilityType​(java.lang.String clusterScalabilityType)
        Parameters:
        clusterScalabilityType - Scalability mode of the Aurora DB cluster. When set to `limitless`, the cluster operates as an Aurora Limitless Database. When set to `standard` (the default), the cluster uses normal DB instance creation. Valid values: `limitless`, `standard`.
        Returns:
        builder
      • copyTagsToSnapshot

        public ClusterArgs.Builder copyTagsToSnapshot​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> copyTagsToSnapshot)
        Parameters:
        copyTagsToSnapshot - Copy all Cluster `tags` to snapshots. Default is `false`.
        Returns:
        builder
      • copyTagsToSnapshot

        public ClusterArgs.Builder copyTagsToSnapshot​(java.lang.Boolean copyTagsToSnapshot)
        Parameters:
        copyTagsToSnapshot - Copy all Cluster `tags` to snapshots. Default is `false`.
        Returns:
        builder
      • databaseInsightsMode

        public ClusterArgs.Builder databaseInsightsMode​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> databaseInsightsMode)
        Parameters:
        databaseInsightsMode - Mode of Database Insights to enable for the DB cluster. Valid values: `standard`, `advanced`.
        Returns:
        builder
      • databaseInsightsMode

        public ClusterArgs.Builder databaseInsightsMode​(java.lang.String databaseInsightsMode)
        Parameters:
        databaseInsightsMode - Mode of Database Insights to enable for the DB cluster. Valid values: `standard`, `advanced`.
        Returns:
        builder
      • databaseName

        public ClusterArgs.Builder databaseName​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> databaseName)
        Parameters:
        databaseName - Name for an automatically created database on cluster creation. There are different naming restrictions per database engine: [RDS Naming Constraints](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints)
        Returns:
        builder
      • databaseName

        public ClusterArgs.Builder databaseName​(java.lang.String databaseName)
        Parameters:
        databaseName - Name for an automatically created database on cluster creation. There are different naming restrictions per database engine: [RDS Naming Constraints](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints)
        Returns:
        builder
      • dbClusterInstanceClass

        public ClusterArgs.Builder dbClusterInstanceClass​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> dbClusterInstanceClass)
        Parameters:
        dbClusterInstanceClass - Compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example `db.m6g.xlarge`. Not all DB instance classes are available in all AWS Regions, or for all database engines. For the full list of DB instance classes and availability for your engine, see [DB instance class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) in the Amazon RDS User Guide.
        Returns:
        builder
      • dbClusterInstanceClass

        public ClusterArgs.Builder dbClusterInstanceClass​(java.lang.String dbClusterInstanceClass)
        Parameters:
        dbClusterInstanceClass - Compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example `db.m6g.xlarge`. Not all DB instance classes are available in all AWS Regions, or for all database engines. For the full list of DB instance classes and availability for your engine, see [DB instance class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) in the Amazon RDS User Guide.
        Returns:
        builder
      • dbClusterParameterGroupName

        public ClusterArgs.Builder dbClusterParameterGroupName​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> dbClusterParameterGroupName)
        Parameters:
        dbClusterParameterGroupName - Cluster parameter group to associate with the cluster.
        Returns:
        builder
      • dbClusterParameterGroupName

        public ClusterArgs.Builder dbClusterParameterGroupName​(java.lang.String dbClusterParameterGroupName)
        Parameters:
        dbClusterParameterGroupName - Cluster parameter group to associate with the cluster.
        Returns:
        builder
      • dbInstanceParameterGroupName

        public ClusterArgs.Builder dbInstanceParameterGroupName​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> dbInstanceParameterGroupName)
        Parameters:
        dbInstanceParameterGroupName - Instance parameter group to associate with all instances of the DB cluster. The `dbInstanceParameterGroupName` parameter is only valid in combination with the `allowMajorVersionUpgrade` parameter.
        Returns:
        builder
      • dbInstanceParameterGroupName

        public ClusterArgs.Builder dbInstanceParameterGroupName​(java.lang.String dbInstanceParameterGroupName)
        Parameters:
        dbInstanceParameterGroupName - Instance parameter group to associate with all instances of the DB cluster. The `dbInstanceParameterGroupName` parameter is only valid in combination with the `allowMajorVersionUpgrade` parameter.
        Returns:
        builder
      • dbSubnetGroupName

        public ClusterArgs.Builder dbSubnetGroupName​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> dbSubnetGroupName)
        Parameters:
        dbSubnetGroupName - DB subnet group to associate with this DB cluster. **NOTE:** This must match the `dbSubnetGroupName` specified on every `aws.rds.ClusterInstance` in the cluster.
        Returns:
        builder
      • dbSubnetGroupName

        public ClusterArgs.Builder dbSubnetGroupName​(java.lang.String dbSubnetGroupName)
        Parameters:
        dbSubnetGroupName - DB subnet group to associate with this DB cluster. **NOTE:** This must match the `dbSubnetGroupName` specified on every `aws.rds.ClusterInstance` in the cluster.
        Returns:
        builder
      • dbSystemId

        public ClusterArgs.Builder dbSystemId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> dbSystemId)
        Parameters:
        dbSystemId - For use with RDS Custom.
        Returns:
        builder
      • dbSystemId

        public ClusterArgs.Builder dbSystemId​(java.lang.String dbSystemId)
        Parameters:
        dbSystemId - For use with RDS Custom.
        Returns:
        builder
      • deleteAutomatedBackups

        public ClusterArgs.Builder deleteAutomatedBackups​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> deleteAutomatedBackups)
        Parameters:
        deleteAutomatedBackups - Whether to remove automated backups immediately after the DB cluster is deleted. Default is `true`.
        Returns:
        builder
      • deleteAutomatedBackups

        public ClusterArgs.Builder deleteAutomatedBackups​(java.lang.Boolean deleteAutomatedBackups)
        Parameters:
        deleteAutomatedBackups - Whether to remove automated backups immediately after the DB cluster is deleted. Default is `true`.
        Returns:
        builder
      • deletionProtection

        public ClusterArgs.Builder deletionProtection​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> deletionProtection)
        Parameters:
        deletionProtection - If the DB cluster should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`.
        Returns:
        builder
      • deletionProtection

        public ClusterArgs.Builder deletionProtection​(java.lang.Boolean deletionProtection)
        Parameters:
        deletionProtection - If the DB cluster should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`.
        Returns:
        builder
      • domain

        public ClusterArgs.Builder domain​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> domain)
        Parameters:
        domain - ID of the Directory Service Active Directory domain to create the cluster in.
        Returns:
        builder
      • domain

        public ClusterArgs.Builder domain​(java.lang.String domain)
        Parameters:
        domain - ID of the Directory Service Active Directory domain to create the cluster in.
        Returns:
        builder
      • domainIamRoleName

        public ClusterArgs.Builder domainIamRoleName​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> domainIamRoleName)
        Parameters:
        domainIamRoleName - Name of the IAM role to be used when making API calls to the Directory Service.
        Returns:
        builder
      • domainIamRoleName

        public ClusterArgs.Builder domainIamRoleName​(java.lang.String domainIamRoleName)
        Parameters:
        domainIamRoleName - Name of the IAM role to be used when making API calls to the Directory Service.
        Returns:
        builder
      • enableGlobalWriteForwarding

        public ClusterArgs.Builder enableGlobalWriteForwarding​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Boolean> enableGlobalWriteForwarding)
        Parameters:
        enableGlobalWriteForwarding - Whether cluster should forward writes to an associated global cluster. Applied to secondary clusters to enable them to forward writes to an `aws.rds.GlobalCluster`'s primary cluster. See the [User Guide for Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-write-forwarding.html) for more information.
        Returns:
        builder
      • enableGlobalWriteForwarding

        public ClusterArgs.Builder enableGlobalWriteForwarding​(java.lang.Boolean enableGlobalWriteForwarding)
        Parameters:
        enableGlobalWriteForwarding - Whether cluster should forward writes to an associated global cluster. Applied to secondary clusters to enable them to forward writes to an `aws.rds.GlobalCluster`'s primary cluster. See the [User Guide for Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-write-forwarding.html) for more information.
        Returns:
        builder
      • enableHttpEndpoint

        public ClusterArgs.Builder enableHttpEndpoint​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> enableHttpEndpoint)
        Parameters:
        enableHttpEndpoint - Enable HTTP endpoint (data API). Only valid for some combinations of `engineMode`, `engine` and `engineVersion` and only available in some regions. See the [Region and version availability](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html#data-api.regions) section of the documentation. This option also does not work with any of these options specified: `snapshotIdentifier`, `replicationSourceIdentifier`, `s3Import`.
        Returns:
        builder
      • enableHttpEndpoint

        public ClusterArgs.Builder enableHttpEndpoint​(java.lang.Boolean enableHttpEndpoint)
        Parameters:
        enableHttpEndpoint - Enable HTTP endpoint (data API). Only valid for some combinations of `engineMode`, `engine` and `engineVersion` and only available in some regions. See the [Region and version availability](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html#data-api.regions) section of the documentation. This option also does not work with any of these options specified: `snapshotIdentifier`, `replicationSourceIdentifier`, `s3Import`.
        Returns:
        builder
      • enableLocalWriteForwarding

        public ClusterArgs.Builder enableLocalWriteForwarding​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Boolean> enableLocalWriteForwarding)
        Parameters:
        enableLocalWriteForwarding - Whether read replicas can forward write operations to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances. See the [User Guide for Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-write-forwarding.html) for more information. **NOTE:** Local write forwarding requires Aurora MySQL version 3.04 or higher.
        Returns:
        builder
      • enableLocalWriteForwarding

        public ClusterArgs.Builder enableLocalWriteForwarding​(java.lang.Boolean enableLocalWriteForwarding)
        Parameters:
        enableLocalWriteForwarding - Whether read replicas can forward write operations to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances. See the [User Guide for Aurora](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-write-forwarding.html) for more information. **NOTE:** Local write forwarding requires Aurora MySQL version 3.04 or higher.
        Returns:
        builder
      • enabledCloudwatchLogsExports

        public ClusterArgs.Builder enabledCloudwatchLogsExports​(@Nullable
                                                                com.pulumi.core.Output<java.util.List<java.lang.String>> enabledCloudwatchLogsExports)
        Parameters:
        enabledCloudwatchLogsExports - Set of log types to export to CloudWatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `error`, `general`, `iam-db-auth-error`, `instance`, `postgresql` (PostgreSQL), `slowquery`.
        Returns:
        builder
      • enabledCloudwatchLogsExports

        public ClusterArgs.Builder enabledCloudwatchLogsExports​(java.util.List<java.lang.String> enabledCloudwatchLogsExports)
        Parameters:
        enabledCloudwatchLogsExports - Set of log types to export to CloudWatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `error`, `general`, `iam-db-auth-error`, `instance`, `postgresql` (PostgreSQL), `slowquery`.
        Returns:
        builder
      • enabledCloudwatchLogsExports

        public ClusterArgs.Builder enabledCloudwatchLogsExports​(java.lang.String... enabledCloudwatchLogsExports)
        Parameters:
        enabledCloudwatchLogsExports - Set of log types to export to CloudWatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `error`, `general`, `iam-db-auth-error`, `instance`, `postgresql` (PostgreSQL), `slowquery`.
        Returns:
        builder
      • engine

        public ClusterArgs.Builder engine​(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​EngineType>> engine)
        Parameters:
        engine - Name of the database engine to be used for this DB cluster. Valid Values: `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`. (Note that `mysql` and `postgres` are Multi-AZ RDS clusters).
        Returns:
        builder
      • engine

        public ClusterArgs.Builder engine​(com.pulumi.core.Either<java.lang.String,​EngineType> engine)
        Parameters:
        engine - Name of the database engine to be used for this DB cluster. Valid Values: `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`. (Note that `mysql` and `postgres` are Multi-AZ RDS clusters).
        Returns:
        builder
      • engine

        public ClusterArgs.Builder engine​(java.lang.String engine)
        Parameters:
        engine - Name of the database engine to be used for this DB cluster. Valid Values: `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`. (Note that `mysql` and `postgres` are Multi-AZ RDS clusters).
        Returns:
        builder
      • engine

        public ClusterArgs.Builder engine​(EngineType engine)
        Parameters:
        engine - Name of the database engine to be used for this DB cluster. Valid Values: `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`. (Note that `mysql` and `postgres` are Multi-AZ RDS clusters).
        Returns:
        builder
      • engineLifecycleSupport

        public ClusterArgs.Builder engineLifecycleSupport​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> engineLifecycleSupport)
        Parameters:
        engineLifecycleSupport - Life cycle type for this DB instance. This setting is valid for cluster types Aurora DB clusters and Multi-AZ DB clusters. Valid values are `open-source-rds-extended-support`, `open-source-rds-extended-support-disabled`. Default value is `open-source-rds-extended-support`. [Using Amazon RDS Extended Support]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
        Returns:
        builder
      • engineLifecycleSupport

        public ClusterArgs.Builder engineLifecycleSupport​(java.lang.String engineLifecycleSupport)
        Parameters:
        engineLifecycleSupport - Life cycle type for this DB instance. This setting is valid for cluster types Aurora DB clusters and Multi-AZ DB clusters. Valid values are `open-source-rds-extended-support`, `open-source-rds-extended-support-disabled`. Default value is `open-source-rds-extended-support`. [Using Amazon RDS Extended Support]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
        Returns:
        builder
      • engineMode

        public ClusterArgs.Builder engineMode​(@Nullable
                                              com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​EngineMode>> engineMode)
        Parameters:
        engineMode - Database engine mode. Valid values: `global` (only valid for Aurora MySQL 1.21 and earlier), `parallelquery`, `provisioned`, `serverless`. Defaults to: `provisioned`. Specify an empty value (`""`) for no engine mode. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) for limitations when using `serverless`.
        Returns:
        builder
      • engineMode

        public ClusterArgs.Builder engineMode​(com.pulumi.core.Either<java.lang.String,​EngineMode> engineMode)
        Parameters:
        engineMode - Database engine mode. Valid values: `global` (only valid for Aurora MySQL 1.21 and earlier), `parallelquery`, `provisioned`, `serverless`. Defaults to: `provisioned`. Specify an empty value (`""`) for no engine mode. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) for limitations when using `serverless`.
        Returns:
        builder
      • engineMode

        public ClusterArgs.Builder engineMode​(java.lang.String engineMode)
        Parameters:
        engineMode - Database engine mode. Valid values: `global` (only valid for Aurora MySQL 1.21 and earlier), `parallelquery`, `provisioned`, `serverless`. Defaults to: `provisioned`. Specify an empty value (`""`) for no engine mode. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) for limitations when using `serverless`.
        Returns:
        builder
      • engineMode

        public ClusterArgs.Builder engineMode​(EngineMode engineMode)
        Parameters:
        engineMode - Database engine mode. Valid values: `global` (only valid for Aurora MySQL 1.21 and earlier), `parallelquery`, `provisioned`, `serverless`. Defaults to: `provisioned`. Specify an empty value (`""`) for no engine mode. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) for limitations when using `serverless`.
        Returns:
        builder
      • engineVersion

        public ClusterArgs.Builder engineVersion​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> engineVersion)
        Parameters:
        engineVersion - Database engine version. Updating this argument results in an outage. See the [Aurora MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) and [Aurora Postgres](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.html) documentation for your configured engine to determine this value, or by running `aws rds describe-db-engine-versions`. For example with Aurora MySQL 2, a potential value for this argument is `5.7.mysql_aurora.2.03.2`. The value can contain a partial version where supported by the API. The actual engine version used is returned in the attribute `engineVersionActual`, see Attribute Reference below.
        Returns:
        builder
      • engineVersion

        public ClusterArgs.Builder engineVersion​(java.lang.String engineVersion)
        Parameters:
        engineVersion - Database engine version. Updating this argument results in an outage. See the [Aurora MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) and [Aurora Postgres](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.html) documentation for your configured engine to determine this value, or by running `aws rds describe-db-engine-versions`. For example with Aurora MySQL 2, a potential value for this argument is `5.7.mysql_aurora.2.03.2`. The value can contain a partial version where supported by the API. The actual engine version used is returned in the attribute `engineVersionActual`, see Attribute Reference below.
        Returns:
        builder
      • finalSnapshotIdentifier

        public ClusterArgs.Builder finalSnapshotIdentifier​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> finalSnapshotIdentifier)
        Parameters:
        finalSnapshotIdentifier - Name of your final DB snapshot when this DB cluster is deleted. If omitted, no final snapshot will be made.
        Returns:
        builder
      • finalSnapshotIdentifier

        public ClusterArgs.Builder finalSnapshotIdentifier​(java.lang.String finalSnapshotIdentifier)
        Parameters:
        finalSnapshotIdentifier - Name of your final DB snapshot when this DB cluster is deleted. If omitted, no final snapshot will be made.
        Returns:
        builder
      • globalClusterIdentifier

        public ClusterArgs.Builder globalClusterIdentifier​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> globalClusterIdentifier)
        Parameters:
        globalClusterIdentifier - Global cluster identifier specified on `aws.rds.GlobalCluster`.
        Returns:
        builder
      • globalClusterIdentifier

        public ClusterArgs.Builder globalClusterIdentifier​(java.lang.String globalClusterIdentifier)
        Parameters:
        globalClusterIdentifier - Global cluster identifier specified on `aws.rds.GlobalCluster`.
        Returns:
        builder
      • iamDatabaseAuthenticationEnabled

        public ClusterArgs.Builder iamDatabaseAuthenticationEnabled​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Boolean> iamDatabaseAuthenticationEnabled)
        Parameters:
        iamDatabaseAuthenticationEnabled - Whether mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) for availability and limitations.
        Returns:
        builder
      • iamDatabaseAuthenticationEnabled

        public ClusterArgs.Builder iamDatabaseAuthenticationEnabled​(java.lang.Boolean iamDatabaseAuthenticationEnabled)
        Parameters:
        iamDatabaseAuthenticationEnabled - Whether mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) for availability and limitations.
        Returns:
        builder
      • iamRoles

        public ClusterArgs.Builder iamRoles​(@Nullable
                                            com.pulumi.core.Output<java.util.List<java.lang.String>> iamRoles)
        Parameters:
        iamRoles - List of ARNs for the IAM roles to associate to the RDS Cluster.
        Returns:
        builder
      • iamRoles

        public ClusterArgs.Builder iamRoles​(java.util.List<java.lang.String> iamRoles)
        Parameters:
        iamRoles - List of ARNs for the IAM roles to associate to the RDS Cluster.
        Returns:
        builder
      • iamRoles

        public ClusterArgs.Builder iamRoles​(java.lang.String... iamRoles)
        Parameters:
        iamRoles - List of ARNs for the IAM roles to associate to the RDS Cluster.
        Returns:
        builder
      • iops

        public ClusterArgs.Builder iops​(@Nullable
                                        com.pulumi.core.Output<java.lang.Integer> iops)
        Parameters:
        iops - Amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. For information about valid Iops values, see [Amazon RDS Provisioned IOPS storage to improve performance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) in the Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). Must be a multiple between .5 and 50 of the storage amount for the DB cluster.
        Returns:
        builder
      • iops

        public ClusterArgs.Builder iops​(java.lang.Integer iops)
        Parameters:
        iops - Amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. For information about valid Iops values, see [Amazon RDS Provisioned IOPS storage to improve performance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) in the Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). Must be a multiple between .5 and 50 of the storage amount for the DB cluster.
        Returns:
        builder
      • kmsKeyId

        public ClusterArgs.Builder kmsKeyId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - ARN for the KMS encryption key. When specifying `kmsKeyId`, `storageEncrypted` needs to be set to true.
        Returns:
        builder
      • kmsKeyId

        public ClusterArgs.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - ARN for the KMS encryption key. When specifying `kmsKeyId`, `storageEncrypted` needs to be set to true.
        Returns:
        builder
      • manageMasterUserPassword

        public ClusterArgs.Builder manageMasterUserPassword​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> manageMasterUserPassword)
        Parameters:
        manageMasterUserPassword - Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if `masterPassword` is provided.
        Returns:
        builder
      • manageMasterUserPassword

        public ClusterArgs.Builder manageMasterUserPassword​(java.lang.Boolean manageMasterUserPassword)
        Parameters:
        manageMasterUserPassword - Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if `masterPassword` is provided.
        Returns:
        builder
      • masterPassword

        public ClusterArgs.Builder masterPassword​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> masterPassword)
        Parameters:
        masterPassword - Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Please refer to the [RDS Naming Constraints](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints). Cannot be set if `manageMasterUserPassword` is set to `true`.
        Returns:
        builder
      • masterPassword

        public ClusterArgs.Builder masterPassword​(java.lang.String masterPassword)
        Parameters:
        masterPassword - Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Please refer to the [RDS Naming Constraints](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints). Cannot be set if `manageMasterUserPassword` is set to `true`.
        Returns:
        builder
      • masterPasswordWo

        public ClusterArgs.Builder masterPasswordWo​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> masterPasswordWo)
        Parameters:
        masterPasswordWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Password for the master DB user. Note that this may show up in logs. Please refer to the [RDS Naming Constraints](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints). Cannot be set if `manageMasterUserPassword` is set to `true`. If set, requires `masterPasswordWoVersion` to be set.
        Returns:
        builder
      • masterPasswordWo

        public ClusterArgs.Builder masterPasswordWo​(java.lang.String masterPasswordWo)
        Parameters:
        masterPasswordWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Password for the master DB user. Note that this may show up in logs. Please refer to the [RDS Naming Constraints](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints). Cannot be set if `manageMasterUserPassword` is set to `true`. If set, requires `masterPasswordWoVersion` to be set.
        Returns:
        builder
      • masterPasswordWoVersion

        public ClusterArgs.Builder masterPasswordWoVersion​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Integer> masterPasswordWoVersion)
        Parameters:
        masterPasswordWoVersion - Required when `masterPasswordWo` is set. Changing this value triggers an update to `masterPasswordWo`.
        Returns:
        builder
      • masterPasswordWoVersion

        public ClusterArgs.Builder masterPasswordWoVersion​(java.lang.Integer masterPasswordWoVersion)
        Parameters:
        masterPasswordWoVersion - Required when `masterPasswordWo` is set. Changing this value triggers an update to `masterPasswordWo`.
        Returns:
        builder
      • masterUserSecretKmsKeyId

        public ClusterArgs.Builder masterUserSecretKmsKeyId​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> masterUserSecretKmsKeyId)
        Parameters:
        masterUserSecretKmsKeyId - Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. If not specified, the default KMS key for your Amazon Web Services account is used.
        Returns:
        builder
      • masterUserSecretKmsKeyId

        public ClusterArgs.Builder masterUserSecretKmsKeyId​(java.lang.String masterUserSecretKmsKeyId)
        Parameters:
        masterUserSecretKmsKeyId - Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN. If not specified, the default KMS key for your Amazon Web Services account is used.
        Returns:
        builder
      • masterUsername

        public ClusterArgs.Builder masterUsername​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> masterUsername)
        Parameters:
        masterUsername - Username for the master DB user. Please refer to the [RDS Naming Constraints](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints). This argument does not support in-place updates and cannot be changed during a restore from snapshot.
        Returns:
        builder
      • masterUsername

        public ClusterArgs.Builder masterUsername​(java.lang.String masterUsername)
        Parameters:
        masterUsername - Username for the master DB user. Please refer to the [RDS Naming Constraints](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints). This argument does not support in-place updates and cannot be changed during a restore from snapshot.
        Returns:
        builder
      • monitoringInterval

        public ClusterArgs.Builder monitoringInterval​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> monitoringInterval)
        Parameters:
        monitoringInterval - Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.
        Returns:
        builder
      • monitoringInterval

        public ClusterArgs.Builder monitoringInterval​(java.lang.Integer monitoringInterval)
        Parameters:
        monitoringInterval - Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.
        Returns:
        builder
      • monitoringRoleArn

        public ClusterArgs.Builder monitoringRoleArn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> monitoringRoleArn)
        Parameters:
        monitoringRoleArn - ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. You can find more information on the [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole.html) what IAM permissions are needed to allow Enhanced Monitoring for RDS Clusters.
        Returns:
        builder
      • monitoringRoleArn

        public ClusterArgs.Builder monitoringRoleArn​(java.lang.String monitoringRoleArn)
        Parameters:
        monitoringRoleArn - ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. You can find more information on the [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole.html) what IAM permissions are needed to allow Enhanced Monitoring for RDS Clusters.
        Returns:
        builder
      • networkType

        public ClusterArgs.Builder networkType​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> networkType)
        Parameters:
        networkType - Network type of the cluster. Valid values: `IPV4`, `DUAL`.
        Returns:
        builder
      • networkType

        public ClusterArgs.Builder networkType​(java.lang.String networkType)
        Parameters:
        networkType - Network type of the cluster. Valid values: `IPV4`, `DUAL`.
        Returns:
        builder
      • performanceInsightsEnabled

        public ClusterArgs.Builder performanceInsightsEnabled​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Boolean> performanceInsightsEnabled)
        Parameters:
        performanceInsightsEnabled - Enables Performance Insights.
        Returns:
        builder
      • performanceInsightsEnabled

        public ClusterArgs.Builder performanceInsightsEnabled​(java.lang.Boolean performanceInsightsEnabled)
        Parameters:
        performanceInsightsEnabled - Enables Performance Insights.
        Returns:
        builder
      • performanceInsightsKmsKeyId

        public ClusterArgs.Builder performanceInsightsKmsKeyId​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> performanceInsightsKmsKeyId)
        Parameters:
        performanceInsightsKmsKeyId - KMS Key ID to encrypt Performance Insights data. If not specified, the default RDS KMS key will be used (`aws/rds`).
        Returns:
        builder
      • performanceInsightsKmsKeyId

        public ClusterArgs.Builder performanceInsightsKmsKeyId​(java.lang.String performanceInsightsKmsKeyId)
        Parameters:
        performanceInsightsKmsKeyId - KMS Key ID to encrypt Performance Insights data. If not specified, the default RDS KMS key will be used (`aws/rds`).
        Returns:
        builder
      • performanceInsightsRetentionPeriod

        public ClusterArgs.Builder performanceInsightsRetentionPeriod​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Integer> performanceInsightsRetentionPeriod)
        Parameters:
        performanceInsightsRetentionPeriod - Amount of time to retain performance insights data for. Defaults to 7 days if Performance Insights are enabled. Valid values are `7`, `month * 31` (where month is a number of months from 1-23), and `731`. See [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Overview.cost.html) for more information on retention periods.
        Returns:
        builder
      • performanceInsightsRetentionPeriod

        public ClusterArgs.Builder performanceInsightsRetentionPeriod​(java.lang.Integer performanceInsightsRetentionPeriod)
        Parameters:
        performanceInsightsRetentionPeriod - Amount of time to retain performance insights data for. Defaults to 7 days if Performance Insights are enabled. Valid values are `7`, `month * 31` (where month is a number of months from 1-23), and `731`. See [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Overview.cost.html) for more information on retention periods.
        Returns:
        builder
      • port

        public ClusterArgs.Builder port​(@Nullable
                                        com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - Port on which the DB accepts connections.
        Returns:
        builder
      • port

        public ClusterArgs.Builder port​(java.lang.Integer port)
        Parameters:
        port - Port on which the DB accepts connections.
        Returns:
        builder
      • preferredBackupWindow

        public ClusterArgs.Builder preferredBackupWindow​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> preferredBackupWindow)
        Parameters:
        preferredBackupWindow - Daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.Time in UTC. Default: A 30-minute window selected at random from an 8-hour block of time per region, e.g. `04:00-09:00`.
        Returns:
        builder
      • preferredBackupWindow

        public ClusterArgs.Builder preferredBackupWindow​(java.lang.String preferredBackupWindow)
        Parameters:
        preferredBackupWindow - Daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.Time in UTC. Default: A 30-minute window selected at random from an 8-hour block of time per region, e.g. `04:00-09:00`.
        Returns:
        builder
      • preferredMaintenanceWindow

        public ClusterArgs.Builder preferredMaintenanceWindow​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> preferredMaintenanceWindow)
        Parameters:
        preferredMaintenanceWindow - Weekly time range during which system maintenance can occur, in (UTC) e.g., `wed:04:00-wed:04:30`
        Returns:
        builder
      • preferredMaintenanceWindow

        public ClusterArgs.Builder preferredMaintenanceWindow​(java.lang.String preferredMaintenanceWindow)
        Parameters:
        preferredMaintenanceWindow - Weekly time range during which system maintenance can occur, in (UTC) e.g., `wed:04:00-wed:04:30`
        Returns:
        builder
      • publiclyAccessible

        public ClusterArgs.Builder publiclyAccessible​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> publiclyAccessible)
        Parameters:
        publiclyAccessible - Whether the DB cluster is publicly accessible. Valid only for Multi-AZ DB clusters. If not specified, defaults to `true` when `dbSubnetGroupName` is not set or is `default`, and `false` otherwise. If `true`, the VPC of the DB subnet group must have an internet gateway attached. Cannot be used with `s3Import`.
        Returns:
        builder
      • publiclyAccessible

        public ClusterArgs.Builder publiclyAccessible​(java.lang.Boolean publiclyAccessible)
        Parameters:
        publiclyAccessible - Whether the DB cluster is publicly accessible. Valid only for Multi-AZ DB clusters. If not specified, defaults to `true` when `dbSubnetGroupName` is not set or is `default`, and `false` otherwise. If `true`, the VPC of the DB subnet group must have an internet gateway attached. Cannot be used with `s3Import`.
        Returns:
        builder
      • region

        public ClusterArgs.Builder region​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - 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.
        Returns:
        builder
      • region

        public ClusterArgs.Builder region​(java.lang.String region)
        Parameters:
        region - 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.
        Returns:
        builder
      • replicationSourceIdentifier

        public ClusterArgs.Builder replicationSourceIdentifier​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> replicationSourceIdentifier)
        Parameters:
        replicationSourceIdentifier - ARN of a source DB cluster or DB instance if this DB cluster is to be created as a Read Replica. **Note:** Removing this attribute after creation will promote the read replica to a standalone cluster. If DB Cluster is part of a Global Cluster, use the `ignoreChanges` resource option to prevent Pulumi from showing differences for this argument instead of configuring this value.
        Returns:
        builder
      • replicationSourceIdentifier

        public ClusterArgs.Builder replicationSourceIdentifier​(java.lang.String replicationSourceIdentifier)
        Parameters:
        replicationSourceIdentifier - ARN of a source DB cluster or DB instance if this DB cluster is to be created as a Read Replica. **Note:** Removing this attribute after creation will promote the read replica to a standalone cluster. If DB Cluster is part of a Global Cluster, use the `ignoreChanges` resource option to prevent Pulumi from showing differences for this argument instead of configuring this value.
        Returns:
        builder
      • restoreToPointInTime

        public ClusterArgs.Builder restoreToPointInTime​(@Nullable
                                                        com.pulumi.core.Output<ClusterRestoreToPointInTimeArgs> restoreToPointInTime)
        Parameters:
        restoreToPointInTime - Nested attribute for [point in time restore](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-pitr.html). More details below.
        Returns:
        builder
      • restoreToPointInTime

        public ClusterArgs.Builder restoreToPointInTime​(ClusterRestoreToPointInTimeArgs restoreToPointInTime)
        Parameters:
        restoreToPointInTime - Nested attribute for [point in time restore](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-pitr.html). More details below.
        Returns:
        builder
      • scalingConfiguration

        public ClusterArgs.Builder scalingConfiguration​(@Nullable
                                                        com.pulumi.core.Output<ClusterScalingConfigurationArgs> scalingConfiguration)
        Parameters:
        scalingConfiguration - Nested attribute with scaling properties. Only valid when `engineMode` is set to `serverless`. More details below.
        Returns:
        builder
      • scalingConfiguration

        public ClusterArgs.Builder scalingConfiguration​(ClusterScalingConfigurationArgs scalingConfiguration)
        Parameters:
        scalingConfiguration - Nested attribute with scaling properties. Only valid when `engineMode` is set to `serverless`. More details below.
        Returns:
        builder
      • serverlessv2ScalingConfiguration

        public ClusterArgs.Builder serverlessv2ScalingConfiguration​(@Nullable
                                                                    com.pulumi.core.Output<ClusterServerlessv2ScalingConfigurationArgs> serverlessv2ScalingConfiguration)
        Parameters:
        serverlessv2ScalingConfiguration - Nested attribute with scaling properties for ServerlessV2. Only valid when `engineMode` is set to `provisioned`. More details below.
        Returns:
        builder
      • serverlessv2ScalingConfiguration

        public ClusterArgs.Builder serverlessv2ScalingConfiguration​(ClusterServerlessv2ScalingConfigurationArgs serverlessv2ScalingConfiguration)
        Parameters:
        serverlessv2ScalingConfiguration - Nested attribute with scaling properties for ServerlessV2. Only valid when `engineMode` is set to `provisioned`. More details below.
        Returns:
        builder
      • skipFinalSnapshot

        public ClusterArgs.Builder skipFinalSnapshot​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> skipFinalSnapshot)
        Parameters:
        skipFinalSnapshot - Whether a final DB snapshot is created before the DB cluster is deleted. If true is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before the DB cluster is deleted, using the value from `finalSnapshotIdentifier`. Default is `false`.
        Returns:
        builder
      • skipFinalSnapshot

        public ClusterArgs.Builder skipFinalSnapshot​(java.lang.Boolean skipFinalSnapshot)
        Parameters:
        skipFinalSnapshot - Whether a final DB snapshot is created before the DB cluster is deleted. If true is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before the DB cluster is deleted, using the value from `finalSnapshotIdentifier`. Default is `false`.
        Returns:
        builder
      • snapshotIdentifier

        public ClusterArgs.Builder snapshotIdentifier​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> snapshotIdentifier)
        Parameters:
        snapshotIdentifier - Whether to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. Conflicts with `globalClusterIdentifier`. Clusters cannot be restored from snapshot **and** joined to an existing global cluster in a single operation. See the [AWS documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-getting-started.html#aurora-global-database.use-snapshot) or the Global Cluster Restored From Snapshot example for instructions on building a global cluster starting with a snapshot.
        Returns:
        builder
      • snapshotIdentifier

        public ClusterArgs.Builder snapshotIdentifier​(java.lang.String snapshotIdentifier)
        Parameters:
        snapshotIdentifier - Whether to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. Conflicts with `globalClusterIdentifier`. Clusters cannot be restored from snapshot **and** joined to an existing global cluster in a single operation. See the [AWS documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-getting-started.html#aurora-global-database.use-snapshot) or the Global Cluster Restored From Snapshot example for instructions on building a global cluster starting with a snapshot.
        Returns:
        builder
      • sourceRegion

        public ClusterArgs.Builder sourceRegion​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> sourceRegion)
        Parameters:
        sourceRegion - Source region for an encrypted replica DB cluster.
        Returns:
        builder
      • sourceRegion

        public ClusterArgs.Builder sourceRegion​(java.lang.String sourceRegion)
        Parameters:
        sourceRegion - Source region for an encrypted replica DB cluster.
        Returns:
        builder
      • storageEncrypted

        public ClusterArgs.Builder storageEncrypted​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> storageEncrypted)
        Parameters:
        storageEncrypted - Whether the DB cluster is encrypted. The default is `false` for `provisioned` `engineMode` and `true` for `serverless` `engineMode`. When restoring an unencrypted `snapshotIdentifier`, the `kmsKeyId` argument must be provided to encrypt the restored cluster. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • storageEncrypted

        public ClusterArgs.Builder storageEncrypted​(java.lang.Boolean storageEncrypted)
        Parameters:
        storageEncrypted - Whether the DB cluster is encrypted. The default is `false` for `provisioned` `engineMode` and `true` for `serverless` `engineMode`. When restoring an unencrypted `snapshotIdentifier`, the `kmsKeyId` argument must be provided to encrypt the restored cluster. The provider will only perform drift detection if a configuration value is provided.
        Returns:
        builder
      • storageType

        public ClusterArgs.Builder storageType​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> storageType)
        Parameters:
        storageType - (Forces new for Multi-AZ DB clusters) Specifies the storage type to be associated with the DB cluster. For Aurora DB clusters, `storageType` modifications can be done in-place. For Multi-AZ DB Clusters, the `iops` argument must also be set. Valid values are: `""`, `aurora-iopt1` (Aurora DB Clusters); `io1`, `io2`, `gp3` (Multi-AZ DB Clusters). Default: `""` (Aurora DB Clusters); `io1` (Multi-AZ DB Clusters).
        Returns:
        builder
      • storageType

        public ClusterArgs.Builder storageType​(java.lang.String storageType)
        Parameters:
        storageType - (Forces new for Multi-AZ DB clusters) Specifies the storage type to be associated with the DB cluster. For Aurora DB clusters, `storageType` modifications can be done in-place. For Multi-AZ DB Clusters, the `iops` argument must also be set. Valid values are: `""`, `aurora-iopt1` (Aurora DB Clusters); `io1`, `io2`, `gp3` (Multi-AZ DB Clusters). Default: `""` (Aurora DB Clusters); `io1` (Multi-AZ DB Clusters).
        Returns:
        builder
      • tags

        public ClusterArgs.Builder tags​(@Nullable
                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the DB cluster. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ClusterArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the DB cluster. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • vpcSecurityGroupIds

        public ClusterArgs.Builder vpcSecurityGroupIds​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security groups to associate with the Cluster
        Returns:
        builder
      • vpcSecurityGroupIds

        public ClusterArgs.Builder vpcSecurityGroupIds​(java.util.List<java.lang.String> vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security groups to associate with the Cluster
        Returns:
        builder
      • vpcSecurityGroupIds

        public ClusterArgs.Builder vpcSecurityGroupIds​(java.lang.String... vpcSecurityGroupIds)
        Parameters:
        vpcSecurityGroupIds - List of VPC security groups to associate with the Cluster
        Returns:
        builder
      • warningEventCategories

        public ClusterArgs.Builder warningEventCategories​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> warningEventCategories)
        Parameters:
        warningEventCategories - Set of RDS event categories (for example `failure`, `maintenance`) to check for after create and update operations. If set, the provider describes RDS events reported for this cluster during the operation and surfaces a warning diagnostic, with the RDS event message, for each one found in these categories. Has no effect if unset; see [DescribeEvents](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEvents.html) and the `aws.rds.getEvents` data source for the source of these events. Requires the `rds:DescribeEvents` IAM permission when set.
        Returns:
        builder
      • warningEventCategories

        public ClusterArgs.Builder warningEventCategories​(java.util.List<java.lang.String> warningEventCategories)
        Parameters:
        warningEventCategories - Set of RDS event categories (for example `failure`, `maintenance`) to check for after create and update operations. If set, the provider describes RDS events reported for this cluster during the operation and surfaces a warning diagnostic, with the RDS event message, for each one found in these categories. Has no effect if unset; see [DescribeEvents](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEvents.html) and the `aws.rds.getEvents` data source for the source of these events. Requires the `rds:DescribeEvents` IAM permission when set.
        Returns:
        builder
      • warningEventCategories

        public ClusterArgs.Builder warningEventCategories​(java.lang.String... warningEventCategories)
        Parameters:
        warningEventCategories - Set of RDS event categories (for example `failure`, `maintenance`) to check for after create and update operations. If set, the provider describes RDS events reported for this cluster during the operation and surfaces a warning diagnostic, with the RDS event message, for each one found in these categories. Has no effect if unset; see [DescribeEvents](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeEvents.html) and the `aws.rds.getEvents` data source for the source of these events. Requires the `rds:DescribeEvents` IAM permission when set.
        Returns:
        builder