We recommend new projects start with resources from the AWS provider.
aws-native.neptune.DbCluster
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::Neptune::DBCluster resource creates an Amazon Neptune DB cluster.
Create DbCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbCluster(name: string, args?: DbClusterArgs, opts?: CustomResourceOptions);@overload
def DbCluster(resource_name: str,
              args: Optional[DbClusterArgs] = None,
              opts: Optional[ResourceOptions] = None)
@overload
def DbCluster(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              associated_roles: Optional[Sequence[DbClusterDbClusterRoleArgs]] = None,
              availability_zones: Optional[Sequence[str]] = None,
              backup_retention_period: Optional[int] = None,
              copy_tags_to_snapshot: Optional[bool] = None,
              db_cluster_identifier: Optional[str] = None,
              db_cluster_parameter_group_name: Optional[str] = None,
              db_instance_parameter_group_name: Optional[str] = None,
              db_port: Optional[int] = None,
              db_subnet_group_name: Optional[str] = None,
              deletion_protection: Optional[bool] = None,
              enable_cloudwatch_logs_exports: Optional[Sequence[str]] = None,
              engine_version: Optional[str] = None,
              iam_auth_enabled: Optional[bool] = None,
              kms_key_id: Optional[str] = None,
              preferred_backup_window: Optional[str] = None,
              preferred_maintenance_window: Optional[str] = None,
              restore_to_time: Optional[str] = None,
              restore_type: Optional[str] = None,
              serverless_scaling_configuration: Optional[DbClusterServerlessScalingConfigurationArgs] = None,
              snapshot_identifier: Optional[str] = None,
              source_db_cluster_identifier: Optional[str] = None,
              storage_encrypted: Optional[bool] = None,
              tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
              use_latest_restorable_time: Optional[bool] = None,
              vpc_security_group_ids: Optional[Sequence[str]] = None)func NewDbCluster(ctx *Context, name string, args *DbClusterArgs, opts ...ResourceOption) (*DbCluster, error)public DbCluster(string name, DbClusterArgs? args = null, CustomResourceOptions? opts = null)
public DbCluster(String name, DbClusterArgs args)
public DbCluster(String name, DbClusterArgs args, CustomResourceOptions options)
type: aws-native:neptune:DbCluster
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 DbClusterArgs
- 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 DbClusterArgs
- 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 DbClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DbCluster 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 DbCluster resource accepts the following input properties:
- AssociatedRoles List<Pulumi.Aws Native. Neptune. Inputs. Db Cluster Db Cluster Role> 
- Provides a list of the AWS 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 AWS services on your behalf.
- AvailabilityZones List<string>
- Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
- BackupRetention intPeriod 
- Specifies the number of days for which automatic DB snapshots are retained.
- bool
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default behaviour is not to copy them.
- DbCluster stringIdentifier 
- The DB cluster identifier. Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster stored as a lowercase string.
- DbCluster stringParameter Group Name 
- Provides the name of the DB cluster parameter group.
- DbInstance stringParameter Group Name 
- The name of the DB parameter group to apply to all instances of the DB cluster. Used only in case of a major EngineVersion upgrade request.
- DbPort int
- The port number on which the DB instances in the DB cluster accept connections. - If not specified, the default port used is - 8182.- Note: - Portproperty will soon be deprecated from this resource. Please update existing templates to rename it with new property- DBPorthaving same functionalities.
- DbSubnet stringGroup Name 
- Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
- DeletionProtection bool
- Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
- EnableCloudwatch List<string>Logs Exports 
- Specifies a list of log types that are enabled for export to CloudWatch Logs.
- EngineVersion string
- Indicates the database engine version.
- IamAuth boolEnabled 
- True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
- KmsKey stringId 
- The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default KMS key is used. If you specify this property, you must set the StorageEncrypted property to true.
- PreferredBackup stringWindow 
- Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
- PreferredMaintenance stringWindow 
- Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- RestoreTo stringTime 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- RestoreType string
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- ServerlessScaling Pulumi.Configuration Aws Native. Neptune. Inputs. Db Cluster Serverless Scaling Configuration 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- SnapshotIdentifier string
- Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot. - After you restore a DB cluster using a SnapshotIdentifier, you must specify the same SnapshotIdentifier for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. - However, if you don't specify the SnapshotIdentifier, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the SnapshotIdentifier, and the original DB cluster is deleted. 
- SourceDb stringCluster Identifier 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- StorageEncrypted bool
- Indicates whether the DB cluster is encrypted. - If you specify the KmsKeyId property, then you must enable encryption and set this property to true. - If you enable the StorageEncrypted property but don't specify KmsKeyId property, then the default KMS key is used. If you specify KmsKeyId property, then that KMS Key is used to encrypt the database instances in the DB cluster. - If you specify the SourceDBClusterIdentifier property and don't specify this property or disable it. The value is inherited from the source DB cluster, and if the DB cluster is encrypted, the KmsKeyId property from the source cluster is used. - If you specify the DBSnapshotIdentifier and don't specify this property or disable it. The value is inherited from the snapshot, and the specified KmsKeyId property from the snapshot is used. 
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- The tags assigned to this cluster.
- UseLatest boolRestorable Time 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- VpcSecurity List<string>Group Ids 
- Provides a list of VPC security groups that the DB cluster belongs to.
- AssociatedRoles []DbCluster Db Cluster Role Args 
- Provides a list of the AWS 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 AWS services on your behalf.
- AvailabilityZones []string
- Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
- BackupRetention intPeriod 
- Specifies the number of days for which automatic DB snapshots are retained.
- bool
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default behaviour is not to copy them.
- DbCluster stringIdentifier 
- The DB cluster identifier. Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster stored as a lowercase string.
- DbCluster stringParameter Group Name 
- Provides the name of the DB cluster parameter group.
- DbInstance stringParameter Group Name 
- The name of the DB parameter group to apply to all instances of the DB cluster. Used only in case of a major EngineVersion upgrade request.
- DbPort int
- The port number on which the DB instances in the DB cluster accept connections. - If not specified, the default port used is - 8182.- Note: - Portproperty will soon be deprecated from this resource. Please update existing templates to rename it with new property- DBPorthaving same functionalities.
- DbSubnet stringGroup Name 
- Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
- DeletionProtection bool
- Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
- EnableCloudwatch []stringLogs Exports 
- Specifies a list of log types that are enabled for export to CloudWatch Logs.
- EngineVersion string
- Indicates the database engine version.
- IamAuth boolEnabled 
- True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
- KmsKey stringId 
- The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default KMS key is used. If you specify this property, you must set the StorageEncrypted property to true.
- PreferredBackup stringWindow 
- Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
- PreferredMaintenance stringWindow 
- Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- RestoreTo stringTime 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- RestoreType string
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- ServerlessScaling DbConfiguration Cluster Serverless Scaling Configuration Args 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- SnapshotIdentifier string
- Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot. - After you restore a DB cluster using a SnapshotIdentifier, you must specify the same SnapshotIdentifier for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. - However, if you don't specify the SnapshotIdentifier, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the SnapshotIdentifier, and the original DB cluster is deleted. 
- SourceDb stringCluster Identifier 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- StorageEncrypted bool
- Indicates whether the DB cluster is encrypted. - If you specify the KmsKeyId property, then you must enable encryption and set this property to true. - If you enable the StorageEncrypted property but don't specify KmsKeyId property, then the default KMS key is used. If you specify KmsKeyId property, then that KMS Key is used to encrypt the database instances in the DB cluster. - If you specify the SourceDBClusterIdentifier property and don't specify this property or disable it. The value is inherited from the source DB cluster, and if the DB cluster is encrypted, the KmsKeyId property from the source cluster is used. - If you specify the DBSnapshotIdentifier and don't specify this property or disable it. The value is inherited from the snapshot, and the specified KmsKeyId property from the snapshot is used. 
- 
TagArgs 
- The tags assigned to this cluster.
- UseLatest boolRestorable Time 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- VpcSecurity []stringGroup Ids 
- Provides a list of VPC security groups that the DB cluster belongs to.
- associatedRoles List<DbCluster Db Cluster Role> 
- Provides a list of the AWS 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 AWS services on your behalf.
- availabilityZones List<String>
- Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
- backupRetention IntegerPeriod 
- Specifies the number of days for which automatic DB snapshots are retained.
- Boolean
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default behaviour is not to copy them.
- dbCluster StringIdentifier 
- The DB cluster identifier. Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster stored as a lowercase string.
- dbCluster StringParameter Group Name 
- Provides the name of the DB cluster parameter group.
- dbInstance StringParameter Group Name 
- The name of the DB parameter group to apply to all instances of the DB cluster. Used only in case of a major EngineVersion upgrade request.
- dbPort Integer
- The port number on which the DB instances in the DB cluster accept connections. - If not specified, the default port used is - 8182.- Note: - Portproperty will soon be deprecated from this resource. Please update existing templates to rename it with new property- DBPorthaving same functionalities.
- dbSubnet StringGroup Name 
- Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
- deletionProtection Boolean
- Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
- enableCloudwatch List<String>Logs Exports 
- Specifies a list of log types that are enabled for export to CloudWatch Logs.
- engineVersion String
- Indicates the database engine version.
- iamAuth BooleanEnabled 
- True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
- kmsKey StringId 
- The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default KMS key is used. If you specify this property, you must set the StorageEncrypted property to true.
- preferredBackup StringWindow 
- Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
- preferredMaintenance StringWindow 
- Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- restoreTo StringTime 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- restoreType String
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- serverlessScaling DbConfiguration Cluster Serverless Scaling Configuration 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- snapshotIdentifier String
- Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot. - After you restore a DB cluster using a SnapshotIdentifier, you must specify the same SnapshotIdentifier for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. - However, if you don't specify the SnapshotIdentifier, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the SnapshotIdentifier, and the original DB cluster is deleted. 
- sourceDb StringCluster Identifier 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- storageEncrypted Boolean
- Indicates whether the DB cluster is encrypted. - If you specify the KmsKeyId property, then you must enable encryption and set this property to true. - If you enable the StorageEncrypted property but don't specify KmsKeyId property, then the default KMS key is used. If you specify KmsKeyId property, then that KMS Key is used to encrypt the database instances in the DB cluster. - If you specify the SourceDBClusterIdentifier property and don't specify this property or disable it. The value is inherited from the source DB cluster, and if the DB cluster is encrypted, the KmsKeyId property from the source cluster is used. - If you specify the DBSnapshotIdentifier and don't specify this property or disable it. The value is inherited from the snapshot, and the specified KmsKeyId property from the snapshot is used. 
- List<Tag>
- The tags assigned to this cluster.
- useLatest BooleanRestorable Time 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- vpcSecurity List<String>Group Ids 
- Provides a list of VPC security groups that the DB cluster belongs to.
- associatedRoles DbCluster Db Cluster Role[] 
- Provides a list of the AWS 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 AWS services on your behalf.
- availabilityZones string[]
- Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
- backupRetention numberPeriod 
- Specifies the number of days for which automatic DB snapshots are retained.
- boolean
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default behaviour is not to copy them.
- dbCluster stringIdentifier 
- The DB cluster identifier. Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster stored as a lowercase string.
- dbCluster stringParameter Group Name 
- Provides the name of the DB cluster parameter group.
- dbInstance stringParameter Group Name 
- The name of the DB parameter group to apply to all instances of the DB cluster. Used only in case of a major EngineVersion upgrade request.
- dbPort number
- The port number on which the DB instances in the DB cluster accept connections. - If not specified, the default port used is - 8182.- Note: - Portproperty will soon be deprecated from this resource. Please update existing templates to rename it with new property- DBPorthaving same functionalities.
- dbSubnet stringGroup Name 
- Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
- deletionProtection boolean
- Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
- enableCloudwatch string[]Logs Exports 
- Specifies a list of log types that are enabled for export to CloudWatch Logs.
- engineVersion string
- Indicates the database engine version.
- iamAuth booleanEnabled 
- True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
- kmsKey stringId 
- The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default KMS key is used. If you specify this property, you must set the StorageEncrypted property to true.
- preferredBackup stringWindow 
- Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
- preferredMaintenance stringWindow 
- Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- restoreTo stringTime 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- restoreType string
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- serverlessScaling DbConfiguration Cluster Serverless Scaling Configuration 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- snapshotIdentifier string
- Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot. - After you restore a DB cluster using a SnapshotIdentifier, you must specify the same SnapshotIdentifier for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. - However, if you don't specify the SnapshotIdentifier, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the SnapshotIdentifier, and the original DB cluster is deleted. 
- sourceDb stringCluster Identifier 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- storageEncrypted boolean
- Indicates whether the DB cluster is encrypted. - If you specify the KmsKeyId property, then you must enable encryption and set this property to true. - If you enable the StorageEncrypted property but don't specify KmsKeyId property, then the default KMS key is used. If you specify KmsKeyId property, then that KMS Key is used to encrypt the database instances in the DB cluster. - If you specify the SourceDBClusterIdentifier property and don't specify this property or disable it. The value is inherited from the source DB cluster, and if the DB cluster is encrypted, the KmsKeyId property from the source cluster is used. - If you specify the DBSnapshotIdentifier and don't specify this property or disable it. The value is inherited from the snapshot, and the specified KmsKeyId property from the snapshot is used. 
- Tag[]
- The tags assigned to this cluster.
- useLatest booleanRestorable Time 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- vpcSecurity string[]Group Ids 
- Provides a list of VPC security groups that the DB cluster belongs to.
- associated_roles Sequence[DbCluster Db Cluster Role Args] 
- Provides a list of the AWS 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 AWS services on your behalf.
- availability_zones Sequence[str]
- Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
- backup_retention_ intperiod 
- Specifies the number of days for which automatic DB snapshots are retained.
- bool
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default behaviour is not to copy them.
- db_cluster_ stridentifier 
- The DB cluster identifier. Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster stored as a lowercase string.
- db_cluster_ strparameter_ group_ name 
- Provides the name of the DB cluster parameter group.
- db_instance_ strparameter_ group_ name 
- The name of the DB parameter group to apply to all instances of the DB cluster. Used only in case of a major EngineVersion upgrade request.
- db_port int
- The port number on which the DB instances in the DB cluster accept connections. - If not specified, the default port used is - 8182.- Note: - Portproperty will soon be deprecated from this resource. Please update existing templates to rename it with new property- DBPorthaving same functionalities.
- db_subnet_ strgroup_ name 
- Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
- deletion_protection bool
- Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
- enable_cloudwatch_ Sequence[str]logs_ exports 
- Specifies a list of log types that are enabled for export to CloudWatch Logs.
- engine_version str
- Indicates the database engine version.
- iam_auth_ boolenabled 
- True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
- kms_key_ strid 
- The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default KMS key is used. If you specify this property, you must set the StorageEncrypted property to true.
- preferred_backup_ strwindow 
- Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
- preferred_maintenance_ strwindow 
- Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- restore_to_ strtime 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- restore_type str
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- serverless_scaling_ Dbconfiguration Cluster Serverless Scaling Configuration Args 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- snapshot_identifier str
- Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot. - After you restore a DB cluster using a SnapshotIdentifier, you must specify the same SnapshotIdentifier for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. - However, if you don't specify the SnapshotIdentifier, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the SnapshotIdentifier, and the original DB cluster is deleted. 
- source_db_ strcluster_ identifier 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- storage_encrypted bool
- Indicates whether the DB cluster is encrypted. - If you specify the KmsKeyId property, then you must enable encryption and set this property to true. - If you enable the StorageEncrypted property but don't specify KmsKeyId property, then the default KMS key is used. If you specify KmsKeyId property, then that KMS Key is used to encrypt the database instances in the DB cluster. - If you specify the SourceDBClusterIdentifier property and don't specify this property or disable it. The value is inherited from the source DB cluster, and if the DB cluster is encrypted, the KmsKeyId property from the source cluster is used. - If you specify the DBSnapshotIdentifier and don't specify this property or disable it. The value is inherited from the snapshot, and the specified KmsKeyId property from the snapshot is used. 
- 
Sequence[TagArgs] 
- The tags assigned to this cluster.
- use_latest_ boolrestorable_ time 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- vpc_security_ Sequence[str]group_ ids 
- Provides a list of VPC security groups that the DB cluster belongs to.
- associatedRoles List<Property Map>
- Provides a list of the AWS 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 AWS services on your behalf.
- availabilityZones List<String>
- Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.
- backupRetention NumberPeriod 
- Specifies the number of days for which automatic DB snapshots are retained.
- Boolean
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default behaviour is not to copy them.
- dbCluster StringIdentifier 
- The DB cluster identifier. Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster stored as a lowercase string.
- dbCluster StringParameter Group Name 
- Provides the name of the DB cluster parameter group.
- dbInstance StringParameter Group Name 
- The name of the DB parameter group to apply to all instances of the DB cluster. Used only in case of a major EngineVersion upgrade request.
- dbPort Number
- The port number on which the DB instances in the DB cluster accept connections. - If not specified, the default port used is - 8182.- Note: - Portproperty will soon be deprecated from this resource. Please update existing templates to rename it with new property- DBPorthaving same functionalities.
- dbSubnet StringGroup Name 
- Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.
- deletionProtection Boolean
- Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
- enableCloudwatch List<String>Logs Exports 
- Specifies a list of log types that are enabled for export to CloudWatch Logs.
- engineVersion String
- Indicates the database engine version.
- iamAuth BooleanEnabled 
- True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
- kmsKey StringId 
- The Amazon Resource Name (ARN) of the AWS KMS key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default KMS key is used. If you specify this property, you must set the StorageEncrypted property to true.
- preferredBackup StringWindow 
- Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
- preferredMaintenance StringWindow 
- Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- restoreTo StringTime 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- restoreType String
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- serverlessScaling Property MapConfiguration 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- snapshotIdentifier String
- Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot. - After you restore a DB cluster using a SnapshotIdentifier, you must specify the same SnapshotIdentifier for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. - However, if you don't specify the SnapshotIdentifier, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the SnapshotIdentifier, and the original DB cluster is deleted. 
- sourceDb StringCluster Identifier 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- storageEncrypted Boolean
- Indicates whether the DB cluster is encrypted. - If you specify the KmsKeyId property, then you must enable encryption and set this property to true. - If you enable the StorageEncrypted property but don't specify KmsKeyId property, then the default KMS key is used. If you specify KmsKeyId property, then that KMS Key is used to encrypt the database instances in the DB cluster. - If you specify the SourceDBClusterIdentifier property and don't specify this property or disable it. The value is inherited from the source DB cluster, and if the DB cluster is encrypted, the KmsKeyId property from the source cluster is used. - If you specify the DBSnapshotIdentifier and don't specify this property or disable it. The value is inherited from the snapshot, and the specified KmsKeyId property from the snapshot is used. 
- List<Property Map>
- The tags assigned to this cluster.
- useLatest BooleanRestorable Time 
- Creates a new DB cluster from a DB snapshot or DB cluster snapshot. - If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. - If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. 
- vpcSecurity List<String>Group Ids 
- Provides a list of VPC security groups that the DB cluster belongs to.
Outputs
All input properties are implicitly available as output properties. Additionally, the DbCluster resource produces the following output properties:
- ClusterResource stringId 
- The resource id for the DB cluster. For example: cluster-ABCD1234EFGH5678IJKL90MNOP. The cluster ID uniquely identifies the cluster and is used in things like IAM authentication policies.
- Endpoint string
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- Id string
- The provider-assigned unique ID for this managed resource.
- Port string
- The port number on which the DB cluster accepts connections. For example: 8182.
- ReadEndpoint string
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- ClusterResource stringId 
- The resource id for the DB cluster. For example: cluster-ABCD1234EFGH5678IJKL90MNOP. The cluster ID uniquely identifies the cluster and is used in things like IAM authentication policies.
- Endpoint string
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- Id string
- The provider-assigned unique ID for this managed resource.
- Port string
- The port number on which the DB cluster accepts connections. For example: 8182.
- ReadEndpoint string
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- clusterResource StringId 
- The resource id for the DB cluster. For example: cluster-ABCD1234EFGH5678IJKL90MNOP. The cluster ID uniquely identifies the cluster and is used in things like IAM authentication policies.
- endpoint String
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- id String
- The provider-assigned unique ID for this managed resource.
- port String
- The port number on which the DB cluster accepts connections. For example: 8182.
- readEndpoint String
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- clusterResource stringId 
- The resource id for the DB cluster. For example: cluster-ABCD1234EFGH5678IJKL90MNOP. The cluster ID uniquely identifies the cluster and is used in things like IAM authentication policies.
- endpoint string
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- id string
- The provider-assigned unique ID for this managed resource.
- port string
- The port number on which the DB cluster accepts connections. For example: 8182.
- readEndpoint string
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- cluster_resource_ strid 
- The resource id for the DB cluster. For example: cluster-ABCD1234EFGH5678IJKL90MNOP. The cluster ID uniquely identifies the cluster and is used in things like IAM authentication policies.
- endpoint str
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- id str
- The provider-assigned unique ID for this managed resource.
- port str
- The port number on which the DB cluster accepts connections. For example: 8182.
- read_endpoint str
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- clusterResource StringId 
- The resource id for the DB cluster. For example: cluster-ABCD1234EFGH5678IJKL90MNOP. The cluster ID uniquely identifies the cluster and is used in things like IAM authentication policies.
- endpoint String
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- id String
- The provider-assigned unique ID for this managed resource.
- port String
- The port number on which the DB cluster accepts connections. For example: 8182.
- readEndpoint String
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
Supporting Types
DbClusterDbClusterRole, DbClusterDbClusterRoleArgs          
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- FeatureName string
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon Neptune API Reference.
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- FeatureName string
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon Neptune API Reference.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- featureName String
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon Neptune API Reference.
- roleArn string
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- featureName string
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon Neptune API Reference.
- role_arn str
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- feature_name str
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon Neptune API Reference.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- featureName String
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon Neptune API Reference.
DbClusterServerlessScalingConfiguration, DbClusterServerlessScalingConfigurationArgs          
- MaxCapacity double
- The maximum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on. The smallest value you can use is 2.5, whereas the largest is 128.
- MinCapacity double
- The minimum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value you can use is 1, whereas the largest is 128.
- MaxCapacity float64
- The maximum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on. The smallest value you can use is 2.5, whereas the largest is 128.
- MinCapacity float64
- The minimum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value you can use is 1, whereas the largest is 128.
- maxCapacity Double
- The maximum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on. The smallest value you can use is 2.5, whereas the largest is 128.
- minCapacity Double
- The minimum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value you can use is 1, whereas the largest is 128.
- maxCapacity number
- The maximum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on. The smallest value you can use is 2.5, whereas the largest is 128.
- minCapacity number
- The minimum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value you can use is 1, whereas the largest is 128.
- max_capacity float
- The maximum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on. The smallest value you can use is 2.5, whereas the largest is 128.
- min_capacity float
- The minimum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value you can use is 1, whereas the largest is 128.
- maxCapacity Number
- The maximum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on. The smallest value you can use is 2.5, whereas the largest is 128.
- minCapacity Number
- The minimum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value you can use is 1, whereas the largest is 128.
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.