aws-cdk-lib.aws_apprunner.CfnService.SourceCodeVersionProperty

interface SourceCodeVersionProperty

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

Identifies a version of code that AWS App Runner refers to within a source code repository.

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 sourceCodeVersionProperty: apprunner.CfnService.SourceCodeVersionProperty = {
  type: 'type',
  value: 'value',
};

Properties

NameTypeDescription
typestringThe type of version identifier.
valuestringA source code version.

type

Type: string

The type of version identifier.

For a git-based repository, branches represent versions.


value

Type: string

A source code version.

For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.