Skip to content
v2.276.0

FlowSourceReference Struct ​

A reference to a FlowSource resource.

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 interfaces_mediaconnect } from 'aws-cdk-lib/interfaces';
const flowSourceReference: interfaces_mediaconnect.FlowSourceReference = {
  sourceArn: 'sourceArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_mediaconnect as interfaces_mediaconnect

flow_source_reference = interfaces_mediaconnect.FlowSourceReference(
    source_arn="sourceArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.mediaconnect.*;

FlowSourceReference flowSourceReference = FlowSourceReference.builder()
        .sourceArn("sourceArn")
        .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.Interfaces.MediaConnect;

var flowSourceReference = new FlowSourceReference {
    SourceArn = "sourceArn"
};
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"

flowSourceReference := &FlowSourceReference{
	SourceArn: jsii.String("sourceArn"),
}

Properties ​

sourceArnstringsource_arnstrsourceArnStringSourceArnstringSourceArn*stringrequired#
The SourceArn of the FlowSource resource.