Connection
Source:
src/AWS/CodeConnections/Connection.ts
An AWS CodeConnections connection to a source-code provider (GitHub, GitLab, Bitbucket).
A connection is created in the PENDING state. Completing it requires a
one-time OAuth handshake performed manually in the AWS console (the
“Update pending connection” flow) — there is no API to finish the
handshake. Once completed the connection becomes AVAILABLE and can be
referenced by a CodePipeline CodeStarSourceConnection action.
Creating a Connection
Section titled “Creating a Connection”const connection = yield* CodeConnections.Connection("GitHub", { providerType: "GitHub",});// connection.connectionStatus === "PENDING"// Complete the handshake in the console before using it in a pipeline.