1. Packages
  2. AWS
  3. API Docs
  4. rds
  5. getInstance
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.rds.getInstance

Explore with Pulumi AI

AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

Use this data source to get information about an RDS instance

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const database = aws.rds.getInstance({
    dbInstanceIdentifier: "my-test-database",
});
Copy
import pulumi
import pulumi_aws as aws

database = aws.rds.get_instance(db_instance_identifier="my-test-database")
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rds"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rds.LookupInstance(ctx, &rds.LookupInstanceArgs{
			DbInstanceIdentifier: pulumi.StringRef("my-test-database"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var database = Aws.Rds.GetInstance.Invoke(new()
    {
        DbInstanceIdentifier = "my-test-database",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.rds.RdsFunctions;
import com.pulumi.aws.rds.inputs.GetInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var database = RdsFunctions.getInstance(GetInstanceArgs.builder()
            .dbInstanceIdentifier("my-test-database")
            .build());

    }
}
Copy
variables:
  database:
    fn::invoke:
      function: aws:rds:getInstance
      arguments:
        dbInstanceIdentifier: my-test-database
Copy

Using getInstance

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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
Copy
def get_instance(db_instance_identifier: Optional[str] = None,
                 tags: Optional[Mapping[str, str]] = None,
                 opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(db_instance_identifier: Optional[pulumi.Input[str]] = None,
                 tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
Copy
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput
Copy

> Note: This function is named LookupInstance in the Go SDK.

public static class GetInstance 
{
    public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws:rds/getInstance:getInstance
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DbInstanceIdentifier string
Name of the RDS instance.
Tags Dictionary<string, string>
Map of tags, each pair of which must exactly match a pair on the desired instance.
DbInstanceIdentifier string
Name of the RDS instance.
Tags map[string]string
Map of tags, each pair of which must exactly match a pair on the desired instance.
dbInstanceIdentifier String
Name of the RDS instance.
tags Map<String,String>
Map of tags, each pair of which must exactly match a pair on the desired instance.
dbInstanceIdentifier string
Name of the RDS instance.
tags {[key: string]: string}
Map of tags, each pair of which must exactly match a pair on the desired instance.
db_instance_identifier str
Name of the RDS instance.
tags Mapping[str, str]
Map of tags, each pair of which must exactly match a pair on the desired instance.
dbInstanceIdentifier String
Name of the RDS instance.
tags Map<String>
Map of tags, each pair of which must exactly match a pair on the desired instance.

getInstance Result

The following output properties are available:

Address string
Hostname of the RDS instance. See also endpoint and port.
AllocatedStorage int
Allocated storage size specified in gigabytes.
AutoMinorVersionUpgrade bool
Indicates that minor version patches are applied automatically.
AvailabilityZone string
Name of the Availability Zone the DB instance is located in.
BackupRetentionPeriod int
Specifies the number of days for which automatic DB snapshots are retained.
CaCertIdentifier string
Identifier of the CA certificate for the DB instance.
DatabaseInsightsMode string
The mode of Database Insights that is enabled for the DB instance.
DbClusterIdentifier string
If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
DbInstanceArn string
ARN for the DB instance.
DbInstanceClass string
Contains the name of the compute and memory capacity class of the DB instance.
DbInstanceIdentifier string
DbInstancePort int
Port that the DB instance listens on.
DbName string
Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance.
DbParameterGroups List<string>
Provides the list of DB parameter groups applied to this DB instance.
DbSubnetGroup string
Name of the subnet group associated with the DB instance.
EnabledCloudwatchLogsExports List<string>
List of log types to export to cloudwatch.
Endpoint string
Connection endpoint in address:port format.
Engine string
Provides the name of the database engine to be used for this DB instance.
EngineVersion string
Database engine version.
HostedZoneId string
Canonical hosted zone ID of the DB instance (to be used in a Route 53 Alias record).
Id string
The provider-assigned unique ID for this managed resource.
Iops int
Provisioned IOPS (I/O operations per second) value.
KmsKeyId string
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
LicenseModel string
License model information for this DB instance.
MasterUserSecrets List<GetInstanceMasterUserSecret>
Provides the master user secret. Only available when manage_master_user_password is set to true. Documented below.
MasterUsername string
Contains the master username for the DB instance.
MaxAllocatedStorage int
The upper limit to which Amazon RDS can automatically scale the storage of the DB instance.
MonitoringInterval int
Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
MonitoringRoleArn string
ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to CloudWatch Logs.
MultiAz bool
If the DB instance is a Multi-AZ deployment.
NetworkType string
Network type of the DB instance.
OptionGroupMemberships List<string>
Provides the list of option group memberships for this DB instance.
Port int
Database endpoint port, primarily used by an Aurora DB cluster. For a conventional RDS DB instance, the db_instance_port is typically the preferred choice.
PreferredBackupWindow string
Specifies the daily time range during which automated backups are created.
PreferredMaintenanceWindow string
Specifies the weekly time range during which system maintenance can occur in UTC.
PubliclyAccessible bool
Accessibility options for the DB instance.
ReplicateSourceDb string
Identifier of the source DB that this is a replica of.
ResourceId string
RDS Resource ID of this instance.
StorageEncrypted bool
Whether the DB instance is encrypted.
StorageThroughput int
Storage throughput value for the DB instance.
StorageType string
Storage type associated with DB instance.
Tags Dictionary<string, string>
Timezone string
Time zone of the DB instance.
VpcSecurityGroups List<string>
Provides a list of VPC security group elements that the DB instance belongs to.
Address string
Hostname of the RDS instance. See also endpoint and port.
AllocatedStorage int
Allocated storage size specified in gigabytes.
AutoMinorVersionUpgrade bool
Indicates that minor version patches are applied automatically.
AvailabilityZone string
Name of the Availability Zone the DB instance is located in.
BackupRetentionPeriod int
Specifies the number of days for which automatic DB snapshots are retained.
CaCertIdentifier string
Identifier of the CA certificate for the DB instance.
DatabaseInsightsMode string
The mode of Database Insights that is enabled for the DB instance.
DbClusterIdentifier string
If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
DbInstanceArn string
ARN for the DB instance.
DbInstanceClass string
Contains the name of the compute and memory capacity class of the DB instance.
DbInstanceIdentifier string
DbInstancePort int
Port that the DB instance listens on.
DbName string
Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance.
DbParameterGroups []string
Provides the list of DB parameter groups applied to this DB instance.
DbSubnetGroup string
Name of the subnet group associated with the DB instance.
EnabledCloudwatchLogsExports []string
List of log types to export to cloudwatch.
Endpoint string
Connection endpoint in address:port format.
Engine string
Provides the name of the database engine to be used for this DB instance.
EngineVersion string
Database engine version.
HostedZoneId string
Canonical hosted zone ID of the DB instance (to be used in a Route 53 Alias record).
Id string
The provider-assigned unique ID for this managed resource.
Iops int
Provisioned IOPS (I/O operations per second) value.
KmsKeyId string
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
LicenseModel string
License model information for this DB instance.
MasterUserSecrets []GetInstanceMasterUserSecret
Provides the master user secret. Only available when manage_master_user_password is set to true. Documented below.
MasterUsername string
Contains the master username for the DB instance.
MaxAllocatedStorage int
The upper limit to which Amazon RDS can automatically scale the storage of the DB instance.
MonitoringInterval int
Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
MonitoringRoleArn string
ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to CloudWatch Logs.
MultiAz bool
If the DB instance is a Multi-AZ deployment.
NetworkType string
Network type of the DB instance.
OptionGroupMemberships []string
Provides the list of option group memberships for this DB instance.
Port int
Database endpoint port, primarily used by an Aurora DB cluster. For a conventional RDS DB instance, the db_instance_port is typically the preferred choice.
PreferredBackupWindow string
Specifies the daily time range during which automated backups are created.
PreferredMaintenanceWindow string
Specifies the weekly time range during which system maintenance can occur in UTC.
PubliclyAccessible bool
Accessibility options for the DB instance.
ReplicateSourceDb string
Identifier of the source DB that this is a replica of.
ResourceId string
RDS Resource ID of this instance.
StorageEncrypted bool
Whether the DB instance is encrypted.
StorageThroughput int
Storage throughput value for the DB instance.
StorageType string
Storage type associated with DB instance.
Tags map[string]string
Timezone string
Time zone of the DB instance.
VpcSecurityGroups []string
Provides a list of VPC security group elements that the DB instance belongs to.
address String
Hostname of the RDS instance. See also endpoint and port.
allocatedStorage Integer
Allocated storage size specified in gigabytes.
autoMinorVersionUpgrade Boolean
Indicates that minor version patches are applied automatically.
availabilityZone String
Name of the Availability Zone the DB instance is located in.
backupRetentionPeriod Integer
Specifies the number of days for which automatic DB snapshots are retained.
caCertIdentifier String
Identifier of the CA certificate for the DB instance.
databaseInsightsMode String
The mode of Database Insights that is enabled for the DB instance.
dbClusterIdentifier String
If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
dbInstanceArn String
ARN for the DB instance.
dbInstanceClass String
Contains the name of the compute and memory capacity class of the DB instance.
dbInstanceIdentifier String
dbInstancePort Integer
Port that the DB instance listens on.
dbName String
Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance.
dbParameterGroups List<String>
Provides the list of DB parameter groups applied to this DB instance.
dbSubnetGroup String
Name of the subnet group associated with the DB instance.
enabledCloudwatchLogsExports List<String>
List of log types to export to cloudwatch.
endpoint String
Connection endpoint in address:port format.
engine String
Provides the name of the database engine to be used for this DB instance.
engineVersion String
Database engine version.
hostedZoneId String
Canonical hosted zone ID of the DB instance (to be used in a Route 53 Alias record).
id String
The provider-assigned unique ID for this managed resource.
iops Integer
Provisioned IOPS (I/O operations per second) value.
kmsKeyId String
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
licenseModel String
License model information for this DB instance.
masterUserSecrets List<GetInstanceMasterUserSecret>
Provides the master user secret. Only available when manage_master_user_password is set to true. Documented below.
masterUsername String
Contains the master username for the DB instance.
maxAllocatedStorage Integer
The upper limit to which Amazon RDS can automatically scale the storage of the DB instance.
monitoringInterval Integer
Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
monitoringRoleArn String
ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to CloudWatch Logs.
multiAz Boolean
If the DB instance is a Multi-AZ deployment.
networkType String
Network type of the DB instance.
optionGroupMemberships List<String>
Provides the list of option group memberships for this DB instance.
port Integer
Database endpoint port, primarily used by an Aurora DB cluster. For a conventional RDS DB instance, the db_instance_port is typically the preferred choice.
preferredBackupWindow String
Specifies the daily time range during which automated backups are created.
preferredMaintenanceWindow String
Specifies the weekly time range during which system maintenance can occur in UTC.
publiclyAccessible Boolean
Accessibility options for the DB instance.
replicateSourceDb String
Identifier of the source DB that this is a replica of.
resourceId String
RDS Resource ID of this instance.
storageEncrypted Boolean
Whether the DB instance is encrypted.
storageThroughput Integer
Storage throughput value for the DB instance.
storageType String
Storage type associated with DB instance.
tags Map<String,String>
timezone String
Time zone of the DB instance.
vpcSecurityGroups List<String>
Provides a list of VPC security group elements that the DB instance belongs to.
address string
Hostname of the RDS instance. See also endpoint and port.
allocatedStorage number
Allocated storage size specified in gigabytes.
autoMinorVersionUpgrade boolean
Indicates that minor version patches are applied automatically.
availabilityZone string
Name of the Availability Zone the DB instance is located in.
backupRetentionPeriod number
Specifies the number of days for which automatic DB snapshots are retained.
caCertIdentifier string
Identifier of the CA certificate for the DB instance.
databaseInsightsMode string
The mode of Database Insights that is enabled for the DB instance.
dbClusterIdentifier string
If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
dbInstanceArn string
ARN for the DB instance.
dbInstanceClass string
Contains the name of the compute and memory capacity class of the DB instance.
dbInstanceIdentifier string
dbInstancePort number
Port that the DB instance listens on.
dbName string
Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance.
dbParameterGroups string[]
Provides the list of DB parameter groups applied to this DB instance.
dbSubnetGroup string
Name of the subnet group associated with the DB instance.
enabledCloudwatchLogsExports string[]
List of log types to export to cloudwatch.
endpoint string
Connection endpoint in address:port format.
engine string
Provides the name of the database engine to be used for this DB instance.
engineVersion string
Database engine version.
hostedZoneId string
Canonical hosted zone ID of the DB instance (to be used in a Route 53 Alias record).
id string
The provider-assigned unique ID for this managed resource.
iops number
Provisioned IOPS (I/O operations per second) value.
kmsKeyId string
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
licenseModel string
License model information for this DB instance.
masterUserSecrets GetInstanceMasterUserSecret[]
Provides the master user secret. Only available when manage_master_user_password is set to true. Documented below.
masterUsername string
Contains the master username for the DB instance.
maxAllocatedStorage number
The upper limit to which Amazon RDS can automatically scale the storage of the DB instance.
monitoringInterval number
Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
monitoringRoleArn string
ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to CloudWatch Logs.
multiAz boolean
If the DB instance is a Multi-AZ deployment.
networkType string
Network type of the DB instance.
optionGroupMemberships string[]
Provides the list of option group memberships for this DB instance.
port number
Database endpoint port, primarily used by an Aurora DB cluster. For a conventional RDS DB instance, the db_instance_port is typically the preferred choice.
preferredBackupWindow string
Specifies the daily time range during which automated backups are created.
preferredMaintenanceWindow string
Specifies the weekly time range during which system maintenance can occur in UTC.
publiclyAccessible boolean
Accessibility options for the DB instance.
replicateSourceDb string
Identifier of the source DB that this is a replica of.
resourceId string
RDS Resource ID of this instance.
storageEncrypted boolean
Whether the DB instance is encrypted.
storageThroughput number
Storage throughput value for the DB instance.
storageType string
Storage type associated with DB instance.
tags {[key: string]: string}
timezone string
Time zone of the DB instance.
vpcSecurityGroups string[]
Provides a list of VPC security group elements that the DB instance belongs to.
address str
Hostname of the RDS instance. See also endpoint and port.
allocated_storage int
Allocated storage size specified in gigabytes.
auto_minor_version_upgrade bool
Indicates that minor version patches are applied automatically.
availability_zone str
Name of the Availability Zone the DB instance is located in.
backup_retention_period int
Specifies the number of days for which automatic DB snapshots are retained.
ca_cert_identifier str
Identifier of the CA certificate for the DB instance.
database_insights_mode str
The mode of Database Insights that is enabled for the DB instance.
db_cluster_identifier str
If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
db_instance_arn str
ARN for the DB instance.
db_instance_class str
Contains the name of the compute and memory capacity class of the DB instance.
db_instance_identifier str
db_instance_port int
Port that the DB instance listens on.
db_name str
Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance.
db_parameter_groups Sequence[str]
Provides the list of DB parameter groups applied to this DB instance.
db_subnet_group str
Name of the subnet group associated with the DB instance.
enabled_cloudwatch_logs_exports Sequence[str]
List of log types to export to cloudwatch.
endpoint str
Connection endpoint in address:port format.
engine str
Provides the name of the database engine to be used for this DB instance.
engine_version str
Database engine version.
hosted_zone_id str
Canonical hosted zone ID of the DB instance (to be used in a Route 53 Alias record).
id str
The provider-assigned unique ID for this managed resource.
iops int
Provisioned IOPS (I/O operations per second) value.
kms_key_id str
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
license_model str
License model information for this DB instance.
master_user_secrets Sequence[GetInstanceMasterUserSecret]
Provides the master user secret. Only available when manage_master_user_password is set to true. Documented below.
master_username str
Contains the master username for the DB instance.
max_allocated_storage int
The upper limit to which Amazon RDS can automatically scale the storage of the DB instance.
monitoring_interval int
Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
monitoring_role_arn str
ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to CloudWatch Logs.
multi_az bool
If the DB instance is a Multi-AZ deployment.
network_type str
Network type of the DB instance.
option_group_memberships Sequence[str]
Provides the list of option group memberships for this DB instance.
port int
Database endpoint port, primarily used by an Aurora DB cluster. For a conventional RDS DB instance, the db_instance_port is typically the preferred choice.
preferred_backup_window str
Specifies the daily time range during which automated backups are created.
preferred_maintenance_window str
Specifies the weekly time range during which system maintenance can occur in UTC.
publicly_accessible bool
Accessibility options for the DB instance.
replicate_source_db str
Identifier of the source DB that this is a replica of.
resource_id str
RDS Resource ID of this instance.
storage_encrypted bool
Whether the DB instance is encrypted.
storage_throughput int
Storage throughput value for the DB instance.
storage_type str
Storage type associated with DB instance.
tags Mapping[str, str]
timezone str
Time zone of the DB instance.
vpc_security_groups Sequence[str]
Provides a list of VPC security group elements that the DB instance belongs to.
address String
Hostname of the RDS instance. See also endpoint and port.
allocatedStorage Number
Allocated storage size specified in gigabytes.
autoMinorVersionUpgrade Boolean
Indicates that minor version patches are applied automatically.
availabilityZone String
Name of the Availability Zone the DB instance is located in.
backupRetentionPeriod Number
Specifies the number of days for which automatic DB snapshots are retained.
caCertIdentifier String
Identifier of the CA certificate for the DB instance.
databaseInsightsMode String
The mode of Database Insights that is enabled for the DB instance.
dbClusterIdentifier String
If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
dbInstanceArn String
ARN for the DB instance.
dbInstanceClass String
Contains the name of the compute and memory capacity class of the DB instance.
dbInstanceIdentifier String
dbInstancePort Number
Port that the DB instance listens on.
dbName String
Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance.
dbParameterGroups List<String>
Provides the list of DB parameter groups applied to this DB instance.
dbSubnetGroup String
Name of the subnet group associated with the DB instance.
enabledCloudwatchLogsExports List<String>
List of log types to export to cloudwatch.
endpoint String
Connection endpoint in address:port format.
engine String
Provides the name of the database engine to be used for this DB instance.
engineVersion String
Database engine version.
hostedZoneId String
Canonical hosted zone ID of the DB instance (to be used in a Route 53 Alias record).
id String
The provider-assigned unique ID for this managed resource.
iops Number
Provisioned IOPS (I/O operations per second) value.
kmsKeyId String
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
licenseModel String
License model information for this DB instance.
masterUserSecrets List<Property Map>
Provides the master user secret. Only available when manage_master_user_password is set to true. Documented below.
masterUsername String
Contains the master username for the DB instance.
maxAllocatedStorage Number
The upper limit to which Amazon RDS can automatically scale the storage of the DB instance.
monitoringInterval Number
Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
monitoringRoleArn String
ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to CloudWatch Logs.
multiAz Boolean
If the DB instance is a Multi-AZ deployment.
networkType String
Network type of the DB instance.
optionGroupMemberships List<String>
Provides the list of option group memberships for this DB instance.
port Number
Database endpoint port, primarily used by an Aurora DB cluster. For a conventional RDS DB instance, the db_instance_port is typically the preferred choice.
preferredBackupWindow String
Specifies the daily time range during which automated backups are created.
preferredMaintenanceWindow String
Specifies the weekly time range during which system maintenance can occur in UTC.
publiclyAccessible Boolean
Accessibility options for the DB instance.
replicateSourceDb String
Identifier of the source DB that this is a replica of.
resourceId String
RDS Resource ID of this instance.
storageEncrypted Boolean
Whether the DB instance is encrypted.
storageThroughput Number
Storage throughput value for the DB instance.
storageType String
Storage type associated with DB instance.
tags Map<String>
timezone String
Time zone of the DB instance.
vpcSecurityGroups List<String>
Provides a list of VPC security group elements that the DB instance belongs to.

Supporting Types

GetInstanceMasterUserSecret

KmsKeyId This property is required. string
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
SecretArn This property is required. string
The Amazon Resource Name (ARN) of the secret.
SecretStatus This property is required. string
The status of the secret. Valid Values: creating | active | rotating | impaired.
KmsKeyId This property is required. string
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
SecretArn This property is required. string
The Amazon Resource Name (ARN) of the secret.
SecretStatus This property is required. string
The status of the secret. Valid Values: creating | active | rotating | impaired.
kmsKeyId This property is required. String
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
secretArn This property is required. String
The Amazon Resource Name (ARN) of the secret.
secretStatus This property is required. String
The status of the secret. Valid Values: creating | active | rotating | impaired.
kmsKeyId This property is required. string
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
secretArn This property is required. string
The Amazon Resource Name (ARN) of the secret.
secretStatus This property is required. string
The status of the secret. Valid Values: creating | active | rotating | impaired.
kms_key_id This property is required. str
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
secret_arn This property is required. str
The Amazon Resource Name (ARN) of the secret.
secret_status This property is required. str
The status of the secret. Valid Values: creating | active | rotating | impaired.
kmsKeyId This property is required. String
The Amazon Web Services KMS key identifier that is used to encrypt the secret.
secretArn This property is required. String
The Amazon Resource Name (ARN) of the secret.
secretStatus This property is required. String
The status of the secret. Valid Values: creating | active | rotating | impaired.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi