class CfnFlowSourcePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaConnect.Mixins.CfnFlowSourcePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediaconnect/mixins#CfnFlowSourcePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.mediaconnect.mixins.CfnFlowSourcePropsMixin |
Python | aws_cdk.mixins_preview.aws_mediaconnect.mixins.CfnFlowSourcePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_mediaconnect » mixins » CfnFlowSourcePropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::MediaConnect::FlowSource resource is usedt to add additional sources to an existing flow.
Adding an additional source requires Failover to be enabled. When you enable Failover, the additional source must use the same protocol as the existing source. A source is the external video content that includes configuration information (encryption and source type) and a network address. Each flow has at least one source. A standard source comes from a source other than another AWS Elemental MediaConnect flow, such as an on-premises encoder.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as mediaconnect_mixins } from '@aws-cdk/mixins-preview/aws-mediaconnect';
const cfnFlowSourcePropsMixin = new mediaconnect_mixins.CfnFlowSourcePropsMixin({
decryption: {
algorithm: 'algorithm',
constantInitializationVector: 'constantInitializationVector',
deviceId: 'deviceId',
keyType: 'keyType',
region: 'region',
resourceId: 'resourceId',
roleArn: 'roleArn',
secretArn: 'secretArn',
url: 'url',
},
description: 'description',
entitlementArn: 'entitlementArn',
flowArn: 'flowArn',
gatewayBridgeSource: {
bridgeArn: 'bridgeArn',
vpcInterfaceAttachment: {
vpcInterfaceName: 'vpcInterfaceName',
},
},
ingestPort: 123,
maxBitrate: 123,
maxLatency: 123,
minLatency: 123,
name: 'name',
protocol: 'protocol',
senderControlPort: 123,
senderIpAddress: 'senderIpAddress',
sourceListenerAddress: 'sourceListenerAddress',
sourceListenerPort: 123,
streamId: 'streamId',
vpcInterfaceName: 'vpcInterfaceName',
whitelistCidr: 'whitelistCidr',
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnFlowSourcePropsMixin(props: CfnFlowSourceMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Flow Source Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::MediaConnect::FlowSource.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript