# SourcePriorityProperty

The priority you want to assign to a source.

You can have a primary stream and a backup stream or two equally prioritized streams.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const sourcePriorityProperty: mediaconnect.CfnBridge.SourcePriorityProperty = {
  primarySource: 'primarySource',
};
```

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_mediaconnect as mediaconnect

source_priority_property = mediaconnect.CfnBridge.SourcePriorityProperty(
    primary_source="primarySource"
)
```

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.mediaconnect.*;

SourcePriorityProperty sourcePriorityProperty = SourcePriorityProperty.builder()
        .primarySource("primarySource")
        .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.MediaConnect;

var sourcePriorityProperty = new SourcePriorityProperty {
    PrimarySource = "primarySource"
};
```

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"

sourcePriorityProperty := &SourcePriorityProperty{
	PrimarySource: jsii.String("primarySource"),
}
```

## Properties

- `primarySource`: string — The name of the source you choose as the primary source for this flow.
