Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
MediaConnectInputProps Struct
Properties for a MediaConnect input.
| Stability | Experimental |
|---|---|
| Source | lib/input.ts |
Example
ts
declare const role: iam.IRole;
declare const flow: mediaconnect.IFlowRef;
InputConfiguration.mediaConnect({
flows: [flow],
role,
});
python
# role: iam.IRole
# flow: mediaconnect.IFlowRef
InputConfiguration.media_connect(
flows=[flow],
role=role
)
java
IRole role;
IFlowRef flow;
InputConfiguration.mediaConnect(MediaConnectInputProps.builder()
.flows(List.of(flow))
.role(role)
.build());
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
IRole role;
IFlowRef flow;
InputConfiguration.MediaConnect(new MediaConnectInputProps {
Flows = new [] { flow },
Role = role
});
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
var role IRole
var flow IFlowRef
awsmedialivealpha.InputConfiguration_MediaConnect(&MediaConnectInputProps{
Flows: []IFlowRef{
flow,
},
Role: Role,
})
Properties
flowsIFlowRef[]flowstyping.List[IFlowRef]flowsList<IFlowRef>FlowsIFlowRef[]Flows*[]IFlowRef required #The MediaConnect flows to use as sources (one, or two for pipeline redundancy).
The IAM role MediaLive uses to manage the output it adds to the flow for this input.
Default: a role is created with the medialive.amazonaws.com service principal [disable-awslint:prefer-ref-interface]
When omitted, a role is created and granted the required permissions. When you provide a role, no permissions are added — you own all the permissions it needs.