v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1427150102.0 KB

Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console.

post/#X-Amz-Target=com.amazonaws.codeconnections.CodeConnections_20231201.CreateConnection

Headers

X-Amz-Target'com.amazonaws.codeconnections.CodeConnections_20231201.CreateConnection' required

Request body

ProviderType'Bitbucket' | 'GitHub' | 'GitHubEnterpriseServer' | 'GitLab' | 'GitLabSelfManaged' | 'AzureDevOps'

The name of the external provider where your third-party code repository is configured.

ConnectionNamestring required

The name of the connection to be created.

HostArnstring

The Amazon Resource Name (ARN) of the host associated with the connection to be created.

Response

Success

ConnectionArnstring required
<p>The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.</p> <note> <p>The ARN is never reused if the connection is deleted.</p> </note>
All 27 operations