---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/generateAwsTemplate"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/generateAwsTemplate"
tags: ["GenerateAwsTemplate"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/generateAwsTemplate

`POST /subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/generateAwsTemplate`

Retrieve AWS Cloud Formation template

## Parameters

- `../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Request body

- GenerateAwsTemplateRequest — ConnectorId and SolutionTypes and their properties to Generate AWS CFT Template.
  - `connectorId` string, required — The name of public cloud connector
  - `solutionTypes` SolutionTypeSettings[] — The list of solution types and their settings
    - `solutionType` string, required — The type of the solution
    - `solutionSettings` SolutionSettings — Solution settings

## Response `200`

Azure operation completed successfully.

- GenerateAwsTemplateResponse — The HybridConnectivity post operation response

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/hybridconnectivity-microsoft-hybridconnectivity.md) · [All operations](https://skmtc.net/azure/apis/hybridconnectivity-microsoft-hybridconnectivity/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/hybridconnectivity-microsoft-hybridconnectivity/revisions/4186b5674cbc/schema)
