Skip to content
v2.278.0

SourcePriorityProperty Struct ​

The priority you want to assign to a source.

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

Example ​

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
# 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
// 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();
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"
};
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 ​

primarySourceoptionalstringprimary_sourceoptionalstrprimarySourceoptionalStringPrimarySourceoptionalstringPrimarySourceoptional*string #
The name of the source you choose as the primary source for this flow.