Table: aws_dms_replication_instances

This table shows data for Dms Replication Instances.

https://docs.aws.amazon.com/dms/latest/APIReference/API_ReplicationInstance.html (opens in a new tab)

The primary key for this table is arn.

Columns

NameType
_cq_iduuid
_cq_parent_iduuid
account_idutf8
regionutf8
arn (PK)utf8
allocated_storageint64
auto_minor_version_upgradebool
availability_zoneutf8
dns_name_serversutf8
engine_versionutf8
free_untiltimestamp[us, tz=UTC]
instance_create_timetimestamp[us, tz=UTC]
kms_key_idutf8
multi_azbool
network_typeutf8
pending_modified_valuesjson
preferred_maintenance_windowutf8
publicly_accessiblebool
replication_instance_arnutf8
replication_instance_classutf8
replication_instance_identifierutf8
replication_instance_ipv6_addresseslist<item: utf8, nullable>
replication_instance_private_ip_addressutf8
replication_instance_private_ip_addresseslist<item: utf8, nullable>
replication_instance_public_ip_addressutf8
replication_instance_public_ip_addresseslist<item: utf8, nullable>
replication_instance_statusutf8
replication_subnet_groupjson
secondary_availability_zoneutf8
vpc_security_groupsjson
tagsjson

Example Queries

These SQL queries are sampled from CloudQuery policies and are compatible with PostgreSQL.

AWS Database Migration Service replication instances should not be public

SELECT
  'AWS Database Migration Service replication instances should not be public'
    AS title,
  account_id,
  arn AS resource_id,
  CASE WHEN publicly_accessible IS true THEN 'fail' ELSE 'pass' END AS status
FROM
  aws_dms_replication_instances;