Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
IFlow Interface
Interface for Flow.
Properties
envResourceEnvironmentenvResourceEnvironmentenvResourceEnvironmentEnvResourceEnvironmentEnvResourceEnvironment#notes
For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.
For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.
flowAvailabilityZonemay be undefinedstringflow_availability_zonemay be undefinedstrflowAvailabilityZonemay be undefinedStringFlowAvailabilityZonemay be undefinedstringFlowAvailabilityZonemay be undefined*string#flowRefFlowReferenceflow_refFlowReferenceflowRefFlowReferenceFlowRefFlowReferenceFlowRefFlowReference#isFailoverEnabledmay be undefinedbooleanis_failover_enabledmay be undefinedboolisFailoverEnabledmay be undefinedBooleanIsFailoverEnabledmay be undefinedboolIsFailoverEnabledmay be undefined*bool#sourceIngestIpstringsource_ingest_ipstrsourceIngestIpStringSourceIngestIpstringSourceIngestIp*string#notes
Available for listener-style source protocols (RTP, RTP-FEC, RIST, SRT listener, Zixi push). Accessing this on SRT caller, entitlement, gateway bridge, router, CDI, JPEG XS, or imported flows throws — those sources don't expose a listening IP address.
sourceIngestPortstringsource_ingest_portstrsourceIngestPortStringSourceIngestPortstringSourceIngestPort*string#Available for the same listener-style source protocols as sourceIngestIp. Accessing this on SRT caller, entitlement, gateway bridge, router, CDI, JPEG XS, or imported flows throws.
sourceIngestUrlstringsource_ingest_urlstrsourceIngestUrlStringSourceIngestUrlstringSourceIngestUrl*string#notes
Available for listener-style source protocols (RTP, RTP-FEC, RIST, SRT listener, Zixi push) where the flow listens for an upstream sender. Accessing this on SRT caller, entitlement, gateway bridge, router, CDI, JPEG XS, or imported flows throws — those sources don't expose a single host:port ingest URL.
Methods
addOutput(id: string, options: AddFlowOutputOptions): IFlowOutputdef add_output(self, id: str, options: AddFlowOutputOptions) -> IFlowOutputpublic IFlowOutput addOutput(String id, AddFlowOutputOptions options)public IFlowOutput AddOutput(string id, AddFlowOutputOptions options)func AddOutput(Id *string, Options AddFlowOutputOptions) IFlowOutput#applyRemovalPolicy(policy: RemovalPolicy): voiddef apply_removal_policy(self, policy: RemovalPolicy) -> Nonepublic void applyRemovalPolicy(RemovalPolicy policy)public void ApplyRemovalPolicy(RemovalPolicy policy)func ApplyRemovalPolicy(Policy RemovalPolicy)#notes
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).
metric(metricName: string, props?: MetricOptions): Metricdef metric(self, metric_name: str, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metric(String metricName, MetricOptions props)public Metric Metric(string metricName, MetricOptions? props = null)func Metric(MetricName *string, Props MetricOptions) Metric#metricSourceBitrate(props?: MetricOptions): Metricdef metric_source_bitrate(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSourceBitrate(MetricOptions props)public Metric MetricSourceBitrate(MetricOptions? props = null)func MetricSourceBitrate(Props MetricOptions) Metric#metricSourceConnected(props?: MetricOptions): Metricdef metric_source_connected(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSourceConnected(MetricOptions props)public Metric MetricSourceConnected(MetricOptions? props = null)func MetricSourceConnected(Props MetricOptions) Metric#Applies only to Zixi, SRT, and RIST sources.
metricSourceDisconnections(props?: MetricOptions): Metricdef metric_source_disconnections(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSourceDisconnections(MetricOptions props)public Metric MetricSourceDisconnections(MetricOptions? props = null)func MetricSourceDisconnections(Props MetricOptions) Metric#metricSourceDroppedPackets(props?: MetricOptions): Metricdef metric_source_dropped_packets(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSourceDroppedPackets(MetricOptions props)public Metric MetricSourceDroppedPackets(MetricOptions? props = null)func MetricSourceDroppedPackets(Props MetricOptions) Metric#metricSourceJitter(props?: MetricOptions): Metricdef metric_source_jitter(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSourceJitter(MetricOptions props)public Metric MetricSourceJitter(MetricOptions? props = null)func MetricSourceJitter(Props MetricOptions) Metric#metricSourceNotRecoveredPackets(props?: MetricOptions): Metricdef metric_source_not_recovered_packets(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSourceNotRecoveredPackets(MetricOptions props)public Metric MetricSourceNotRecoveredPackets(MetricOptions? props = null)func MetricSourceNotRecoveredPackets(Props MetricOptions) Metric#metricSourcePacketLossPercent(props?: MetricOptions): Metricdef metric_source_packet_loss_percent(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSourcePacketLossPercent(MetricOptions props)public Metric MetricSourcePacketLossPercent(MetricOptions? props = null)func MetricSourcePacketLossPercent(Props MetricOptions) Metric#metricSourceRoundTripTime(props?: MetricOptions): Metricdef metric_source_round_trip_time(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSourceRoundTripTime(MetricOptions props)public Metric MetricSourceRoundTripTime(MetricOptions? props = null)func MetricSourceRoundTripTime(Props MetricOptions) Metric#Applies only to RIST, Zixi, and SRT sources.
metricSourceSelected(props?: MetricOptions): Metricdef metric_source_selected(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSourceSelected(MetricOptions props)public Metric MetricSourceSelected(MetricOptions? props = null)func MetricSourceSelected(Props MetricOptions) Metric#metricSourceTotalPackets(props?: MetricOptions): Metricdef metric_source_total_packets(self, props: typing.Optional[MetricOptions] = None) -> Metricpublic Metric metricSourceTotalPackets(MetricOptions props)public Metric MetricSourceTotalPackets(MetricOptions? props = null)func MetricSourceTotalPackets(Props MetricOptions) Metric#with(...mixins: IMixin[]): IConstructdef with(self, mixins: IMixin) -> IConstructpublic IConstruct with(IMixin mixins)public IConstruct With(IMixin mixins)func With(Mixins IMixin) IConstruct#Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.
1 parameter · returns
Parameters
mixinsmixinsmixinsmixinsMixins— The mixins to apply.
Returns: This construct for chaining