Skip to content

CreateDBInstanceMessage

Source code in docs_src/capo_neptune/types/create_db_instance_message.py
class CreateDBInstanceMessage(TypedDict, closed=True):
    db_name: NotRequired["capo_neptune.types.string.String"]
    """<p>Not supported.</p>"""
    db_instance_identifier: NotRequired["capo_neptune.types.string.String"]
    """<p>The DB instance identifier. This parameter is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens.</p> </li> </ul> <p>Example: <code>mydbinstance</code> </p>"""
    allocated_storage: NotRequired[
        "capo_neptune.types.integer_optional.IntegerOptional"
    ]
    """<p>Not supported by Neptune.</p>"""
    db_instance_class: NotRequired["capo_neptune.types.string.String"]
    """<p>The compute and memory capacity of the DB instance, for example, <code>db.m4.large</code>. Not all DB instance classes are available in all Amazon Regions.</p>"""
    engine: NotRequired["capo_neptune.types.string.String"]
    """<p>The name of the database engine to be used for this instance.</p> <p>Valid Values: <code>neptune</code> </p>"""
    master_username: NotRequired["capo_neptune.types.string.String"]
    """<p>Not supported by Neptune.</p>"""
    master_user_password: NotRequired["capo_neptune.types.string.String"]
    """<p>Not supported by Neptune.</p>"""
    db_security_groups: NotRequired[
        "capo_neptune.types.db_security_group_name_list.DBSecurityGroupNameList"
    ]
    """<p>A list of DB security groups to associate with this DB instance.</p> <p>Default: The default DB security group for the database engine.</p>"""
    vpc_security_group_ids: NotRequired[
        "capo_neptune.types.vpc_security_group_id_list.VpcSecurityGroupIdList"
    ]
    """<p>A list of EC2 VPC security groups to associate with this DB instance.</p> <p>Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. For more information, see <a>CreateDBCluster</a>.</p> <p>Default: The default EC2 VPC security group for the DB subnet group's VPC.</p>"""
    availability_zone: NotRequired["capo_neptune.types.string.String"]
    """<p> The EC2 Availability Zone that the DB instance is created in</p> <p>Default: A random, system-chosen Availability Zone in the endpoint's Amazon Region.</p> <p> Example: <code>us-east-1d</code> </p> <p> Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ parameter is set to <code>true</code>. The specified Availability Zone must be in the same Amazon Region as the current endpoint.</p>"""
    db_subnet_group_name: NotRequired["capo_neptune.types.string.String"]
    """<p>A DB subnet group to associate with this DB instance.</p> <p>If there is no DB subnet group, then it is a non-VPC DB instance.</p>"""
    preferred_maintenance_window: NotRequired["capo_neptune.types.string.String"]
    """<p>The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).</p> <p> Format: <code>ddd:hh24:mi-ddd:hh24:mi</code> </p> <p>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.</p> <p>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.</p> <p>Constraints: Minimum 30-minute window.</p>"""
    db_parameter_group_name: NotRequired["capo_neptune.types.string.String"]
    """<p>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.</p> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 255 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a letter</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens</p> </li> </ul>"""
    backup_retention_period: NotRequired[
        "capo_neptune.types.integer_optional.IntegerOptional"
    ]
    """<p>The number of days for which automated backups are retained.</p> <p>Not applicable. The retention period for automated backups is managed by the DB cluster. For more information, see <a>CreateDBCluster</a>.</p> <p>Default: 1</p> <p>Constraints:</p> <ul> <li> <p>Must be a value from 0 to 35</p> </li> <li> <p>Cannot be set to 0 if the DB instance is a source to Read Replicas</p> </li> </ul>"""
    preferred_backup_window: NotRequired["capo_neptune.types.string.String"]
    """<p> The daily time range during which automated backups are created.</p> <p>Not applicable. The daily time range for creating automated backups is managed by the DB cluster. For more information, see <a>CreateDBCluster</a>.</p>"""
    port: NotRequired["capo_neptune.types.integer_optional.IntegerOptional"]
    """<p>The port number on which the database accepts connections.</p> <p>Not applicable. The port is managed by the DB cluster. For more information, see <a>CreateDBCluster</a>.</p> <p> Default: <code>8182</code> </p> <p>Type: Integer</p>"""
    multi_az: NotRequired["capo_neptune.types.boolean_optional.BooleanOptional"]
    """<p>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.</p>"""
    engine_version: NotRequired["capo_neptune.types.string.String"]
    """<p>The version number of the database engine to use. Currently, setting this parameter has no effect.</p>"""
    auto_minor_version_upgrade: NotRequired[
        "capo_neptune.types.boolean_optional.BooleanOptional"
    ]
    """<p>Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.</p> <p>Default: <code>true</code> </p>"""
    license_model: NotRequired["capo_neptune.types.string.String"]
    """<p>License model information for this DB instance.</p> <p> Valid values: <code>license-included</code> | <code>bring-your-own-license</code> | <code>general-public-license</code> </p>"""
    iops: NotRequired["capo_neptune.types.integer_optional.IntegerOptional"]
    """<p>The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.</p>"""
    option_group_name: NotRequired["capo_neptune.types.string.String"]
    """<p> <i>(Not supported by Neptune)</i> </p>"""
    character_set_name: NotRequired["capo_neptune.types.string.String"]
    """<p> <i>(Not supported by Neptune)</i> </p>"""
    publicly_accessible: NotRequired[
        "capo_neptune.types.boolean_optional.BooleanOptional"
    ]
    """<p>Indicates whether the DB instance is publicly accessible.</p> <p>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.</p> <p>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.</p>"""
    tags: NotRequired["capo_neptune.types.tag_list.TagList"]
    """<p>The tags to assign to the new instance.</p>"""
    db_cluster_identifier: NotRequired["capo_neptune.types.string.String"]
    """<p>The identifier of the DB cluster that the instance will belong to.</p> <p>For information on creating a DB cluster, see <a>CreateDBCluster</a>.</p> <p>Type: String</p>"""
    storage_type: NotRequired["capo_neptune.types.string.String"]
    """<p>Not applicable. In Neptune the storage type is managed at the DB Cluster level.</p>"""
    tde_credential_arn: NotRequired["capo_neptune.types.string.String"]
    """<p>The ARN from the key store with which to associate the instance for TDE encryption.</p>"""
    tde_credential_password: NotRequired[
        "capo_neptune.types.sensitive_string.SensitiveString"
    ]
    """<p>The password for the given ARN from the key store in order to access the device.</p>"""
    storage_encrypted: NotRequired[
        "capo_neptune.types.boolean_optional.BooleanOptional"
    ]
    """<p>Specifies whether the DB instance is encrypted.</p> <p>Not applicable. The encryption for DB instances is managed by the DB cluster. For more information, see <a>CreateDBCluster</a>.</p> <p>Default: false</p>"""
    kms_key_id: NotRequired["capo_neptune.types.string.String"]
    """<p>The Amazon KMS key identifier for an encrypted DB instance.</p> <p>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.</p> <p>Not applicable. The KMS key identifier is managed by the DB cluster. For more information, see <a>CreateDBCluster</a>.</p> <p>If the <code>StorageEncrypted</code> parameter is true, and you do not specify a value for the <code>KmsKeyId</code> parameter, 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.</p>"""
    domain: NotRequired["capo_neptune.types.string.String"]
    """<p>Specify the Active Directory Domain to create the instance in.</p>"""
    copy_tags_to_snapshot: NotRequired[
        "capo_neptune.types.boolean_optional.BooleanOptional"
    ]
    """<p>True to copy all tags from the DB instance to snapshots of the DB instance, and otherwise false. The default is false.</p>"""
    monitoring_interval: NotRequired[
        "capo_neptune.types.integer_optional.IntegerOptional"
    ]
    """<p>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.</p> <p>If <code>MonitoringRoleArn</code> is specified, then you must also set <code>MonitoringInterval</code> to a value other than 0.</p> <p>Valid Values: <code>0, 1, 5, 10, 15, 30, 60</code> </p>"""
    monitoring_role_arn: NotRequired["capo_neptune.types.string.String"]
    """<p>The ARN for the IAM role that permits Neptune to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, <code>arn:aws:iam:123456789012:role/emaccess</code>.</p> <p>If <code>MonitoringInterval</code> is set to a value other than 0, then you must supply a <code>MonitoringRoleArn</code> value.</p>"""
    domain_iam_role_name: NotRequired["capo_neptune.types.string.String"]
    """<p>Specify the name of the IAM role to be used when making API calls to the Directory Service.</p>"""
    promotion_tier: NotRequired["capo_neptune.types.integer_optional.IntegerOptional"]
    """<p>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. </p> <p>Default: 1</p> <p>Valid Values: 0 - 15</p>"""
    timezone: NotRequired["capo_neptune.types.string.String"]
    """<p>The time zone of the DB instance.</p>"""
    enable_iam_database_authentication: NotRequired[
        "capo_neptune.types.boolean_optional.BooleanOptional"
    ]
    """<p>Not supported by Neptune (ignored).</p>"""
    enable_performance_insights: NotRequired[
        "capo_neptune.types.boolean_optional.BooleanOptional"
    ]
    """<p> <i>(Not supported by Neptune)</i> </p>"""
    performance_insights_kms_key_id: NotRequired["capo_neptune.types.string.String"]
    """<p> <i>(Not supported by Neptune)</i> </p>"""
    enable_cloudwatch_logs_exports: NotRequired[
        "capo_neptune.types.log_type_list.LogTypeList"
    ]
    """<p>The list of log types that need to be enabled for exporting to CloudWatch Logs.</p>"""
    deletion_protection: NotRequired[
        "capo_neptune.types.boolean_optional.BooleanOptional"
    ]
    """<p>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 <a href="https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-delete.html">Deleting a DB Instance</a>.</p> <p>DB instances in a DB cluster can be deleted even when deletion protection is enabled in their parent DB cluster.</p>"""

allocated_storage instance-attribute

allocated_storage: NotRequired[IntegerOptional]

Not supported by Neptune.

auto_minor_version_upgrade instance-attribute

auto_minor_version_upgrade: NotRequired[BooleanOptional]

Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.

Default: true

availability_zone instance-attribute

availability_zone: NotRequired[String]

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: us-east-1d

Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ parameter is set to true. The specified Availability Zone must be in the same Amazon Region as the current endpoint.

backup_retention_period instance-attribute

backup_retention_period: NotRequired[IntegerOptional]

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 CreateDBCluster.

Default: 1

Constraints:

  • Must be a value from 0 to 35

  • Cannot be set to 0 if the DB instance is a source to Read Replicas

character_set_name instance-attribute

character_set_name: NotRequired[String]

(Not supported by Neptune)

copy_tags_to_snapshot instance-attribute

copy_tags_to_snapshot: NotRequired[BooleanOptional]

True to copy all tags from the DB instance to snapshots of the DB instance, and otherwise false. The default is false.

db_cluster_identifier instance-attribute

db_cluster_identifier: NotRequired[String]

The identifier of the DB cluster that the instance will belong to.

For information on creating a DB cluster, see CreateDBCluster.

Type: String

db_instance_class instance-attribute

db_instance_class: NotRequired[String]

The compute and memory capacity of the DB instance, for example, db.m4.large. Not all DB instance classes are available in all Amazon Regions.

db_instance_identifier instance-attribute

db_instance_identifier: NotRequired[String]

The DB instance 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: mydbinstance

db_name instance-attribute

db_name: NotRequired[String]

Not supported.

db_parameter_group_name instance-attribute

db_parameter_group_name: NotRequired[String]

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:

  • 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

db_security_groups instance-attribute

db_security_groups: NotRequired[DBSecurityGroupNameList]

A list of DB security groups to associate with this DB instance.

Default: The default DB security group for the database engine.

db_subnet_group_name instance-attribute

db_subnet_group_name: NotRequired[String]

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.

deletion_protection instance-attribute

deletion_protection: NotRequired[BooleanOptional]

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.

domain instance-attribute

domain: NotRequired[String]

Specify the Active Directory Domain to create the instance in.

domain_iam_role_name instance-attribute

domain_iam_role_name: NotRequired[String]

Specify the name of the IAM role to be used when making API calls to the Directory Service.

enable_cloudwatch_logs_exports instance-attribute

enable_cloudwatch_logs_exports: NotRequired[LogTypeList]

The list of log types that need to be enabled for exporting to CloudWatch Logs.

enable_iam_database_authentication instance-attribute

enable_iam_database_authentication: NotRequired[BooleanOptional]

Not supported by Neptune (ignored).

enable_performance_insights instance-attribute

enable_performance_insights: NotRequired[BooleanOptional]

(Not supported by Neptune)

engine instance-attribute

engine: NotRequired[String]

The name of the database engine to be used for this instance.

Valid Values: neptune

engine_version instance-attribute

engine_version: NotRequired[String]

The version number of the database engine to use. Currently, setting this parameter has no effect.

iops instance-attribute

iops: NotRequired[IntegerOptional]

The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.

kms_key_id instance-attribute

kms_key_id: NotRequired[String]

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 CreateDBCluster.

If the StorageEncrypted parameter is true, and you do not specify a value for the KmsKeyId parameter, 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.

license_model instance-attribute

license_model: NotRequired[String]

License model information for this DB instance.

Valid values: license-included | bring-your-own-license | general-public-license

master_user_password instance-attribute

master_user_password: NotRequired[String]

Not supported by Neptune.

master_username instance-attribute

master_username: NotRequired[String]

Not supported by Neptune.

monitoring_interval instance-attribute

monitoring_interval: NotRequired[IntegerOptional]

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 MonitoringRoleArn is specified, then you must also set MonitoringInterval to a value other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

monitoring_role_arn instance-attribute

monitoring_role_arn: NotRequired[String]

The ARN for the IAM role that permits Neptune to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess.

If MonitoringInterval is set to a value other than 0, then you must supply a MonitoringRoleArn value.

multi_az instance-attribute

multi_az: NotRequired[BooleanOptional]

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.

option_group_name instance-attribute

option_group_name: NotRequired[String]

(Not supported by Neptune)

performance_insights_kms_key_id instance-attribute

performance_insights_kms_key_id: NotRequired[String]

(Not supported by Neptune)

port instance-attribute

port: NotRequired[IntegerOptional]

The port number on which the database accepts connections.

Not applicable. The port is managed by the DB cluster. For more information, see CreateDBCluster.

Default: 8182

Type: Integer

preferred_backup_window instance-attribute

preferred_backup_window: NotRequired[String]

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 CreateDBCluster.

preferred_maintenance_window instance-attribute

preferred_maintenance_window: NotRequired[String]

The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).

Format: ddd:hh24:mi-ddd:hh24:mi

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.

promotion_tier instance-attribute

promotion_tier: NotRequired[IntegerOptional]

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

publicly_accessible instance-attribute

publicly_accessible: NotRequired[BooleanOptional]

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.

storage_encrypted instance-attribute

storage_encrypted: NotRequired[BooleanOptional]

Specifies whether the DB instance is encrypted.

Not applicable. The encryption for DB instances is managed by the DB cluster. For more information, see CreateDBCluster.

Default: false

storage_type instance-attribute

storage_type: NotRequired[String]

Not applicable. In Neptune the storage type is managed at the DB Cluster level.

tags instance-attribute

tags: NotRequired[TagList]

The tags to assign to the new instance.

tde_credential_arn instance-attribute

tde_credential_arn: NotRequired[String]

The ARN from the key store with which to associate the instance for TDE encryption.

tde_credential_password instance-attribute

tde_credential_password: NotRequired[SensitiveString]

The password for the given ARN from the key store in order to access the device.

timezone instance-attribute

timezone: NotRequired[String]

The time zone of the DB instance.

vpc_security_group_ids instance-attribute

vpc_security_group_ids: NotRequired[VpcSecurityGroupIdList]

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 CreateDBCluster.

Default: The default EC2 VPC security group for the DB subnet group's VPC.