interface SourceCodeVersionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppRunner.Mixins.CfnServicePropsMixin.SourceCodeVersionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapprunner/mixins#CfnServicePropsMixin_SourceCodeVersionProperty |
Java | software.amazon.awscdk.mixins.preview.services.apprunner.mixins.CfnServicePropsMixin.SourceCodeVersionProperty |
Python | aws_cdk.mixins_preview.aws_apprunner.mixins.CfnServicePropsMixin.SourceCodeVersionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_apprunner » mixins » CfnServicePropsMixin » 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 { mixins as apprunner_mixins } from '@aws-cdk/mixins-preview/aws-apprunner';
const sourceCodeVersionProperty: apprunner_mixins.CfnServicePropsMixin.SourceCodeVersionProperty = {
type: 'type',
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| type? | string | The type of version identifier. |
| value? | string | A source code version. |
type?
Type:
string
(optional)
The type of version identifier.
For a git-based repository, branches represent versions.
value?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript