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

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

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

Retrieves information about a configuration for validating an application.

## Headers

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

## Request body

- GetAppValidationConfigurationRequest
  - `appId` string, required — The ID of the application.

## Response `200`

Success

- GetAppValidationConfigurationResponse
  - `appValidationConfigurations` AppValidationConfiguration[] — The configuration for application validation.
    - `validationId` string — The ID of the validation.
    - `name` string — The name of the configuration.
    - `appValidationStrategy` 'SSM' — The validation strategy.
    - `ssmValidationParameters` object — The validation parameters.
      - `source` object — The location of the validation script.
        - `s3Location` S3Location — Location of an Amazon S3 object.
          - `bucket` string — The Amazon S3 bucket name.
          - `key` string — The Amazon S3 bucket key.
      - `instanceId` string — The ID of the instance. The instance must have the following tag: UserForSMSApplicationValidation=true.
      - `scriptType` 'SHELL_SCRIPT' | 'POWERSHELL_SCRIPT' — The type of validation script.
      - `command` string — The command to run the validation script.
      - `executionTimeoutSeconds` integer — The timeout interval, in seconds.
      - `outputS3BucketName` string — The name of the S3 bucket for output.
  - `serverGroupValidationConfigurations` ServerGroupValidationConfiguration[] — The configuration for instance validation.
    - `serverGroupId` string — The ID of the server group.
    - `serverValidationConfigurations` ServerValidationConfiguration[] — The validation configuration.
      - `server` Server — Represents a server.
        - `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.
      - `validationId` string — The ID of the validation.
      - `name` string — The name of the configuration.
      - `serverValidationStrategy` 'USERDATA' — The validation strategy.
      - `userDataValidationParameters` object — The validation parameters.
        - `source` object — The location of the validation script.
          - `s3Location` S3Location — Location of an Amazon S3 object.
            - `bucket` string — The Amazon S3 bucket name.
            - `key` string — The Amazon S3 bucket key.
        - `scriptType` 'SHELL_SCRIPT' | 'POWERSHELL_SCRIPT' — The type of validation script.

## 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)
