Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
FlowSourceProps Struct
Properties for the flow source.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
declare const flow: mediaconnect_alpha.Flow;
declare const sourceConfiguration: mediaconnect_alpha.SourceConfiguration;
const flowSourceProps: mediaconnect_alpha.FlowSourceProps = {
flow: flow,
source: sourceConfiguration,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha
# flow: mediaconnect_alpha.Flow
# source_configuration: mediaconnect_alpha.SourceConfiguration
flow_source_props = mediaconnect_alpha.FlowSourceProps(
flow=flow,
source=source_configuration
)
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.alpha.*;
Flow flow;
SourceConfiguration sourceConfiguration;
FlowSourceProps flowSourceProps = FlowSourceProps.builder()
.flow(flow)
.source(sourceConfiguration)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;
Flow flow;
SourceConfiguration sourceConfiguration;
var flowSourceProps = new FlowSourceProps {
Flow = flow,
Source = sourceConfiguration
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"
var flow Flow
var sourceConfiguration SourceConfiguration
flowSourceProps := &FlowSourceProps{
Flow: flow,
Source: sourceConfiguration,
}
Properties
The flow this source is connected to.
The flow must have Failover enabled to add an additional source.
sourceSourceConfigurationsourceSourceConfigurationsourceSourceConfigurationSourceSourceConfigurationSourceSourceConfigurationrequired#Flow Source Configuration.