---
title: "POST /#X-Amz-Target=AWSServerMigrationService_V2016_10_24.GetAppReplicationConfiguration"
method: POST
path: "/#X-Amz-Target=AWSServerMigrationService_V2016_10_24.GetAppReplicationConfiguration"
---

# POST /#X-Amz-Target=AWSServerMigrationService_V2016_10_24.GetAppReplicationConfiguration

`POST /#X-Amz-Target=AWSServerMigrationService_V2016_10_24.GetAppReplicationConfiguration`

Retrieves the application replication configuration associated with the specified application.

## Headers

- `X-Amz-Target` 'AWSServerMigrationService_V2016_10_24.GetAppReplicationConfiguration', required

## Request body

- GetAppReplicationConfigurationRequest
  - `appId` string — The ID of the application.

## Response `200`

Success

- GetAppReplicationConfigurationResponse
  - `serverGroupReplicationConfigurations` ServerGroupReplicationConfiguration[] — The replication configurations associated with server groups in this application.
    - `serverGroupId` string — The ID of the server group with which this replication configuration is associated.
    - `serverReplicationConfigurations` ServerReplicationConfiguration[] — The replication configuration for servers in the server group.
      - `server` object — The ID of the server with which this replication configuration is associated.
        - `serverId` string — The ID of the server.
        - `serverType` 'VIRTUAL_MACHINE' — The type of server.
        - `vmServer` object — Information about the VM server.
          - `vmServerAddress` object — The VM server location.
            - `vmManagerId` string — The ID of the VM manager.
            - `vmId` string — The ID of the VM.
          - `vmName` string — The name of the VM.
          - `vmManagerName` string — The name of the VM manager.
          - `vmManagerType` 'VSPHERE' | 'SCVMM' | 'HYPERV-MANAGER' — The type of VM management product.
          - `vmPath` string — The VM folder path in the vCenter Server virtual machine inventory tree.
        - `replicationJobId` string — The ID of the replication job.
        - `replicationJobTerminated` boolean — Indicates whether the replication job is deleted or failed.
      - `serverReplicationParameters` object — The parameters for replicating the server.
        - `seedTime` string, date-time — The seed time for creating a replication job for the server.
        - `frequency` integer — The frequency of creating replication jobs for the server.
        - `runOnce` boolean — Indicates whether to run the replication job one time.
        - `licenseType` 'AWS' | 'BYOL' — The license type for creating a replication job for the server.
        - `numberOfRecentAmisToKeep` integer — The number of recent AMIs to keep when creating a replication job for this server.
        - `encrypted` boolean — Indicates whether the replication job produces encrypted AMIs.
        - `kmsKeyId` string — <p>The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:</p> <ul> <li> <p>KMS key ID</p> </li> <li> <p>KMS key alias</p> </li> <li> <p>ARN referring to the KMS key ID</p> </li> <li> <p>ARN referring to the KMS key alias</p> </li> </ul> <p>If encrypted is enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.</p>

## Other responses

- `480` — UnauthorizedOperationException
- `481` — InvalidParameterException
- `482` — MissingRequiredParameterException
- `483` — InternalError
- `484` — OperationNotPermittedException

---

[API](https://skmtc.net/aws/apis/sms.md) · [All operations](https://skmtc.net/aws/apis/sms/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/sms/versions/b93b64b4502e/schema)
