Skip to content
v2.277.0

SourceReferenceProperty Struct ​

Contains information about the source reference in a code repository, such as a branch, tag, or commit.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_omics as omics } from 'aws-cdk-lib';
const sourceReferenceProperty: omics.CfnWorkflow.SourceReferenceProperty = {
  type: 'type',
  value: 'value',
};
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_omics as omics

source_reference_property = omics.CfnWorkflow.SourceReferenceProperty(
    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.omics.*;

SourceReferenceProperty sourceReferenceProperty = SourceReferenceProperty.builder()
        .type("type")
        .value("value")
        .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.Omics;

var sourceReferenceProperty = new SourceReferenceProperty {
    Type = "type",
    Value = "value"
};
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"

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

Properties ​

typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string#
The type of source reference, such as branch, tag, or commit.
valueoptionalstringvalueoptionalstrvalueoptionalStringValueoptionalstringValueoptional*string#
The value of the source reference, such as the branch name, tag name, or commit ID.