Skip to content

aws.drs.get_replication_configuration

Example SQL Queries

SELECT * FROM
aws.drs.get_replication_configuration
WHERE
"source_server_id" = 'VALUE';

Description

Gets a ReplicationConfiguration, filtered by Source Server ID.

Table Definition

Column NameColumn Data Type
source_server_id Required Input Column

The ID of the Source Server for this Replication Configuration.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
associate_default_security_group

Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.

BOOLEAN
auto_replicate_new_disks

Whether to allow the AWS replication agent to automatically replicate newly added disks.

BOOLEAN
bandwidth_throttling

Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.

BIGINT
create_public_ip

Whether to create a Public IP for the Recovery Instance by default.

BOOLEAN
data_plane_routing

The data plane routing mechanism that will be used for replication.

VARCHAR
default_large_staging_disk_type

The Staging Disk EBS volume type to be used during replication.

VARCHAR
ebs_encryption

The type of EBS encryption to be used during replication.

VARCHAR
ebs_encryption_key_arn

The ARN of the EBS encryption key to be used during replication.

VARCHAR
name

The name of the Replication Configuration.

VARCHAR
pit_policy

The Point in time (PIT) policy to manage snapshots taken during replication.

STRUCT(
"enabled" BOOLEAN,
"interval" BIGINT,
"retention_duration" BIGINT,
"rule_id" BIGINT,
"units" VARCHAR
)[]
Show child fields
pit_policy[]
Show child fields
pit_policy[].enabled

Whether this rule is enabled or not.

pit_policy[].interval

How often, in the chosen units, a snapshot should be taken.

pit_policy[].retention_duration

The duration to retain a snapshot for, in the chosen units.

pit_policy[].rule_id

The ID of the rule.

pit_policy[].units

The units used to measure the interval and retentionDuration.

replicated_disks

The configuration of the disks of the Source Server to be replicated.

STRUCT(
"device_name" VARCHAR,
"iops" BIGINT,
"is_boot_disk" BOOLEAN,
"optimized_staging_disk_type" VARCHAR,
"staging_disk_type" VARCHAR,
"throughput" BIGINT
)[]
Show child fields
replicated_disks[]
Show child fields
replicated_disks[].device_name

The name of the device.

replicated_disks[].iops

The requested number of I/O operations per second (IOPS).

replicated_disks[].is_boot_disk

Whether to boot from this disk or not.

replicated_disks[].optimized_staging_disk_type

The Staging Disk EBS volume type to be used during replication when stagingDiskType is set to Auto. This is a read-only field.

replicated_disks[].staging_disk_type

The Staging Disk EBS volume type to be used during replication.

replicated_disks[].throughput

The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.

replication_server_instance_type

The instance type to be used for the replication server.

VARCHAR
replication_servers_security_groups_i_ds

The security group IDs that will be used by the replication server.

VARCHAR[]
Show child fields
replication_servers_security_groups_i_ds[]
staging_area_subnet_id

The subnet to be used by the replication staging area.

VARCHAR
staging_area_tags

A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.

MAP(VARCHAR, VARCHAR)
use_dedicated_replication_server

Whether to use a dedicated Replication Server in the replication staging area.

BOOLEAN