We recommend new projects start with resources from the AWS provider.
aws-native.neptune.DbInstance
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::Neptune::DBInstance resource creates an Amazon Neptune DB instance.
Create DbInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbInstance(name: string, args: DbInstanceArgs, opts?: CustomResourceOptions);
@overload
def DbInstance(resource_name: str,
args: DbInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DbInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
db_instance_class: Optional[str] = None,
allow_major_version_upgrade: Optional[bool] = None,
auto_minor_version_upgrade: Optional[bool] = None,
availability_zone: Optional[str] = None,
db_cluster_identifier: Optional[str] = None,
db_instance_identifier: Optional[str] = None,
db_parameter_group_name: Optional[str] = None,
db_snapshot_identifier: Optional[str] = None,
db_subnet_group_name: Optional[str] = None,
preferred_maintenance_window: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewDbInstance(ctx *Context, name string, args DbInstanceArgs, opts ...ResourceOption) (*DbInstance, error)
public DbInstance(string name, DbInstanceArgs args, CustomResourceOptions? opts = null)
public DbInstance(String name, DbInstanceArgs args)
public DbInstance(String name, DbInstanceArgs args, CustomResourceOptions options)
type: aws-native:neptune:DbInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DbInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DbInstance resource accepts the following input properties:
- Db
Instance stringClass Contains the name of the compute and memory capacity class of the DB instance.
If you update this property, some interruptions may occur.
- Allow
Major boolVersion Upgrade - Indicates that major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB instance's current version.
- Auto
Minor boolVersion Upgrade Indicates that minor version patches are applied automatically.
When updating this property, some interruptions may occur.
- Availability
Zone string - Specifies the name of the Availability Zone the DB instance is located in.
- Db
Cluster stringIdentifier - If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
- Db
Instance stringIdentifier - Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.
- Db
Parameter stringGroup Name - The name of an existing DB parameter group or a reference to an AWS::Neptune::DBParameterGroup resource created in the template. If any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot.
- Db
Snapshot stringIdentifier This parameter is not supported.
AWS::Neptune::DBInstance
does not support restoring from snapshots.AWS::Neptune::DBCluster
does support restoring from snapshots.- Db
Subnet stringGroup Name - A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new virtual private cloud (VPC).
- Preferred
Maintenance stringWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- List<Pulumi.
Aws Native. Inputs. Tag> - An arbitrary set of tags (key-value pairs) for this DB instance.
- Db
Instance stringClass Contains the name of the compute and memory capacity class of the DB instance.
If you update this property, some interruptions may occur.
- Allow
Major boolVersion Upgrade - Indicates that major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB instance's current version.
- Auto
Minor boolVersion Upgrade Indicates that minor version patches are applied automatically.
When updating this property, some interruptions may occur.
- Availability
Zone string - Specifies the name of the Availability Zone the DB instance is located in.
- Db
Cluster stringIdentifier - If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
- Db
Instance stringIdentifier - Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.
- Db
Parameter stringGroup Name - The name of an existing DB parameter group or a reference to an AWS::Neptune::DBParameterGroup resource created in the template. If any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot.
- Db
Snapshot stringIdentifier This parameter is not supported.
AWS::Neptune::DBInstance
does not support restoring from snapshots.AWS::Neptune::DBCluster
does support restoring from snapshots.- Db
Subnet stringGroup Name - A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new virtual private cloud (VPC).
- Preferred
Maintenance stringWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Tag
Args - An arbitrary set of tags (key-value pairs) for this DB instance.
- db
Instance StringClass Contains the name of the compute and memory capacity class of the DB instance.
If you update this property, some interruptions may occur.
- allow
Major BooleanVersion Upgrade - Indicates that major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB instance's current version.
- auto
Minor BooleanVersion Upgrade Indicates that minor version patches are applied automatically.
When updating this property, some interruptions may occur.
- availability
Zone String - Specifies the name of the Availability Zone the DB instance is located in.
- db
Cluster StringIdentifier - If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
- db
Instance StringIdentifier - Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.
- db
Parameter StringGroup Name - The name of an existing DB parameter group or a reference to an AWS::Neptune::DBParameterGroup resource created in the template. If any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot.
- db
Snapshot StringIdentifier This parameter is not supported.
AWS::Neptune::DBInstance
does not support restoring from snapshots.AWS::Neptune::DBCluster
does support restoring from snapshots.- db
Subnet StringGroup Name - A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new virtual private cloud (VPC).
- preferred
Maintenance StringWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- List<Tag>
- An arbitrary set of tags (key-value pairs) for this DB instance.
- db
Instance stringClass Contains the name of the compute and memory capacity class of the DB instance.
If you update this property, some interruptions may occur.
- allow
Major booleanVersion Upgrade - Indicates that major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB instance's current version.
- auto
Minor booleanVersion Upgrade Indicates that minor version patches are applied automatically.
When updating this property, some interruptions may occur.
- availability
Zone string - Specifies the name of the Availability Zone the DB instance is located in.
- db
Cluster stringIdentifier - If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
- db
Instance stringIdentifier - Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.
- db
Parameter stringGroup Name - The name of an existing DB parameter group or a reference to an AWS::Neptune::DBParameterGroup resource created in the template. If any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot.
- db
Snapshot stringIdentifier This parameter is not supported.
AWS::Neptune::DBInstance
does not support restoring from snapshots.AWS::Neptune::DBCluster
does support restoring from snapshots.- db
Subnet stringGroup Name - A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new virtual private cloud (VPC).
- preferred
Maintenance stringWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Tag[]
- An arbitrary set of tags (key-value pairs) for this DB instance.
- db_
instance_ strclass Contains the name of the compute and memory capacity class of the DB instance.
If you update this property, some interruptions may occur.
- allow_
major_ boolversion_ upgrade - Indicates that major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB instance's current version.
- auto_
minor_ boolversion_ upgrade Indicates that minor version patches are applied automatically.
When updating this property, some interruptions may occur.
- availability_
zone str - Specifies the name of the Availability Zone the DB instance is located in.
- db_
cluster_ stridentifier - If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
- db_
instance_ stridentifier - Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.
- db_
parameter_ strgroup_ name - The name of an existing DB parameter group or a reference to an AWS::Neptune::DBParameterGroup resource created in the template. If any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot.
- db_
snapshot_ stridentifier This parameter is not supported.
AWS::Neptune::DBInstance
does not support restoring from snapshots.AWS::Neptune::DBCluster
does support restoring from snapshots.- db_
subnet_ strgroup_ name - A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new virtual private cloud (VPC).
- preferred_
maintenance_ strwindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Sequence[Tag
Args] - An arbitrary set of tags (key-value pairs) for this DB instance.
- db
Instance StringClass Contains the name of the compute and memory capacity class of the DB instance.
If you update this property, some interruptions may occur.
- allow
Major BooleanVersion Upgrade - Indicates that major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB instance's current version.
- auto
Minor BooleanVersion Upgrade Indicates that minor version patches are applied automatically.
When updating this property, some interruptions may occur.
- availability
Zone String - Specifies the name of the Availability Zone the DB instance is located in.
- db
Cluster StringIdentifier - If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
- db
Instance StringIdentifier - Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.
- db
Parameter StringGroup Name - The name of an existing DB parameter group or a reference to an AWS::Neptune::DBParameterGroup resource created in the template. If any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot.
- db
Snapshot StringIdentifier This parameter is not supported.
AWS::Neptune::DBInstance
does not support restoring from snapshots.AWS::Neptune::DBCluster
does support restoring from snapshots.- db
Subnet StringGroup Name - A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new virtual private cloud (VPC).
- preferred
Maintenance StringWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- List<Property Map>
- An arbitrary set of tags (key-value pairs) for this DB instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the DbInstance resource produces the following output properties:
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.