Skip to content
v2.277.0

Experimental

@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

FlowSourceAttributes Struct ​

Attributes for importing an existing 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';
const flowSourceAttributes: mediaconnect_alpha.FlowSourceAttributes = {
  flowSourceArn: 'flowSourceArn',

  // the properties below are optional
  flowSourceName: 'flowSourceName',
  ingestIp: 'ingestIp',
  sourceIngestPort: 'sourceIngestPort',
};
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_source_attributes = mediaconnect_alpha.FlowSourceAttributes(
    flow_source_arn="flowSourceArn",

    # the properties below are optional
    flow_source_name="flowSourceName",
    ingest_ip="ingestIp",
    source_ingest_port="sourceIngestPort"
)
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.*;

FlowSourceAttributes flowSourceAttributes = FlowSourceAttributes.builder()
        .flowSourceArn("flowSourceArn")

        // the properties below are optional
        .flowSourceName("flowSourceName")
        .ingestIp("ingestIp")
        .sourceIngestPort("sourceIngestPort")
        .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;

var flowSourceAttributes = new FlowSourceAttributes {
    FlowSourceArn = "flowSourceArn",

    // the properties below are optional
    FlowSourceName = "flowSourceName",
    IngestIp = "ingestIp",
    SourceIngestPort = "sourceIngestPort"
};
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"

flowSourceAttributes := &FlowSourceAttributes{
	FlowSourceArn: jsii.String("flowSourceArn"),

	// the properties below are optional
	FlowSourceName: jsii.String("flowSourceName"),
	IngestIp: jsii.String("ingestIp"),
	SourceIngestPort: jsii.String("sourceIngestPort"),
}

Properties ​

flowSourceArnstringflow_source_arnstrflowSourceArnStringFlowSourceArnstringFlowSourceArn*stringrequired#
The Amazon Resource Name (ARN) of the flow source.
flowSourceNameoptionalstringflow_source_nameoptionalstrflowSourceNameoptionalStringFlowSourceNameoptionalstringFlowSourceNameoptional*string#
The name of the flow source.

Default: accessing flowSourceName on the imported source throws; only provide when available.

ingestIpoptionalstringingest_ipoptionalstringestIpoptionalStringIngestIpoptionalstringIngestIpoptional*string#
The IP address that the flow will be listening on for incoming content.

Default: accessing ingestIp on the imported source throws; only provide when available.

sourceIngestPortoptionalstringsource_ingest_portoptionalstrsourceIngestPortoptionalStringSourceIngestPortoptionalstringSourceIngestPortoptional*string#
The port that the flow will be listening on for incoming content.

Default: accessing sourceIngestPort on the imported source throws; only provide when available.