> **Experimental**
>
> `@aws-cdk/aws-mediaconnect-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# FlowSourceAttributes

Attributes for importing an existing Flow Source.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/flow-source.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-mediaconnect-alpha/lib/flow-source.ts#L64)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `flowSourceArn`: string (required) — The Amazon Resource Name (ARN) of the flow source.

- `flowSourceName`: string — The name of the flow source.

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

- `ingestIp`: 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.

- `sourceIngestPort`: 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.
