Skip to content

Create Connection

apprunner_create_connection R Documentation

Create an App Runner connection resource

Description

Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from certain third-party providers. You can share a connection across multiple services.

A connection resource is needed to access GitHub and Bitbucket repositories. Both require a user interface approval process through the App Runner console before you can use the connection.

Usage

apprunner_create_connection(ConnectionName, ProviderType, Tags)

Arguments

ConnectionName

[required] A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.

ProviderType

[required] The source repository provider.

Tags

A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.

Value

A list with the following syntax:

list(
  Connection = list(
    ConnectionName = "string",
    ConnectionArn = "string",
    ProviderType = "GITHUB"|"BITBUCKET",
    Status = "PENDING_HANDSHAKE"|"AVAILABLE"|"ERROR"|"DELETED",
    CreatedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$create_connection(
  ConnectionName = "string",
  ProviderType = "GITHUB"|"BITBUCKET",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)