Class CfnFlowOutput
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.mediaconnect.CfnFlowOutput
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,IFlowOutputRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:09.555Z")
@Stability(Stable)
public class CfnFlowOutput
extends CfnResource
implements IInspectable, IFlowOutputRef
The
AWS::MediaConnect::FlowOutput resource defines the destination address, protocol, and port that AWS Elemental MediaConnect sends the ingested video to.
Each flow can have up to 50 outputs. An output can have the same protocol or a different protocol from the source. The following protocols are supported: RIST, RTP, RTP-FEC, SRT-listener, SRT-caller, Zixi pull, and Zixi push. CDI and ST 2110 JPEG XS protocols are not currently supported by AWS CloudFormation.
Example:
// 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.*;
CfnFlowOutput cfnFlowOutput = CfnFlowOutput.Builder.create(this, "MyCfnFlowOutput")
.flowArn("flowArn")
.protocol("protocol")
// the properties below are optional
.cidrAllowList(List.of("cidrAllowList"))
.description("description")
.destination("destination")
.encryption(EncryptionProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
// the properties below are optional
.algorithm("algorithm")
.keyType("keyType")
.build())
.maxLatency(123)
.mediaStreamOutputConfigurations(List.of(MediaStreamOutputConfigurationProperty.builder()
.encodingName("encodingName")
.mediaStreamName("mediaStreamName")
// the properties below are optional
.destinationConfigurations(List.of(DestinationConfigurationProperty.builder()
.destinationIp("destinationIp")
.destinationPort(123)
.interface(InterfaceProperty.builder()
.name("name")
.build())
.build()))
.encodingParameters(EncodingParametersProperty.builder()
.compressionFactor(123)
// the properties below are optional
.encoderProfile("encoderProfile")
.build())
.build()))
.minLatency(123)
.name("name")
.ndiProgramName("ndiProgramName")
.ndiSpeedHqQuality(123)
.outputStatus("outputStatus")
.port(123)
.remoteId("remoteId")
.smoothingLatency(123)
.streamId("streamId")
.vpcInterfaceAttachment(VpcInterfaceAttachmentProperty.builder()
.vpcInterfaceName("vpcInterfaceName")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnFlowOutput.static interfaceThe transport parameters that you want to associate with an outbound media stream.static interfaceA collection of parameters that determine how MediaConnect will convert the content.static interfaceInformation about the encryption of the flow.static interfaceThe VPC interface that is used for the media stream associated with the source or output.static interfaceThe media stream that is associated with the output, and the parameters for that association.static interfaceThe settings for attaching a VPC interface to an resource.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.mediaconnect.IFlowOutputRef
IFlowOutputRef.Jsii$Default, IFlowOutputRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnFlowOutput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFlowOutput(software.amazon.jsii.JsiiObjectRef objRef) CfnFlowOutput(software.constructs.Construct scope, String id, CfnFlowOutputProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the output.The range of IP addresses that should be allowed to initiate output requests to this flow.A description of the output.The IP address where you want to send the output.The type of key used for the encryption.The Amazon Resource Name (ARN) of the flow this output is attached to.A reference to a FlowOutput resource.The maximum latency in milliseconds.The media streams that are associated with the output, and the parameters for those associations.The minimum latency in milliseconds for SRT-based streams.getName()The name of the bridge's output.A suffix for the names of the NDI sources that the flow creates.A quality setting for the NDI Speed HQ encoder.An indication of whether the output should transmit data or not.getPort()The port to use when content is distributed to this output.The protocol to use for the output.The remote ID for the Zixi-pull stream.The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.The stream ID that you want to use for this transport.The name of the VPC interface attachment to use for this output.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetCidrAllowList(List<String> value) The range of IP addresses that should be allowed to initiate output requests to this flow.voidsetDescription(String value) A description of the output.voidsetDestination(String value) The IP address where you want to send the output.voidsetEncryption(IResolvable value) The type of key used for the encryption.voidThe type of key used for the encryption.voidsetFlowArn(String value) The Amazon Resource Name (ARN) of the flow this output is attached to.voidsetMaxLatency(Number value) The maximum latency in milliseconds.voidThe media streams that are associated with the output, and the parameters for those associations.voidThe media streams that are associated with the output, and the parameters for those associations.voidsetMinLatency(Number value) The minimum latency in milliseconds for SRT-based streams.voidThe name of the bridge's output.voidsetNdiProgramName(String value) A suffix for the names of the NDI sources that the flow creates.voidsetNdiSpeedHqQuality(Number value) A quality setting for the NDI Speed HQ encoder.voidsetOutputStatus(String value) An indication of whether the output should transmit data or not.voidThe port to use when content is distributed to this output.voidsetProtocol(String value) The protocol to use for the output.voidsetRemoteId(String value) The remote ID for the Zixi-pull stream.voidsetSmoothingLatency(Number value) The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.voidsetStreamId(String value) The stream ID that you want to use for this transport.voidThe name of the VPC interface attachment to use for this output.voidThe name of the VPC interface attachment to use for this output.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnFlowOutput
protected CfnFlowOutput(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFlowOutput
protected CfnFlowOutput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFlowOutput
@Stability(Stable) public CfnFlowOutput(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFlowOutputProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrOutputArn
The ARN of the output. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getFlowOutputRef
A reference to a FlowOutput resource.- Specified by:
getFlowOutputRefin interfaceIFlowOutputRef
-
getFlowArn
The Amazon Resource Name (ARN) of the flow this output is attached to. -
setFlowArn
The Amazon Resource Name (ARN) of the flow this output is attached to. -
getProtocol
The protocol to use for the output. -
setProtocol
The protocol to use for the output. -
getCidrAllowList
The range of IP addresses that should be allowed to initiate output requests to this flow. -
setCidrAllowList
The range of IP addresses that should be allowed to initiate output requests to this flow. -
getDescription
A description of the output. -
setDescription
A description of the output. -
getDestination
The IP address where you want to send the output. -
setDestination
The IP address where you want to send the output. -
getEncryption
The type of key used for the encryption.Returns union: either
IResolvableorCfnFlowOutput.EncryptionProperty -
setEncryption
The type of key used for the encryption. -
setEncryption
The type of key used for the encryption. -
getMaxLatency
The maximum latency in milliseconds. -
setMaxLatency
The maximum latency in milliseconds. -
getMediaStreamOutputConfigurations
The media streams that are associated with the output, and the parameters for those associations.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFlowOutput.MediaStreamOutputConfigurationProperty> -
setMediaStreamOutputConfigurations
The media streams that are associated with the output, and the parameters for those associations. -
setMediaStreamOutputConfigurations
The media streams that are associated with the output, and the parameters for those associations. -
getMinLatency
The minimum latency in milliseconds for SRT-based streams. -
setMinLatency
The minimum latency in milliseconds for SRT-based streams. -
getName
The name of the bridge's output. -
setName
The name of the bridge's output. -
getNdiProgramName
A suffix for the names of the NDI sources that the flow creates. -
setNdiProgramName
A suffix for the names of the NDI sources that the flow creates. -
getNdiSpeedHqQuality
A quality setting for the NDI Speed HQ encoder. -
setNdiSpeedHqQuality
A quality setting for the NDI Speed HQ encoder. -
getOutputStatus
An indication of whether the output should transmit data or not. -
setOutputStatus
An indication of whether the output should transmit data or not. -
getPort
The port to use when content is distributed to this output. -
setPort
The port to use when content is distributed to this output. -
getRemoteId
The remote ID for the Zixi-pull stream. -
setRemoteId
The remote ID for the Zixi-pull stream. -
getSmoothingLatency
The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams. -
setSmoothingLatency
The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams. -
getStreamId
The stream ID that you want to use for this transport. -
setStreamId
The stream ID that you want to use for this transport. -
getVpcInterfaceAttachment
The name of the VPC interface attachment to use for this output.Returns union: either
IResolvableorCfnFlowOutput.VpcInterfaceAttachmentProperty -
setVpcInterfaceAttachment
The name of the VPC interface attachment to use for this output. -
setVpcInterfaceAttachment
@Stability(Stable) public void setVpcInterfaceAttachment(@Nullable CfnFlowOutput.VpcInterfaceAttachmentProperty value) The name of the VPC interface attachment to use for this output.
-