-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnBridgeSourceProps.go
54 lines (51 loc) · 2.27 KB
/
CfnBridgeSourceProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package awsmediaconnect
// Properties for defining a `CfnBridgeSource`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnBridgeSourceProps := &CfnBridgeSourceProps{
// BridgeArn: jsii.String("bridgeArn"),
// Name: jsii.String("name"),
//
// // the properties below are optional
// FlowSource: &BridgeFlowSourceProperty{
// FlowArn: jsii.String("flowArn"),
//
// // the properties below are optional
// FlowVpcInterfaceAttachment: &VpcInterfaceAttachmentProperty{
// VpcInterfaceName: jsii.String("vpcInterfaceName"),
// },
// },
// NetworkSource: &BridgeNetworkSourceProperty{
// MulticastIp: jsii.String("multicastIp"),
// NetworkName: jsii.String("networkName"),
// Port: jsii.Number(123),
// Protocol: jsii.String("protocol"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridgesource.html
//
type CfnBridgeSourceProps struct {
// The ARN of the bridge that you want to describe.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridgesource.html#cfn-mediaconnect-bridgesource-bridgearn
//
BridgeArn *string `field:"required" json:"bridgeArn" yaml:"bridgeArn"`
// The name of the flow source.
//
// This name is used to reference the source and must be unique among sources in this bridge.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridgesource.html#cfn-mediaconnect-bridgesource-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Add a flow source to an existing bridge.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridgesource.html#cfn-mediaconnect-bridgesource-flowsource
//
FlowSource interface{} `field:"optional" json:"flowSource" yaml:"flowSource"`
// Add a network source to an existing bridge.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridgesource.html#cfn-mediaconnect-bridgesource-networksource
//
NetworkSource interface{} `field:"optional" json:"networkSource" yaml:"networkSource"`
}