Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::AppRunner::Service AuthenticationConfiguration

Focus mode
AWS::AppRunner::Service AuthenticationConfiguration - AWS CloudFormation
Filter View

Describes resources needed to authenticate access to some source repositories. The specific resource depends on the repository provider.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "AccessRoleArn" : String, "ConnectionArn" : String }

YAML

AccessRoleArn: String ConnectionArn: String

Properties

AccessRoleArn

The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository. It's required for ECR image repositories (but not for ECR Public repositories).

Required: No

Type: String

Pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):iam::[0-9]{12}:role/[\w+=,.@-]{1,64}

Minimum: 29

Maximum: 1024

Update requires: No interruption

ConnectionArn

The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a source repository. It's required for GitHub code repositories.

Required: No

Type: String

Pattern: arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011}

Minimum: 1

Maximum: 1011

Update requires: No interruption

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.