Skip to content
v2.277.0

Experimental

@aws-cdk/aws-apprunner-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

SourceCodeVersion Struct ​

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

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apprunner_alpha from '@aws-cdk/aws-apprunner-alpha';
const sourceCodeVersion: apprunner_alpha.SourceCodeVersion = {
  type: 'type',
  value: 'value',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apprunner_alpha as apprunner_alpha

source_code_version = apprunner_alpha.SourceCodeVersion(
    type="type",
    value="value"
)
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.alpha.*;

SourceCodeVersion sourceCodeVersion = SourceCodeVersion.builder()
        .type("type")
        .value("value")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.AppRunner.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppRunner.Alpha;

var sourceCodeVersion = new SourceCodeVersion {
    Type = "type",
    Value = "value"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdkapprunneralpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha"

sourceCodeVersion := &SourceCodeVersion{
	Type: jsii.String("type"),
	Value: jsii.String("value"),
}

Properties ​

typestringtypestrtypeStringTypestringType*string required #
The type of version identifier.
valuestringvaluestrvalueStringValuestringValue*string required #
A source code version.