Amazon RDS database instance
aws.rds.dbinstance MQL resource for querying AWS infrastructure with cnquery and cnspec.
AWS
Amazon RDS database instance
Use MQL in cnspec shell or policy:
aws.rds.dbinstanceMin version: 5.15.0Defaults:
id region engine engineVersionRelationships
8 resources · 17 relationships·Click to select, expand fields to see properties.
Fields (44)
| Field | Type | Description |
|---|---|---|
activityStreamModerequired | string | Mode of the database activity stream |
activityStreamStatusrequired | string | Status of the database activity stream |
arnrequired | string | ARN for the database instance |
autoMinorVersionUpgraderequired | int | Whether minor version patches are applied automatically |
availabilityZonerequired | string | Availability zone where the instance exists |
backupRetentionPeriodrequired | int | Number of days automated snapshots are retained |
backupSettings | []aws.rds.backupsetting | Backup setting for the database instance |
certificateAuthorityrequired | string | ID of the Certificate Authority |
certificateExpiresAtrequired | time | Expiration date for the instance certificate |
createdAtrequired | time | Date and time the RDS instance was created |
createdTimerequired | time | Deprecated (use `createdAt` instead) |
customIamInstanceProfilerequired | string | Assigned IAM instance profile |
dbInstanceClassrequired | string | Name of the compute and memory capacity class of the database instance |
dbInstanceIdentifierrequired | string | User-supplied unique key that identifies a database instance |
deletionProtectionrequired | int | Whether deletion protection is enabled |
enabledCloudwatchLogsExportsrequired | []string | List of log types the instance is configured to export to CloudWatch logs |
endpointrequired | string | Connection endpoint for the database instance |
enginerequired | string | Name of the database engine for this database instance |
engineLifecycleSupportrequired | string | Life cycle type for the database engine. By default, this value is set to `open-source-rds-extended-support`, which enrolls your DB engine into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to `open-source-rds-extended-support-disabled`. In this case, creating the DB engine will fail if the DB major version is past its end of standard support date. |
engineVersionrequired | string | Version of the database engine for this database instance |
enhancedMonitoringResourceArnrequired | string | ARN of the CloudWatch log stream that receives the enhanced monitoring metrics data |
iamDatabaseAuthenticationrequired | int | Whether IAM database authentication is enabled |
idrequired | string | Identifier for the database instance |
latestRestorableTimerequired | time | Latest time to which a database can be restored with point-in-time restore |
masterUsernamerequired | string | Master username for the database instance |
monitoringIntervalrequired | int | Interval, in seconds, between points when Enhanced Monitoring metrics are collected |
multiAZrequired | int | Whether the instance is a Multi-AZ deployment |
namerequired | string | Name of the database instance |
networkTyperequired | string | Network type of the DB instance |
pendingMaintenanceActions | []aws.rds.pendingMaintenanceAction | List of pending maintenance actions for the database instance |
portrequired | int | Port that the database instance listens on. If the database instance is part of a DB cluster, this can be a different port than the DB cluster port. |
preferredBackupWindowrequired | string | Preferred backup window for the database cluster |
preferredMaintenanceWindowrequired | string | Preferred maintenance window for the database cluster |
publiclyAccessiblerequired | int | Whether the instance is publicly accessible. Note: This will only return a value for non-Aurora Multi-AZ DB clusters |
regionrequired | string | Region where the instance exists |
securityGroups | []aws.ec2.securitygroup | List of VPC security group elements that the database instance belongs to |
snapshots | []aws.rds.snapshot | List of snapshots for the database instance |
statusrequired | string | Current state of this database |
storageAllocatedrequired | int | Amount of storage, in GiB, provisioned on the instance |
storageEncryptedrequired | int | Whether the instance is encrypted |
storageIopsrequired | int | Storage IOPS provisioned on the instance |
storageTyperequired | string | Type of storage provisioned on the instance |
subnets | []aws.vpc.subnet | Subnet for the RDS instance |
tagsrequired | map[string]string | Tags for the database instance |