We recommend new projects start with resources from the AWS provider.
aws-native.neptune.getDbCluster
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.
Using getDbCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDbCluster(args: GetDbClusterArgs, opts?: InvokeOptions): Promise<GetDbClusterResult>
function getDbClusterOutput(args: GetDbClusterOutputArgs, opts?: InvokeOptions): Output<GetDbClusterResult>def get_db_cluster(db_cluster_identifier: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDbClusterResult
def get_db_cluster_output(db_cluster_identifier: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetDbClusterResult]func LookupDbCluster(ctx *Context, args *LookupDbClusterArgs, opts ...InvokeOption) (*LookupDbClusterResult, error)
func LookupDbClusterOutput(ctx *Context, args *LookupDbClusterOutputArgs, opts ...InvokeOption) LookupDbClusterResultOutput> Note: This function is named LookupDbCluster in the Go SDK.
public static class GetDbCluster 
{
    public static Task<GetDbClusterResult> InvokeAsync(GetDbClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetDbClusterResult> Invoke(GetDbClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbClusterResult> getDbCluster(GetDbClusterArgs args, InvokeOptions options)
public static Output<GetDbClusterResult> getDbCluster(GetDbClusterArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:neptune:getDbCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- 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 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 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 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.
- 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.
- 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.
getDbCluster Result
The following output properties are available:
- AssociatedRoles List<Pulumi.Aws Native. Neptune. Outputs. 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.
- BackupRetention intPeriod 
- Specifies the number of days for which automatic DB snapshots are retained.
- 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.
- 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 stringParameter Group Name 
- Provides the name of the DB cluster parameter group.
- 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.
- 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.
- Endpoint string
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- 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.
- Port string
- The port number on which the DB cluster accepts connections. For example: 8182.
- 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).
- ReadEndpoint string
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- ServerlessScaling Pulumi.Configuration Aws Native. Neptune. Outputs. Db Cluster Serverless Scaling Configuration 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- The tags assigned to this cluster.
- 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.
- BackupRetention intPeriod 
- Specifies the number of days for which automatic DB snapshots are retained.
- 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.
- 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 stringParameter Group Name 
- Provides the name of the DB cluster parameter group.
- 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.
- 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.
- Endpoint string
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- 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.
- Port string
- The port number on which the DB cluster accepts connections. For example: 8182.
- 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).
- ReadEndpoint string
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- ServerlessScaling DbConfiguration Cluster Serverless Scaling Configuration 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- Tag
- The tags assigned to this cluster.
- 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.
- backupRetention IntegerPeriod 
- Specifies the number of days for which automatic DB snapshots are retained.
- 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.
- 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 StringParameter Group Name 
- Provides the name of the DB cluster parameter group.
- 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.
- 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.
- endpoint String
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- 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.
- port String
- The port number on which the DB cluster accepts connections. For example: 8182.
- 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).
- readEndpoint String
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- serverlessScaling DbConfiguration Cluster Serverless Scaling Configuration 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- List<Tag>
- The tags assigned to this cluster.
- 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.
- backupRetention numberPeriod 
- Specifies the number of days for which automatic DB snapshots are retained.
- 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.
- 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 stringParameter Group Name 
- Provides the name of the DB cluster parameter group.
- 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.
- 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.
- endpoint string
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- 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.
- port string
- The port number on which the DB cluster accepts connections. For example: 8182.
- 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).
- readEndpoint string
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- serverlessScaling DbConfiguration Cluster Serverless Scaling Configuration 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- Tag[]
- The tags assigned to this cluster.
- vpcSecurity string[]Group Ids 
- Provides a list of VPC security groups that the DB cluster belongs to.
- associated_roles Sequence[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.
- backup_retention_ intperiod 
- Specifies the number of days for which automatic DB snapshots are retained.
- 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.
- 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_ strparameter_ group_ name 
- Provides the name of the DB cluster parameter group.
- 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.
- 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.
- endpoint str
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- 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.
- port str
- The port number on which the DB cluster accepts connections. For example: 8182.
- 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).
- read_endpoint str
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- serverless_scaling_ Dbconfiguration Cluster Serverless Scaling Configuration 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- Sequence[root_Tag]
- The tags assigned to this cluster.
- 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.
- backupRetention NumberPeriod 
- Specifies the number of days for which automatic DB snapshots are retained.
- 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.
- 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 StringParameter Group Name 
- Provides the name of the DB cluster parameter group.
- 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.
- 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.
- endpoint String
- The connection endpoint for the DB cluster. For example: mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- 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.
- port String
- The port number on which the DB cluster accepts connections. For example: 8182.
- 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).
- readEndpoint String
- The reader endpoint for the DB cluster. For example: mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- serverlessScaling Property MapConfiguration 
- Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster.
- List<Property Map>
- The tags assigned to this cluster.
- vpcSecurity List<String>Group Ids 
- Provides a list of VPC security groups that the DB cluster belongs to.
Supporting Types
DbClusterDbClusterRole    
- 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    
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.