# SourceReferenceProperty

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

- Source: Generated at build time
- Type last changed: v2.214.0 · 2 Sep 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `type`: string — The type of source reference, such as branch, tag, or commit.

- `value`: string — The value of the source reference, such as the branch name, tag name, or commit ID.
