GitHubConnection

class aws_cdk.aws_apprunner.GitHubConnection(arn)

Bases: object

(experimental) Represents the App Runner connection that enables the App Runner service to connect to a source repository.

It’s required for GitHub code repositories.

Stability

experimental

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apprunner as apprunner

git_hub_connection = apprunner.GitHubConnection("arn")
Parameters

arn (str) –

Stability

experimental

Attributes

connection_arn

(experimental) The ARN of the Connection for App Runner service to connect to the repository.

Stability

experimental

Return type

str

Static Methods

classmethod from_connection_arn(arn)

(experimental) Using existing App Runner connection by specifying the connection ARN.

Parameters

arn (str) – connection ARN.

Return type

GitHubConnection

Returns

Connection

Stability

experimental