interface CfnFlowProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MediaConnect.CfnFlowProps |
![]() | software.amazon.awscdk.services.mediaconnect.CfnFlowProps |
![]() | aws_cdk.aws_mediaconnect.CfnFlowProps |
![]() | @aws-cdk/aws-mediaconnect » CfnFlowProps |
Properties for defining a CfnFlow
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect from '@aws-cdk/aws-mediaconnect';
const cfnFlowProps: mediaconnect.CfnFlowProps = {
name: 'name',
source: {
decryption: {
roleArn: 'roleArn',
// the properties below are optional
algorithm: 'algorithm',
constantInitializationVector: 'constantInitializationVector',
deviceId: 'deviceId',
keyType: 'keyType',
region: 'region',
resourceId: 'resourceId',
secretArn: 'secretArn',
url: 'url',
},
description: 'description',
entitlementArn: 'entitlementArn',
ingestIp: 'ingestIp',
ingestPort: 123,
maxBitrate: 123,
maxLatency: 123,
minLatency: 123,
name: 'name',
protocol: 'protocol',
senderControlPort: 123,
senderIpAddress: 'senderIpAddress',
sourceArn: 'sourceArn',
sourceIngestPort: 'sourceIngestPort',
sourceListenerAddress: 'sourceListenerAddress',
sourceListenerPort: 123,
streamId: 'streamId',
vpcInterfaceName: 'vpcInterfaceName',
whitelistCidr: 'whitelistCidr',
},
// the properties below are optional
availabilityZone: 'availabilityZone',
sourceFailoverConfig: {
failoverMode: 'failoverMode',
recoveryWindow: 123,
sourcePriority: {
primarySource: 'primarySource',
},
state: 'state',
},
};
Properties
Name | Type | Description |
---|---|---|
name | string | The name of the flow. |
source | Source | IResolvable | The settings for the source that you want to use for the new flow. |
availability | string | The Availability Zone that you want to create the flow in. |
source | IResolvable | Failover | The settings for source failover. |
name
Type:
string
The name of the flow.
source
Type:
Source
|
IResolvable
The settings for the source that you want to use for the new flow.
availabilityZone?
Type:
string
(optional)
The Availability Zone that you want to create the flow in.
These options are limited to the Availability Zones within the current AWS Region.
sourceFailoverConfig?
Type:
IResolvable
|
Failover
(optional)
The settings for source failover.