Cluster Args
Provides an Neptune Cluster Resource. A Cluster Resource defines attributes that are applied to the entire cluster of Neptune Cluster Instances. Changes to a Neptune Cluster can occur when you manually change a parameter, such as backup_retention_period
, and are reflected in the next maintenance window. Because of this, this provider may report a difference in its planning phase because a modification has not yet taken place. You can use the apply_immediately
flag to instruct the service to apply the change immediately (see documentation below).
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.neptune.Cluster;
import com.pulumi.aws.neptune.ClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new Cluster("default", ClusterArgs.builder()
.applyImmediately(true)
.backupRetentionPeriod(5)
.clusterIdentifier("neptune-cluster-demo")
.engine("neptune")
.iamDatabaseAuthenticationEnabled(true)
.preferredBackupWindow("07:00-09:00")
.skipFinalSnapshot(true)
.build());
}
}
Import
aws_neptune_cluster
can be imported by using the cluster identifier, e.g.,
$ pulumi import aws:neptune/cluster:Cluster example my-cluster
Constructors
Properties
Specifies whether upgrades between different major versions are allowed. You must set it to true
when providing an engine_version
parameter that uses a different major version than the DB cluster's current version. Default is false
.
Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is false
.
A list of EC2 Availability Zones that instances in the Neptune cluster can be created in.
The days to retain backups for. Default 1
The cluster identifier. If omitted, this provider will assign a random, unique identifier.
Creates a unique cluster identifier beginning with the specified prefix. Conflicts with cluster_identifier
.
If set to true, tags are copied to any snapshot of the DB cluster that is created.
A value that indicates whether the DB cluster has deletion protection enabled.The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
A list of the log types this DB cluster is configured to export to Cloudwatch Logs. Currently only supports audit
.
The database engine version.
The name of your final Neptune snapshot when this Neptune cluster is deleted. If omitted, no final snapshot will be made.
The global cluster identifier specified on aws.neptune.GlobalCluster
.
Specifies whether or not mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled.
A cluster parameter group to associate with the cluster.
The name of the DB parameter group to apply to all instances of the DB cluster.
A Neptune subnet group to associate with this Neptune instance.
The 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 regionE.g., 04:00-09:00
The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30
ARN of a source Neptune cluster or Neptune instance if this Neptune cluster is to be created as a Read Replica.
If set, create the Neptune cluster as a serverless one. See Serverless for example block attributes.
Determines whether a final Neptune snapshot is created before the Neptune cluster is deleted. If true is specified, no Neptune snapshot is created. If false is specified, a Neptune snapshot is created before the Neptune cluster is deleted, using the value from final_snapshot_identifier
. Default is false
.
Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a Neptune cluster snapshot, or the ARN when specifying a Neptune snapshot.
Specifies whether the Neptune cluster is encrypted. The default is false
if not specified.
List of VPC security groups to associate with the Cluster