interface RouterSource
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.RouterSource |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#RouterSource |
Java | software.amazon.awscdk.services.mediaconnect.alpha.RouterSource |
Python | aws_cdk.aws_mediaconnect_alpha.RouterSource |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป RouterSource |
Options for Router Source.
Example
declare const stack: Stack;
declare const flow: Flow;
declare const role: iam.IRole;
declare const secret: secretsmanager.ISecret;
declare const existingRouterOutput: RouterOutput;
// Flow output to router with transit encryption
const routerOutput = new FlowOutput(stack, 'RouterOutput', {
flow: flow,
output: OutputConfiguration.router({
encryption: { role, secret },
}),
});
// Flow source from router with transit encryption
const flowFromRouter = new Flow(stack, 'FlowFromRouter', {
source: SourceConfiguration.router({
routerOutput: existingRouterOutput,
decryption: { role, secret },
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| decryption? | Transit | Options to decrypt incoming feed. |
| router | IRouter | The router output that feeds this flow source. |
decryption?
Type:
Transit
(optional, default: no decryption)
Options to decrypt incoming feed.
routerOutput?
Type:
IRouter
(optional, default: no router output connected)
The router output that feeds this flow source.

.NET
Go
Java
Python
TypeScript (