Neptune DB Clusters API
Actions:
Structures:
CreateDBCluster (action)
The AWS CLI name for this API is: create-db-cluster.
Creates a new Amazon Neptune DB cluster.
You can use the ReplicationSourceIdentifier parameter
to create the DB cluster as a Read Replica of another DB cluster or Amazon Neptune
DB instance.
Note that when you create a new cluster using CreateDBCluster
directly, deletion protection is disabled by default (when you create a new production
cluster in the console, deletion protection is enabled by default). You can only
delete a DB cluster if its DeletionProtection field is set to false.
Request
-
AvailabilityZones (in the CLI:
--availability-zones) – a String, of type:string(a UTF-8 encoded string).A list of EC2 Availability Zones that instances in the DB cluster can be created in.
-
BackupRetentionPeriod (in the CLI:
--backup-retention-period) – an IntegerOptional, of type:integer(a signed 32-bit integer).The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
-
Must be a value from 1 to 35
-
-
CopyTagsToSnapshot (in the CLI:
--copy-tags-to-snapshot) – a BooleanOptional, of type:boolean(a Boolean (true or false) value).If set to
true, tags are copied to any snapshot of the DB cluster that is created. -
DatabaseName (in the CLI:
--database-name) – a String, of type:string(a UTF-8 encoded string).The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon Neptune will not create a database in the DB cluster you are creating.
-
DBClusterIdentifier (in the CLI:
--db-cluster-identifier) – Required: a String, of type:string(a UTF-8 encoded string).The DB cluster identifier. This parameter is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 letters, numbers, or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1 -
-
DBClusterParameterGroupName (in the CLI:
--db-cluster-parameter-group-name) – a String, of type:string(a UTF-8 encoded string).The name of the DB cluster parameter group to associate with this DB cluster. If this argument is omitted, the default is used.
Constraints:
-
If supplied, must match the name of an existing DBClusterParameterGroup.
-
-
DBSubnetGroupName (in the CLI:
--db-subnet-group-name) – a String, of type:string(a UTF-8 encoded string).A DB subnet group to associate with this DB cluster.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example:
mySubnetgroup -
DeletionProtection (in the CLI:
--deletion-protection) – a BooleanOptional, of type:boolean(a Boolean (true or false) value).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 enabled.
-
EnableCloudwatchLogsExports (in the CLI:
--enable-cloudwatch-logs-exports) – a String, of type:string(a UTF-8 encoded string).A list of the log types that this DB cluster should export to CloudWatch Logs. Valid log types are:
audit(to publish audit logs) andslowquery(to publish slow-query logs). See Publishing Neptune logs to Amazon CloudWatch logs. -
EnableIAMDatabaseAuthentication (in the CLI:
--enable-iam-database-authentication) – a BooleanOptional, of type:boolean(a Boolean (true or false) value).If set to
true, enables Amazon Identity and Access Management (IAM) authentication for the entire DB cluster (this cannot be set at an instance level).Default:
false. -
Engine (in the CLI:
--engine) – Required: a String, of type:string(a UTF-8 encoded string).The name of the database engine to be used for this DB cluster.
Valid Values:
neptune -
EngineVersion (in the CLI:
--engine-version) – a String, of type:string(a UTF-8 encoded string).The version number of the database engine to use for the new DB cluster.
Example:
1.2.1.0 -
GlobalClusterIdentifier (in the CLI:
--global-cluster-identifier) – a GlobalClusterIdentifier, of type:string(a UTF-8 encoded string), not less than 1 or more than 255 ?st?s, matching this regular expression:[A-Za-z][0-9A-Za-z-:._]*.The ID of the Neptune global database to which this new DB cluster should be added.
-
KmsKeyId (in the CLI:
--kms-key-id) – a String, of type:string(a UTF-8 encoded string).The Amazon KMS key identifier for an encrypted DB cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB cluster with the same Amazon account that owns the KMS encryption key used to encrypt the new DB cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.
If an encryption key is not specified in
KmsKeyId:-
If
ReplicationSourceIdentifieridentifies an encrypted source, then Amazon Neptune will use the encryption key used to encrypt the source. Otherwise, Amazon Neptune will use your default encryption key. -
If the
StorageEncryptedparameter is true andReplicationSourceIdentifieris not specified, then Amazon Neptune will use your default encryption key.
Amazon KMS creates the default encryption key for your Amazon account. Your Amazon account has a different default encryption key for each Amazon Region.
If you create a Read Replica of an encrypted DB cluster in another Amazon Region, you must set
KmsKeyIdto a KMS key ID that is valid in the destination Amazon Region. This key is used to encrypt the Read Replica in that Amazon Region. -
-
Port (in the CLI:
--port) – an IntegerOptional, of type:integer(a signed 32-bit integer).The port number on which the instances in the DB cluster accept connections.
Default:
8182 -
PreferredBackupWindow (in the CLI:
--preferred-backup-window) – a String, of type:string(a UTF-8 encoded string).The daily time range during which automated backups are created if automated backups are enabled using the
BackupRetentionPeriodparameter.The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Constraints:
-
Must be in the format
hh24:mi-hh24:mi. -
Must be in Universal Coordinated Time (UTC).
-
Must not conflict with the preferred maintenance window.
-
Must be at least 30 minutes.
-
-
PreferredMaintenanceWindow (in the CLI:
--preferred-maintenance-window) – a String, of type:string(a UTF-8 encoded string).The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format:
ddd:hh24:mi-ddd:hh24:miThe default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week. To see the time blocks available, see Neptune Maintenance Window in the Amazon Neptune User Guide.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Minimum 30-minute window.
-
PreSignedUrl (in the CLI:
--pre-signed-url) – a String, of type:string(a UTF-8 encoded string).This parameter is not currently supported.
-
ReplicationSourceIdentifier (in the CLI:
--replication-source-identifier) – a String, of type:string(a UTF-8 encoded string).The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.
-
ServerlessV2ScalingConfiguration (in the CLI:
--serverless-v2-scaling-configuration) – A ServerlessV2ScalingConfiguration object.Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
-
StorageEncrypted (in the CLI:
--storage-encrypted) – a BooleanOptional, of type:boolean(a Boolean (true or false) value).Specifies whether the DB cluster is encrypted.
-
StorageType (in the CLI:
--storage-type) – a String, of type:string(a UTF-8 encoded string).The storage type for the new DB cluster.
Valid Values:
-
standard– ( the default ) Configures cost-effective database storage for applications with moderate to small I/O usage. When set tostandard, the storage type is not returned in the response. -
iopt1– Enables I/O-Optimized storage that's designed to meet the needs of I/O-intensive graph workloads that require predictable pricing with low I/O latency and consistent I/O throughput.Neptune I/O-Optimized storage is only available starting with engine release 1.3.0.0.
-
-
Tags (in the CLI:
--tags) – An array of Tag objects.The tags to assign to the new DB cluster.
-
VpcSecurityGroupIds (in the CLI:
--vpc-security-group-ids) – a String, of type:string(a UTF-8 encoded string).A list of EC2 VPC security groups to associate with this DB cluster.
Response
Contains the details of an Amazon Neptune DB cluster.
This data type is used as a response element in the DescribeDBClusters (action).
-
AllocatedStorage – an IntegerOptional, of type:
integer(a signed 32-bit integer).AllocatedStoragealways returns 1, because Neptune DB cluster storage size is not fixed, but instead automatically adjusts as needed. -
AssociatedRoles – An array of DBClusterRole objects.
Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon services on your behalf.
-
AutomaticRestartTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).Time at which the DB cluster will be automatically restarted.
-
AvailabilityZones – a String, of type:
string(a UTF-8 encoded string).Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
-
BacktrackConsumedChangeRecords – a LongOptional, of type:
long(a signed 64-bit integer).Not supported by Neptune.
-
BacktrackWindow – a LongOptional, of type:
long(a signed 64-bit integer).Not supported by Neptune.
-
BackupRetentionPeriod – an IntegerOptional, of type:
integer(a signed 32-bit integer).Specifies the number of days for which automatic DB snapshots are retained.
-
Capacity – an IntegerOptional, of type:
integer(a signed 32-bit integer).Not supported by Neptune.
-
CloneGroupId – a String, of type:
string(a UTF-8 encoded string).Identifies the clone group to which the DB cluster is associated.
-
ClusterCreateTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
-
CopyTagsToSnapshot – a BooleanOptional, of type:
boolean(a Boolean (true or false) value).If set to
true, tags are copied to any snapshot of the DB cluster that is created. -
CrossAccountClone – a BooleanOptional, of type:
boolean(a Boolean (true or false) value).If set to
true, the DB cluster can be cloned across accounts. -
DatabaseName – a String, of type:
string(a UTF-8 encoded string).Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.
-
DBClusterArn – a String, of type:
string(a UTF-8 encoded string).The Amazon Resource Name (ARN) for the DB cluster.
-
DBClusterIdentifier – a String, of type:
string(a UTF-8 encoded string).Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
-
DBClusterMembers – An array of DBClusterMember objects.
Provides the list of instances that make up the DB cluster.
-
DBClusterParameterGroup – a String, of type:
string(a UTF-8 encoded string).Specifies the name of the DB cluster parameter group for the DB cluster.
-
DbClusterResourceId – a String, of type:
string(a UTF-8 encoded string).The Amazon Region-unique, immutable identifier for the DB cluster. This identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key for the DB cluster is accessed.
-
DBSubnetGroup – a String, of type:
string(a UTF-8 encoded string).Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
-
DeletionProtection – a BooleanOptional, of type:
boolean(a Boolean (true or false) value).Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
-
EarliestBacktrackTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).Not supported by Neptune.
-
EarliestRestorableTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).Specifies the earliest time to which a database can be restored with point-in-time restore.
-
EnabledCloudwatchLogsExports – a String, of type:
string(a UTF-8 encoded string).A list of the log types that this DB cluster is configured to export to CloudWatch Logs. Valid log types are:
audit(to publish audit logs to CloudWatch) and slowquery (to publish slow-query logs to CloudWatch). See Publishing Neptune logs to Amazon CloudWatch logs. -
Endpoint – a String, of type:
string(a UTF-8 encoded string).Specifies the connection endpoint for the primary instance of the DB cluster.
-
Engine – a String, of type:
string(a UTF-8 encoded string).Provides the name of the database engine to be used for this DB cluster.
-
EngineVersion – a String, of type:
string(a UTF-8 encoded string).Indicates the database engine version.
-
GlobalClusterIdentifier – a GlobalClusterIdentifier, of type:
string(a UTF-8 encoded string), not less than 1 or more than 255 ?st?s, matching this regular expression:[A-Za-z][0-9A-Za-z-:._]*.Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database.
-
HostedZoneId – a String, of type:
string(a UTF-8 encoded string).Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
-
IAMDatabaseAuthenticationEnabled – a Boolean, of type:
boolean(a Boolean (true or false) value).True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
-
IOOptimizedNextAllowedModificationTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).The next time you can modify the DB cluster to use the
iopt1storage type. -
KmsKeyId – a String, of type:
string(a UTF-8 encoded string).If
StorageEncryptedis true, the Amazon KMS key identifier for the encrypted DB cluster. -
LatestRestorableTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).Specifies the latest time to which a database can be restored with point-in-time restore.
-
MultiAZ – a Boolean, of type:
boolean(a Boolean (true or false) value).Specifies whether the DB cluster has instances in multiple Availability Zones.
-
PendingModifiedValues – A ClusterPendingModifiedValues object.
This data type is used as a response element in the
ModifyDBClusteroperation and contains changes that will be applied during the next maintenance window. -
PercentProgress – a String, of type:
string(a UTF-8 encoded string).Specifies the progress of the operation as a percentage.
-
Port – an IntegerOptional, of type:
integer(a signed 32-bit integer).Specifies the port that the database engine is listening on.
-
PreferredBackupWindow – a String, of type:
string(a UTF-8 encoded string).Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the
BackupRetentionPeriod. -
PreferredMaintenanceWindow – a String, of type:
string(a UTF-8 encoded string).Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
-
ReaderEndpoint – a String, of type:
string(a UTF-8 encoded string).The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the Read Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Neptune distributes the connection requests among the Read Replicas in the DB cluster. This functionality can help balance your read workload across multiple Read Replicas in your DB cluster.
If a failover occurs, and the Read Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Read Replicas in the cluster, you can then reconnect to the reader endpoint.
-
ReadReplicaIdentifiers – a String, of type:
string(a UTF-8 encoded string).Contains one or more identifiers of the Read Replicas associated with this DB cluster.
-
ReplicationSourceIdentifier – a String, of type:
string(a UTF-8 encoded string).Not supported by Neptune.
-
ReplicationType – a String, of type:
string(a UTF-8 encoded string).Not supported by Neptune.
-
ServerlessV2ScalingConfiguration – A ServerlessV2ScalingConfigurationInfo object.
Shows the scaling configuration for a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
-
Status – a String, of type:
string(a UTF-8 encoded string).Specifies the current state of this DB cluster.
-
StorageEncrypted – a Boolean, of type:
boolean(a Boolean (true or false) value).Specifies whether the DB cluster is encrypted.
-
StorageType – a String, of type:
string(a UTF-8 encoded string).The storage type used by the DB cluster.
Valid Values:
-
standard– ( the default ) Provides cost-effective database storage for applications with moderate to small I/O usage. -
iopt1– Enables I/O-Optimized storage that's designed to meet the needs of I/O-intensive graph workloads that require predictable pricing with low I/O latency and consistent I/O throughput.Neptune I/O-Optimized storage is only available starting with engine release 1.3.0.0.
-
-
VpcSecurityGroups – An array of VpcSecurityGroupMembership objects.
Provides a list of VPC security groups that the DB cluster belongs to.
Errors
DeleteDBCluster (action)
The AWS CLI name for this API is: delete-db-cluster.
The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.
Note that the DB Cluster cannot be deleted if deletion protection is enabled.
To delete it, you must first set its DeletionProtection field
to False.
Request
-
DBClusterIdentifier (in the CLI:
--db-cluster-identifier) – Required: a String, of type:string(a UTF-8 encoded string).The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.
Constraints:
-
Must match an existing DBClusterIdentifier.
-
-
FinalDBSnapshotIdentifier (in the CLI:
--final-db-snapshot-identifier) – a String, of type:string(a UTF-8 encoded string).The DB cluster snapshot identifier of the new DB cluster snapshot created when
SkipFinalSnapshotis set tofalse.Note
Specifying this parameter and also setting the
SkipFinalShapshotparameter to true results in an error.Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
-
-
SkipFinalSnapshot (in the CLI:
--skip-final-snapshot) – a Boolean, of type:boolean(a Boolean (true or false) value).Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. If
trueis specified, no DB cluster snapshot is created. Iffalseis specified, a DB cluster snapshot is created before the DB cluster is deleted.Note
You must specify a
FinalDBSnapshotIdentifierparameter ifSkipFinalSnapshotisfalse.Default:
false
Response
Contains the details of an Amazon Neptune DB cluster.
This data type is used as a response element in the DescribeDBClusters (action).
-
AllocatedStorage – an IntegerOptional, of type:
integer(a signed 32-bit integer).AllocatedStoragealways returns 1, because Neptune DB cluster storage size is not fixed, but instead automatically adjusts as needed. -
AssociatedRoles – An array of DBClusterRole objects.
Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon services on your behalf.
-
AutomaticRestartTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).Time at which the DB cluster will be automatically restarted.
-
AvailabilityZones – a String, of type:
string(a UTF-8 encoded string).Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
-
BacktrackConsumedChangeRecords – a LongOptional, of type:
long(a signed 64-bit integer).Not supported by Neptune.
-
BacktrackWindow – a LongOptional, of type:
long(a signed 64-bit integer).Not supported by Neptune.
-
BackupRetentionPeriod – an IntegerOptional, of type:
integer(a signed 32-bit integer).Specifies the number of days for which automatic DB snapshots are retained.
-
Capacity – an IntegerOptional, of type:
integer(a signed 32-bit integer).Not supported by Neptune.
-
CloneGroupId – a String, of type:
string(a UTF-8 encoded string).Identifies the clone group to which the DB cluster is associated.
-
ClusterCreateTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
-
CopyTagsToSnapshot – a BooleanOptional, of type:
boolean(a Boolean (true or false) value).If set to
true, tags are copied to any snapshot of the DB cluster that is created. -
CrossAccountClone – a BooleanOptional, of type:
boolean(a Boolean (true or false) value).If set to
true, the DB cluster can be cloned across accounts. -
DatabaseName – a String, of type:
string(a UTF-8 encoded string).Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.
-
DBClusterArn – a String, of type:
string(a UTF-8 encoded string).The Amazon Resource Name (ARN) for the DB cluster.
-
DBClusterIdentifier – a String, of type:
string(a UTF-8 encoded string).Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
-
DBClusterMembers – An array of DBClusterMember objects.
Provides the list of instances that make up the DB cluster.
-
DBClusterParameterGroup – a String, of type:
string(a UTF-8 encoded string).Specifies the name of the DB cluster parameter group for the DB cluster.
-
DbClusterResourceId – a String, of type:
string(a UTF-8 encoded string).The Amazon Region-unique, immutable identifier for the DB cluster. This identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key for the DB cluster is accessed.
-
DBSubnetGroup – a String, of type:
string(a UTF-8 encoded string).Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
-
DeletionProtection – a BooleanOptional, of type:
boolean(a Boolean (true or false) value).Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
-
EarliestBacktrackTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).Not supported by Neptune.
-
EarliestRestorableTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).Specifies the earliest time to which a database can be restored with point-in-time restore.
-
EnabledCloudwatchLogsExports – a String, of type:
string(a UTF-8 encoded string).A list of the log types that this DB cluster is configured to export to CloudWatch Logs. Valid log types are:
audit(to publish audit logs to CloudWatch) and slowquery (to publish slow-query logs to CloudWatch). See Publishing Neptune logs to Amazon CloudWatch logs. -
Endpoint – a String, of type:
string(a UTF-8 encoded string).Specifies the connection endpoint for the primary instance of the DB cluster.
-
Engine – a String, of type:
string(a UTF-8 encoded string).Provides the name of the database engine to be used for this DB cluster.
-
EngineVersion – a String, of type:
string(a UTF-8 encoded string).Indicates the database engine version.
-
GlobalClusterIdentifier – a GlobalClusterIdentifier, of type:
string(a UTF-8 encoded string), not less than 1 or more than 255 ?st?s, matching this regular expression:[A-Za-z][0-9A-Za-z-:._]*.Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database.
-
HostedZoneId – a String, of type:
string(a UTF-8 encoded string).Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
-
IAMDatabaseAuthenticationEnabled – a Boolean, of type:
boolean(a Boolean (true or false) value).True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
-
IOOptimizedNextAllowedModificationTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).The next time you can modify the DB cluster to use the
iopt1storage type. -
KmsKeyId – a String, of type:
string(a UTF-8 encoded string).If
StorageEncryptedis true, the Amazon KMS key identifier for the encrypted DB cluster. -
LatestRestorableTime – a TStamp, of type:
timestamp(a point in time, generally defined as an offset from midnight 1970-01-01).Specifies the latest time to which a database can be restored with point-in-time restore.
-
MultiAZ – a Boolean, of type:
boolean(a Boolean (true or false) value).Specifies whether the DB cluster has instances in multiple Availability Zones.
-
PendingModifiedValues – A ClusterPendingModifiedValues object.
This data type is used as a response element in the
ModifyDBClusteroperation and contains changes that will be applied during the next maintenance window. -
PercentProgress – a String, of type:
string(a UTF-8 encoded string).Specifies the progress of the operation as a percentage.
-
Port – an IntegerOptional, of type:
integer(a signed 32-bit integer).Specifies the port that the database engine is listening on.
-
PreferredBackupWindow – a String, of type:
string(a UTF-8 encoded string).Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the
BackupRetentionPeriod. -
PreferredMaintenanceWindow – a String, of type:
string(a UTF-8 encoded string).Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
-
ReaderEndpoint – a String, of type:
string(a UTF-8 encoded string).The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the Read Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Neptune distributes the connection requests among the Read Replicas in the DB cluster. This functionality can help balance your read workload across multiple Read Replicas in your DB cluster.
If a failover occurs, and the Read Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Read Replicas in the cluster, you can then reconnect to the reader endpoint.
-
ReadReplicaIdentifiers – a String, of type:
string(a UTF-8 encoded string).Contains one or more identifiers of the Read Replicas associated with this DB cluster.
-
ReplicationSourceIdentifier – a String, of type:
string(a UTF-8 encoded string).Not supported by Neptune.
-
ReplicationType – a String, of type:
string(a UTF-8 encoded string).Not supported by Neptune.
-
ServerlessV2ScalingConfiguration – A ServerlessV2ScalingConfigurationInfo object.
Shows the scaling configuration for a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
-
Status – a String, of type:
string(a UTF-8 encoded string).Specifies the current state of this DB cluster.
-
StorageEncrypted – a Boolean, of type:
boolean(a Boolean (true or false) value).Specifies whether the DB cluster is encrypted.
-
StorageType – a String, of type:
string(a UTF-8 encoded string).The storage type used by the DB cluster.
Valid Values:
-
standard– ( the default ) Provides cost-effective database storage for applications with moderate to small I/O usage. -
iopt1– Enables I/O-Optimized storage that's designed to meet the needs of I/O-intensive graph workloads that require predictable pricing with low I/O latency and consistent I/O throughput.Neptune I/O-Optimized storage is only available starting with engine release 1.3.0.0.
-
-
VpcSecurityGroups – An array of VpcSecurityGroupMembership objects.
Provides a list of VPC security groups that the DB cluster belongs to.
Errors
ModifyDBCluster (action)
The AWS CLI name for this API is: modify-db-cluster.
Modify a setting for a DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
Request
-
AllowMajorVersionUpgrade (in the CLI:
--allow-major-version-upgrade) – a Boolean, of type:boolean(a Boolean (true or false) value).A value that indicates whether upgrades between different major versions are allowed.
Constraints: You must set the allow-major-version-upgrade flag when providing an
EngineVersionparameter that uses a different major version than the DB cluster's current version. -
ApplyImmediately (in the CLI:
--apply-immediately) – a Boolean, of type:boolean(a Boolean (true or false) value).A value that specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the
PreferredMaintenanceWindowsetting for the DB cluster. If this parameter is set tofalse, changes to the DB cluster are applied during the next maintenance window.The
ApplyImmediatelyparameter only affectsNewDBClusterIdentifiervalues. If you set theApplyImmediatelyparameter value to false, then changes toNewDBClusterIdentifiervalues are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of theApplyImmediatelyparameter.Default:
false -
BackupRetentionPeriod (in the CLI:
--backup-retention-period) – an IntegerOptional, of type:integer(a signed 32-bit integer).The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
-
Must be a value from 1 to 35
-
-
CloudwatchLogsExportConfiguration (in the CLI:
--cloudwatch-logs-export-configuration) – A CloudwatchLogsExportConfiguration object.The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB cluster. See Using the CLI to publish Neptune audit logs to CloudWatch Logs.
-
CopyTagsToSnapshot (in the CLI:
--copy-tags-to-snapshot) – a BooleanOptional, of type:boolean(a Boolean (true or false) value).If set to
true, tags are copied to any snapshot of the DB cluster that is created. -
DBClusterIdentifier (in the CLI:
--db-cluster-identifier) – Required: a String, of type:string(a UTF-8 encoded string).The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.
Constraints:
-
Must match the identifier of an existing DBCluster.
-
-
DBClusterParameterGroupName (in the CLI:
--db-cluster-parameter-group-name) – a String, of type:string(a UTF-8 encoded string).The name of the DB cluster parameter group to use for the DB cluster.
-
DBInstanceParameterGroupName (in the CLI:
--db-instance-parameter-group-name) – a String, of type:string(a UTF-8 encoded string).The name of the DB parameter group to apply to all instances of the DB cluster.
Note
When you apply a parameter group using
DBInstanceParameterGroupName, parameter changes aren't applied during the next maintenance window but instead are applied immediately.Default: The existing name setting
Constraints:
-
The DB parameter group must be in the same DB parameter group family as the target DB cluster version.
-
The
DBInstanceParameterGroupNameparameter is only valid in combination with theAllowMajorVersionUpgradeparameter.
-
-
DeletionProtection (in the CLI:
--deletion-protection) – a BooleanOptional, of type:boolean(a Boolean (true or false) value).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.
-
EnableIAMDatabaseAuthentication (in the CLI:
--enable-iam-database-authentication) – a BooleanOptional, of type:boolean(a Boolean (true or false) value).True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and otherwise false.
Default:
false -
EngineVersion (in the CLI:
--engine-version) – a String, of type:string(a UTF-8 encoded string).The version number of the database engine to which you want to upgrade. Changing this parameter results in an outage. The change is applied during the next maintenance window unless the
ApplyImmediatelyparameter is set to true.For a list of valid engine versions, see Engine Releases for Amazon Neptune, or call DescribeDBEngineVersions (action).
-
NewDBClusterIdentifier (in the CLI:
--new-db-cluster-identifier) – a String, of type:string(a UTF-8 encoded string).The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 letters, numbers, or hyphens
-
The first character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
Example:
my-cluster2 -
-
Port (in the CLI:
--port) – an IntegerOptional, of type:integer(a signed 32-bit integer).The port number on which the DB cluster accepts connections.
Constraints: Value must be
1150-65535Default: The same port as the original DB cluster.
-
PreferredBackupWindow (in the CLI:
--preferred-backup-window) – a String, of type:string(a UTF-8 encoded string).The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriodparameter.The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region.
Constraints:
-
Must be in the format
hh24:mi-hh24:mi. -
Must be in Universal Coordinated Time (UTC).
-
Must not conflict with the preferred maintenance window.
-
Must be at least 30 minutes.
-
-
PreferredMaintenanceWindow (in the CLI:
--preferred-maintenance-window) – a String, of type:string(a UTF-8 encoded string).The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format:
ddd:hh24:mi-ddd:hh24:mi