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

Properties for flow output.

Used as props by: [FlowOutput](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.FlowOutput.html)

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

## Example

TypeScript:

```ts
declare const stack: Stack;
declare const flow: Flow;
declare const role: iam.IRole;
declare const secret: secretsmanager.ISecret;

// SRT Caller output with encryption
const output = new FlowOutput(stack, 'EncryptedOutput', {
  flow: flow,
  description: 'Encrypted SRT output',
  output: OutputConfiguration.srtCaller({
    destination: '203.0.113.100',
    port: 7000,
    encryption: { role, secret },
  }),
});
```

Python:

```python
from aws_cdk.aws_mediaconnect_alpha import SrtPasswordEncryption
# stack: Stack
# flow: Flow
# role: iam.IRole
# secret: secretsmanager.ISecret

# SRT Caller output with encryption
output = FlowOutput(stack, "EncryptedOutput",
    flow=flow,
    description="Encrypted SRT output",
    output=OutputConfiguration.srt_caller(
        destination="203.0.113.100",
        port=7000,
        encryption=SrtPasswordEncryption(role=role, secret=secret)
    )
)
```

Java:

```java
Stack stack;
Flow flow;
IRole role;
ISecret secret;

// SRT Caller output with encryption
FlowOutput output = FlowOutput.Builder.create(stack, "EncryptedOutput")
        .flow(flow)
        .description("Encrypted SRT output")
        .output(OutputConfiguration.srtCaller(SrtCallerOutputConfig.builder()
                .destination("203.0.113.100")
                .port(7000)
                .encryption(SrtPasswordEncryption.builder().role(role).secret(secret).build())
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
Stack stack;
Flow flow;
IRole role;
ISecret secret;

// SRT Caller output with encryption
var output = new FlowOutput(stack, "EncryptedOutput", new FlowOutputProps {
    Flow = flow,
    Description = "Encrypted SRT output",
    Output = OutputConfiguration.SrtCaller(new SrtCallerOutputConfig {
        Destination = "203.0.113.100",
        Port = 7000,
        Encryption = new SrtPasswordEncryption { Role = role, Secret = secret }
    })
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
var stack Stack
var flow Flow
var role IRole
var secret ISecret

// SRT Caller output with encryption
output := awsmediaconnectalpha.NewFlowOutput(stack, jsii.String("EncryptedOutput"), &FlowOutputProps{
	Flow: flow,
	Description: jsii.String("Encrypted SRT output"),
	Output: awsmediaconnectalpha.OutputConfiguration_SrtCaller(&SrtCallerOutputConfig{
		Destination: jsii.String("203.0.113.100"),
		Port: jsii.Number(7000),
		Encryption: &SrtPasswordEncryption{
			Role: *Role,
			Secret: *Secret,
		},
	}),
})
```

## Properties

- `description`: string — A description of the output.

  **Default:** no description

  This description appears only on the MediaConnect console and will not be seen by the end user.

- `flow`: [IFlow](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.IFlow.html) (required) — The flow this output is attached to.

- `flowOutputName`: string = auto-generated — The name of the output.

- `output`: [OutputConfiguration](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.OutputConfiguration.html) (required) — Output configuration.

- `outputStatus`: [State](/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.State.html) — An indication of whether the output should transmit data or not.

  **Default:** undefined; when omitted, MediaConnect enables the output (ENABLED) at deploy time
