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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:neptune:getDbCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Db
Cluster 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 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 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 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.
- db
Cluster 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:
- Associated
Roles 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.
- Backup
Retention intPeriod - Specifies the number of days for which automatic DB snapshots are retained.
- Cluster
Resource 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.
- Db
Cluster stringParameter 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:
Port
property will soon be deprecated from this resource. Please update existing templates to rename it with new propertyDBPort
having 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 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
- Engine
Version string - 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 string
- The port number on which the DB cluster accepts connections. For example:
8182
. - Preferred
Backup stringWindow - Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
- Preferred
Maintenance stringWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Read
Endpoint string - The reader endpoint for the DB cluster. For example:
mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- Serverless
Scaling 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.
- Vpc
Security List<string>Group Ids - Provides a list of VPC security groups that the DB cluster belongs to.
- Associated
Roles []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 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.
- Db
Cluster stringParameter 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:
Port
property will soon be deprecated from this resource. Please update existing templates to rename it with new propertyDBPort
having 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 []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
- Engine
Version string - 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 string
- The port number on which the DB cluster accepts connections. For example:
8182
. - Preferred
Backup stringWindow - Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
- Preferred
Maintenance stringWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Read
Endpoint string - 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.
- Tag
- The tags assigned to this cluster.
- Vpc
Security []stringGroup Ids - Provides a list of VPC security groups that the DB cluster belongs to.
- associated
Roles 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.
- backup
Retention IntegerPeriod - Specifies the number of days for which automatic DB snapshots are retained.
- cluster
Resource 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.
- db
Cluster StringParameter Group Name - Provides the name of the DB cluster parameter group.
- db
Port 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:
Port
property will soon be deprecated from this resource. Please update existing templates to rename it with new propertyDBPort
having same functionalities.- deletion
Protection Boolean - Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
- enable
Cloudwatch 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
- engine
Version String - Indicates the database engine version.
- iam
Auth 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
. - preferred
Backup StringWindow - Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
- preferred
Maintenance StringWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- read
Endpoint String - 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.
- List<Tag>
- The tags assigned to this cluster.
- vpc
Security List<String>Group Ids - Provides a list of VPC security groups that the DB cluster belongs to.
- associated
Roles 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 numberPeriod - Specifies the number of days for which automatic DB snapshots are retained.
- cluster
Resource 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.
- db
Cluster stringParameter Group Name - Provides the name of the DB cluster parameter group.
- db
Port 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:
Port
property will soon be deprecated from this resource. Please update existing templates to rename it with new propertyDBPort
having same functionalities.- deletion
Protection boolean - Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
- enable
Cloudwatch 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
- engine
Version string - Indicates the database engine version.
- iam
Auth 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
. - preferred
Backup stringWindow - Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
- preferred
Maintenance stringWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- read
Endpoint string - 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.
- Tag[]
- The tags assigned to this cluster.
- vpc
Security 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:
Port
property will soon be deprecated from this resource. Please update existing templates to rename it with new propertyDBPort
having 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.
- associated
Roles 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.
- backup
Retention NumberPeriod - Specifies the number of days for which automatic DB snapshots are retained.
- cluster
Resource 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.
- db
Cluster StringParameter Group Name - Provides the name of the DB cluster parameter group.
- db
Port 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:
Port
property will soon be deprecated from this resource. Please update existing templates to rename it with new propertyDBPort
having same functionalities.- deletion
Protection Boolean - Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled.
- enable
Cloudwatch 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
- engine
Version String - Indicates the database engine version.
- iam
Auth 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
. - preferred
Backup StringWindow - Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
- preferred
Maintenance StringWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- read
Endpoint String - The reader endpoint for the DB cluster. For example:
mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com
- serverless
Scaling 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.
- vpc
Security List<String>Group Ids - Provides a list of VPC security groups that the DB cluster belongs to.
Supporting Types
DbClusterDbClusterRole
- Role
Arn string - The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- Feature
Name 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 string - The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- Feature
Name 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 String - The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- feature
Name 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 string - The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- feature
Name 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.
- role
Arn String - The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- feature
Name 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
- Max
Capacity 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.
- Min
Capacity 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.
- Max
Capacity 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.
- Min
Capacity 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.
- max
Capacity 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.
- min
Capacity 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.
- max
Capacity 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.
- min
Capacity 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.
- max
Capacity 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.
- min
Capacity 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.