

# CreateIntegrationConfiguration

Creates an integration configuration that makes an external resource available to app environments. Amplify Gen 3 handles IAM permissions and credential management automatically, so there are no role assumptions in your application code.

## Request Syntax
<a name="API_CreateIntegrationConfiguration_RequestSyntax"></a>

```
POST /integration-configurations HTTP/1.1
Content-type: application/json

{
   "EnvironmentVariables": [ 
      { 
         "Key": "{{string}}",
         "KeyOverride": "{{string}}",
         "Type": "{{string}}",
         "Value": "{{string}}"
      }
   ],
   "IntegrationName": "{{string}}",
   "IntegrationTypeId": "{{string}}",
   "ResourceConfiguration": { ... },
   "Tags": { 
      "{{string}}" : "{{string}}" 
   }
}
```

## URI Request Parameters
<a name="API_CreateIntegrationConfiguration_RequestParameters"></a>

The request does not use any URI parameters.

## Request Body
<a name="API_CreateIntegrationConfiguration_RequestBody"></a>

The request accepts the following data in JSON format.

 ** [EnvironmentVariables](#API_CreateIntegrationConfiguration_RequestSyntax) **   <a name="amplifygen3-CreateIntegrationConfiguration-request-EnvironmentVariables"></a>
The environment variables that the integration provides to the environments that it is connected to.  
Type: Array of [IntegrationEnvironmentVariableInput](API_IntegrationEnvironmentVariableInput.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 50 items.  
Required: No

 ** [IntegrationName](#API_CreateIntegrationConfiguration_RequestSyntax) **   <a name="amplifygen3-CreateIntegrationConfiguration-request-IntegrationName"></a>
The name of the integration.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 140.  
Pattern: `[a-zA-Z0-9]([a-zA-Z0-9_-]*[a-zA-Z0-9])?`   
Required: Yes

 ** [IntegrationTypeId](#API_CreateIntegrationConfiguration_RequestSyntax) **   <a name="amplifygen3-CreateIntegrationConfiguration-request-IntegrationTypeId"></a>
The ID of the integration type.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: Yes

 ** [ResourceConfiguration](#API_CreateIntegrationConfiguration_RequestSyntax) **   <a name="amplifygen3-CreateIntegrationConfiguration-request-ResourceConfiguration"></a>
The resource configuration for the integration.  
Type: [ResourceConfiguration](API_ResourceConfiguration.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: No

 ** [Tags](#API_CreateIntegrationConfiguration_RequestSyntax) **   <a name="amplifygen3-CreateIntegrationConfiguration-request-Tags"></a>
The tags to apply to the resource.  
Type: String to string map  
Key Length Constraints: Minimum length of 1. Maximum length of 128.  
Key Pattern: `[a-zA-Z0-9 _\.:\/=+\-@]+`   
Value Length Constraints: Minimum length of 0. Maximum length of 256.  
Value Pattern: `[a-zA-Z0-9 _\.:\/=+\-@]*`   
Required: No

## Response Syntax
<a name="API_CreateIntegrationConfiguration_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "IntegrationArn": "string"
}
```

## Response Elements
<a name="API_CreateIntegrationConfiguration_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [IntegrationArn](#API_CreateIntegrationConfiguration_ResponseSyntax) **   <a name="amplifygen3-CreateIntegrationConfiguration-response-IntegrationArn"></a>
The Amazon Resource Name (ARN) of the integration configuration.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.

## Errors
<a name="API_CreateIntegrationConfiguration_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** AccessDeniedException **   
You do not have sufficient permissions to perform this action.    
 ** message **   
A message that describes the error.
HTTP Status Code: 403

 ** ConflictException **   
The request conflicts with the current state of the resource.    
 ** message **   
A message that describes the error.
HTTP Status Code: 409

 ** InternalServerException **   
An internal error occurred. Retry the request.    
 ** message **   
A message that describes the error.  
 ** retryAfterSeconds **   
The number of seconds to wait before you retry the request.
HTTP Status Code: 500

 ** ServiceQuotaExceededException **   
The request would exceed a service quota for your account.    
 ** message **   
A message that describes the error.  
 ** quotaCode **   
The code of the service quota that was exceeded.  
 ** serviceCode **   
The code of the service that the quota belongs to.
HTTP Status Code: 402

 ** ThrottlingException **   
The request was denied because the request rate exceeds the allowed limit.    
 ** message **   
A message that describes the error.  
 ** quotaCode **   
The code of the service quota that caused the throttling.  
 ** retryAfterSeconds **   
The number of seconds to wait before you retry the request.  
 ** serviceCode **   
The code of the service that the quota belongs to.
HTTP Status Code: 429

 ** ValidationException **   
The request contains invalid parameters or is otherwise malformed.    
 ** message **   
A message that describes the error.
HTTP Status Code: 400

## See Also
<a name="API_CreateIntegrationConfiguration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/amplifygen3-2025-09-18/CreateIntegrationConfiguration) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/amplifygen3-2025-09-18/CreateIntegrationConfiguration) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/amplifygen3-2025-09-18/CreateIntegrationConfiguration) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/amplifygen3-2025-09-18/CreateIntegrationConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/amplifygen3-2025-09-18/CreateIntegrationConfiguration) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/amplifygen3-2025-09-18/CreateIntegrationConfiguration) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/amplifygen3-2025-09-18/CreateIntegrationConfiguration) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/amplifygen3-2025-09-18/CreateIntegrationConfiguration) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/amplifygen3-2025-09-18/CreateIntegrationConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/amplifygen3-2025-09-18/CreateIntegrationConfiguration) 