aws-cdk-lib.aws_apprunner.CfnService.AuthenticationConfigurationProperty

interface AuthenticationConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.AppRunner.CfnService.AuthenticationConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapprunner#CfnService_AuthenticationConfigurationProperty
Javasoftware.amazon.awscdk.services.apprunner.CfnService.AuthenticationConfigurationProperty
Pythonaws_cdk.aws_apprunner.CfnService.AuthenticationConfigurationProperty
TypeScript aws-cdk-lib » aws_apprunner » CfnService » AuthenticationConfigurationProperty

Describes resources needed to authenticate access to some source repositories.

The specific resource depends on the repository provider.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apprunner as apprunner } from 'aws-cdk-lib';
const authenticationConfigurationProperty: apprunner.CfnService.AuthenticationConfigurationProperty = {
  accessRoleArn: 'accessRoleArn',
  connectionArn: 'connectionArn',
};

Properties

NameTypeDescription
accessRoleArn?stringThe Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository.
connectionArn?stringThe Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a source repository.

accessRoleArn?

Type: string (optional)

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).


connectionArn?

Type: string (optional)

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.