Skip to content

aws.sms.get_app_replication_configuration

Example SQL Queries

SELECT * FROM
aws.sms.get_app_replication_configuration;

Description

Retrieves the application replication configuration associated with the specified application.

Table Definition

Column NameColumn Data Type
app_id Input Column

The ID of the application.

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
server_group_replication_configurations

The replication configurations associated with server groups in this application.

STRUCT(
"server_group_id" VARCHAR,
"server_replication_configurations" STRUCT(
"server" STRUCT(
"server_id" VARCHAR,
"server_type" VARCHAR,
"vm_server" STRUCT(
"vm_server_address" STRUCT(
"vm_manager_id" VARCHAR,
"vm_id" VARCHAR
),
"vm_name" VARCHAR,
"vm_manager_name" VARCHAR,
"vm_manager_type" VARCHAR,
"vm_path" VARCHAR
),
"replication_job_id" VARCHAR,
"replication_job_terminated" BOOLEAN
),
"server_replication_parameters" STRUCT(
"seed_time" TIMESTAMP_S,
"frequency" BIGINT,
"run_once" BOOLEAN,
"license_type" VARCHAR,
"number_of_recent_amis_to_keep" BIGINT,
"encrypted" BOOLEAN,
"kms_key_id" VARCHAR
)
)[]
)[]
Show child fields
server_group_replication_configurations[]
Show child fields
server_group_replication_configurations[].server_group_id

The ID of the server group with which this replication configuration is associated.

server_group_replication_configurations[].server_replication_configurations[]
Show child fields
server_group_replication_configurations[].server_replication_configurations[].server

The ID of the server with which this replication configuration is associated.

Show child fields
server_group_replication_configurations[].server_replication_configurations[].server.replication_job_id

The ID of the replication job.

server_group_replication_configurations[].server_replication_configurations[].server.replication_job_terminated

Indicates whether the replication job is deleted or failed.

server_group_replication_configurations[].server_replication_configurations[].server.server_id

The ID of the server.

server_group_replication_configurations[].server_replication_configurations[].server.server_type

The type of server.

server_group_replication_configurations[].server_replication_configurations[].server.vm_server

Information about the VM server.

Show child fields
server_group_replication_configurations[].server_replication_configurations[].server.vm_server.vm_manager_name

The name of the VM manager.

server_group_replication_configurations[].server_replication_configurations[].server.vm_server.vm_manager_type

The type of VM management product.

server_group_replication_configurations[].server_replication_configurations[].server.vm_server.vm_name

The name of the VM.

server_group_replication_configurations[].server_replication_configurations[].server.vm_server.vm_path

The VM folder path in the vCenter Server virtual machine inventory tree.

server_group_replication_configurations[].server_replication_configurations[].server.vm_server.vm_server_address

The VM server location.

Show child fields
server_group_replication_configurations[].server_replication_configurations[].server.vm_server.vm_server_address.vm_id

The ID of the VM.

server_group_replication_configurations[].server_replication_configurations[].server.vm_server.vm_server_address.vm_manager_id

The ID of the VM manager.

server_group_replication_configurations[].server_replication_configurations[].server_replication_parameters

The parameters for replicating the server.

Show child fields
server_group_replication_configurations[].server_replication_configurations[].server_replication_parameters.encrypted

Indicates whether the replication job produces encrypted AMIs.

server_group_replication_configurations[].server_replication_configurations[].server_replication_parameters.frequency

The frequency of creating replication jobs for the server.

server_group_replication_configurations[].server_replication_configurations[].server_replication_parameters.kms_key_id

The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:

  • KMS key ID

  • KMS key alias

  • ARN referring to the KMS key ID

  • ARN referring to the KMS key alias

If encrypted is enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.

server_group_replication_configurations[].server_replication_configurations[].server_replication_parameters.license_type

The license type for creating a replication job for the server.

server_group_replication_configurations[].server_replication_configurations[].server_replication_parameters.number_of_recent_amis_to_keep

The number of recent AMIs to keep when creating a replication job for this server.

server_group_replication_configurations[].server_replication_configurations[].server_replication_parameters.run_once

Indicates whether to run the replication job one time.

server_group_replication_configurations[].server_replication_configurations[].server_replication_parameters.seed_time

The seed time for creating a replication job for the server.