AuthenticationConfigurationProperty Struct
Describes resources needed to authenticate access to some source repositories.
The specific resource depends on the repository provider.
Example
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_apprunner as apprunner
authentication_configuration_property = apprunner.CfnService.AuthenticationConfigurationProperty(
access_role_arn="accessRoleArn",
connection_arn="connectionArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apprunner.*;
AuthenticationConfigurationProperty authenticationConfigurationProperty = AuthenticationConfigurationProperty.builder()
.accessRoleArn("accessRoleArn")
.connectionArn("connectionArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppRunner;
var authenticationConfigurationProperty = new AuthenticationConfigurationProperty {
AccessRoleArn = "accessRoleArn",
ConnectionArn = "connectionArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
authenticationConfigurationProperty := &AuthenticationConfigurationProperty{
AccessRoleArn: jsii.String("accessRoleArn"),
ConnectionArn: jsii.String("connectionArn"),
}
Properties
accessRoleArnoptionalstringaccess_role_arnoptionalstraccessRoleArnoptionalStringAccessRoleArnoptionalstringAccessRoleArnoptional*string#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).
connectionArnoptionalstringconnection_arnoptionalstrconnectionArnoptionalStringConnectionArnoptionalstringConnectionArnoptional*string#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.