Create Db Instance
| neptune_create_db_instance | R Documentation |
Creates a new DB instance¶
Description¶
Creates a new DB instance.
Usage¶
neptune_create_db_instance(DBName, DBInstanceIdentifier,
AllocatedStorage, DBInstanceClass, Engine, MasterUsername,
MasterUserPassword, DBSecurityGroups, VpcSecurityGroupIds,
AvailabilityZone, DBSubnetGroupName, PreferredMaintenanceWindow,
DBParameterGroupName, BackupRetentionPeriod, PreferredBackupWindow,
Port, MultiAZ, EngineVersion, AutoMinorVersionUpgrade, LicenseModel,
Iops, OptionGroupName, CharacterSetName, PubliclyAccessible, Tags,
DBClusterIdentifier, StorageType, TdeCredentialArn,
TdeCredentialPassword, StorageEncrypted, KmsKeyId, Domain,
CopyTagsToSnapshot, MonitoringInterval, MonitoringRoleArn,
DomainIAMRoleName, PromotionTier, Timezone,
EnableIAMDatabaseAuthentication, EnablePerformanceInsights,
PerformanceInsightsKMSKeyId, EnableCloudwatchLogsExports,
DeletionProtection)
Arguments¶
DBName |
Not supported. |
DBInstanceIdentifier |
[required] The DB instance identifier. This parameter is stored as a lowercase string. Constraints:
Example: |
AllocatedStorage |
Not supported by Neptune. |
DBInstanceClass |
[required] The compute and memory capacity of the DB instance,
for example, |
Engine |
[required] The name of the database engine to be used for this instance. Valid Values: |
MasterUsername |
Not supported by Neptune. |
MasterUserPassword |
Not supported by Neptune. |
DBSecurityGroups |
A list of DB security groups to associate with this DB instance. Default: The default DB security group for the database engine. |
VpcSecurityGroupIds |
A list of EC2 VPC security groups to associate with this DB instance. Not applicable. The associated list of EC2 VPC security groups is
managed by the DB cluster. For more information, see
Default: The default EC2 VPC security group for the DB subnet group's VPC. |
AvailabilityZone |
The EC2 Availability Zone that the DB instance is created in Default: A random, system-chosen Availability Zone in the endpoint's Amazon Region. Example: Constraint: The AvailabilityZone parameter can't be specified if the
MultiAZ parameter is set to |
DBSubnetGroupName |
A DB subnet group to associate with this DB instance. If there is no DB subnet group, then it is a non-VPC DB instance. |
PreferredMaintenanceWindow |
The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: The 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. Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun. Constraints: Minimum 30-minute window. |
DBParameterGroupName |
The name of the DB parameter group to associate with this DB instance. If this argument is omitted, the default DBParameterGroup for the specified engine is used. Constraints:
|
BackupRetentionPeriod |
The number of days for which automated backups are retained. Not applicable. The retention period for automated backups is managed
by the DB cluster. For more information, see
Default: 1 Constraints:
|
PreferredBackupWindow |
The daily time range during which automated backups are created. Not applicable. The daily time range for creating automated backups
is managed by the DB cluster. For more information, see
|
Port |
The port number on which the database accepts connections. Not applicable. The port is managed by the DB cluster. For more
information, see Default: Type: Integer |
MultiAZ |
Specifies if the DB instance is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true. |
EngineVersion |
The version number of the database engine to use. Currently, setting this parameter has no effect. |
AutoMinorVersionUpgrade |
Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: |
LicenseModel |
License model information for this DB instance. Valid values: |
Iops |
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance. |
OptionGroupName |
(Not supported by Neptune) |
CharacterSetName |
(Not supported by Neptune) |
PubliclyAccessible |
Indicates whether the DB instance is publicly accessible. When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it. When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address. |
Tags |
The tags to assign to the new instance. |
DBClusterIdentifier |
[required] The identifier of the DB cluster that the instance will belong to. For information on creating a DB cluster, see
Type: String |
StorageType |
Not applicable. In Neptune the storage type is managed at the DB Cluster level. |
TdeCredentialArn |
The ARN from the key store with which to associate the instance for TDE encryption. |
TdeCredentialPassword |
The password for the given ARN from the key store in order to access the device. |
StorageEncrypted |
Specifies whether the DB instance is encrypted. Not applicable. The encryption for DB instances is managed by the DB
cluster. For more information, see Default: false |
KmsKeyId |
The Amazon KMS key identifier for an encrypted DB instance. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB instance with the same Amazon account that owns the KMS encryption key used to encrypt the new DB instance, then you can use the KMS key alias instead of the ARN for the KMS encryption key. Not applicable. The KMS key identifier is managed by the DB cluster.
For more information, see If the |
Domain |
Specify the Active Directory Domain to create the instance in. |
CopyTagsToSnapshot |
True to copy all tags from the DB instance to snapshots of the DB instance, and otherwise false. The default is false. |
MonitoringInterval |
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. If Valid Values: |
MonitoringRoleArn |
The ARN for the IAM role that permits Neptune to send enhanced
monitoring metrics to Amazon CloudWatch Logs. For example,
If |
DomainIAMRoleName |
Specify the name of the IAM role to be used when making API calls to the Directory Service. |
PromotionTier |
A value that specifies the order in which an Read Replica is promoted to the primary instance after a failure of the existing primary instance. Default: 1 Valid Values: 0 - 15 |
Timezone |
The time zone of the DB instance. |
EnableIAMDatabaseAuthentication |
Not supported by Neptune (ignored). |
EnablePerformanceInsights |
(Not supported by Neptune) |
PerformanceInsightsKMSKeyId |
(Not supported by Neptune) |
EnableCloudwatchLogsExports |
The list of log types that need to be enabled for exporting to CloudWatch Logs. |
DeletionProtection |
A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. See Deleting a DB Instance. DB instances in a DB cluster can be deleted even when deletion protection is enabled in their parent DB cluster. |
Value¶
A list with the following syntax:
list(
DBInstance = list(
DBInstanceIdentifier = "string",
DBInstanceClass = "string",
Engine = "string",
DBInstanceStatus = "string",
MasterUsername = "string",
DBName = "string",
Endpoint = list(
Address = "string",
Port = 123,
HostedZoneId = "string"
),
AllocatedStorage = 123,
InstanceCreateTime = as.POSIXct(
"2015-01-01"
),
PreferredBackupWindow = "string",
BackupRetentionPeriod = 123,
DBSecurityGroups = list(
list(
DBSecurityGroupName = "string",
Status = "string"
)
),
VpcSecurityGroups = list(
list(
VpcSecurityGroupId = "string",
Status = "string"
)
),
DBParameterGroups = list(
list(
DBParameterGroupName = "string",
ParameterApplyStatus = "string"
)
),
AvailabilityZone = "string",
DBSubnetGroup = list(
DBSubnetGroupName = "string",
DBSubnetGroupDescription = "string",
VpcId = "string",
SubnetGroupStatus = "string",
Subnets = list(
list(
SubnetIdentifier = "string",
SubnetAvailabilityZone = list(
Name = "string"
),
SubnetStatus = "string"
)
),
DBSubnetGroupArn = "string"
),
PreferredMaintenanceWindow = "string",
PendingModifiedValues = list(
DBInstanceClass = "string",
AllocatedStorage = 123,
MasterUserPassword = "string",
Port = 123,
BackupRetentionPeriod = 123,
MultiAZ = TRUE|FALSE,
EngineVersion = "string",
LicenseModel = "string",
Iops = 123,
DBInstanceIdentifier = "string",
StorageType = "string",
CACertificateIdentifier = "string",
DBSubnetGroupName = "string",
PendingCloudwatchLogsExports = list(
LogTypesToEnable = list(
"string"
),
LogTypesToDisable = list(
"string"
)
)
),
LatestRestorableTime = as.POSIXct(
"2015-01-01"
),
MultiAZ = TRUE|FALSE,
EngineVersion = "string",
AutoMinorVersionUpgrade = TRUE|FALSE,
ReadReplicaSourceDBInstanceIdentifier = "string",
ReadReplicaDBInstanceIdentifiers = list(
"string"
),
ReadReplicaDBClusterIdentifiers = list(
"string"
),
LicenseModel = "string",
Iops = 123,
OptionGroupMemberships = list(
list(
OptionGroupName = "string",
Status = "string"
)
),
CharacterSetName = "string",
SecondaryAvailabilityZone = "string",
PubliclyAccessible = TRUE|FALSE,
StatusInfos = list(
list(
StatusType = "string",
Normal = TRUE|FALSE,
Status = "string",
Message = "string"
)
),
StorageType = "string",
TdeCredentialArn = "string",
DbInstancePort = 123,
DBClusterIdentifier = "string",
StorageEncrypted = TRUE|FALSE,
KmsKeyId = "string",
DbiResourceId = "string",
CACertificateIdentifier = "string",
DomainMemberships = list(
list(
Domain = "string",
Status = "string",
FQDN = "string",
IAMRoleName = "string"
)
),
CopyTagsToSnapshot = TRUE|FALSE,
MonitoringInterval = 123,
EnhancedMonitoringResourceArn = "string",
MonitoringRoleArn = "string",
PromotionTier = 123,
DBInstanceArn = "string",
Timezone = "string",
IAMDatabaseAuthenticationEnabled = TRUE|FALSE,
PerformanceInsightsEnabled = TRUE|FALSE,
PerformanceInsightsKMSKeyId = "string",
EnabledCloudwatchLogsExports = list(
"string"
),
DeletionProtection = TRUE|FALSE
)
)
Request syntax¶
svc$create_db_instance(
DBName = "string",
DBInstanceIdentifier = "string",
AllocatedStorage = 123,
DBInstanceClass = "string",
Engine = "string",
MasterUsername = "string",
MasterUserPassword = "string",
DBSecurityGroups = list(
"string"
),
VpcSecurityGroupIds = list(
"string"
),
AvailabilityZone = "string",
DBSubnetGroupName = "string",
PreferredMaintenanceWindow = "string",
DBParameterGroupName = "string",
BackupRetentionPeriod = 123,
PreferredBackupWindow = "string",
Port = 123,
MultiAZ = TRUE|FALSE,
EngineVersion = "string",
AutoMinorVersionUpgrade = TRUE|FALSE,
LicenseModel = "string",
Iops = 123,
OptionGroupName = "string",
CharacterSetName = "string",
PubliclyAccessible = TRUE|FALSE,
Tags = list(
list(
Key = "string",
Value = "string"
)
),
DBClusterIdentifier = "string",
StorageType = "string",
TdeCredentialArn = "string",
TdeCredentialPassword = "string",
StorageEncrypted = TRUE|FALSE,
KmsKeyId = "string",
Domain = "string",
CopyTagsToSnapshot = TRUE|FALSE,
MonitoringInterval = 123,
MonitoringRoleArn = "string",
DomainIAMRoleName = "string",
PromotionTier = 123,
Timezone = "string",
EnableIAMDatabaseAuthentication = TRUE|FALSE,
EnablePerformanceInsights = TRUE|FALSE,
PerformanceInsightsKMSKeyId = "string",
EnableCloudwatchLogsExports = list(
"string"
),
DeletionProtection = TRUE|FALSE
)