-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnBridgeProps.go
104 lines (101 loc) · 4.45 KB
/
CfnBridgeProps.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
package awsmediaconnect
// Properties for defining a `CfnBridge`.
//
// 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"
//
// cfnBridgeProps := &CfnBridgeProps{
// Name: jsii.String("name"),
// PlacementArn: jsii.String("placementArn"),
// Sources: []interface{}{
// &BridgeSourceProperty{
// FlowSource: &BridgeFlowSourceProperty{
// FlowArn: jsii.String("flowArn"),
// Name: jsii.String("name"),
//
// // the properties below are optional
// FlowVpcInterfaceAttachment: &VpcInterfaceAttachmentProperty{
// VpcInterfaceName: jsii.String("vpcInterfaceName"),
// },
// },
// NetworkSource: &BridgeNetworkSourceProperty{
// MulticastIp: jsii.String("multicastIp"),
// Name: jsii.String("name"),
// NetworkName: jsii.String("networkName"),
// Port: jsii.Number(123),
// Protocol: jsii.String("protocol"),
// },
// },
// },
//
// // the properties below are optional
// EgressGatewayBridge: &EgressGatewayBridgeProperty{
// MaxBitrate: jsii.Number(123),
// },
// IngressGatewayBridge: &IngressGatewayBridgeProperty{
// MaxBitrate: jsii.Number(123),
// MaxOutputs: jsii.Number(123),
// },
// Outputs: []interface{}{
// &BridgeOutputProperty{
// NetworkOutput: &BridgeNetworkOutputProperty{
// IpAddress: jsii.String("ipAddress"),
// Name: jsii.String("name"),
// NetworkName: jsii.String("networkName"),
// Port: jsii.Number(123),
// Protocol: jsii.String("protocol"),
// Ttl: jsii.Number(123),
// },
// },
// },
// SourceFailoverConfig: &FailoverConfigProperty{
// FailoverMode: jsii.String("failoverMode"),
//
// // the properties below are optional
// SourcePriority: &SourcePriorityProperty{
// PrimarySource: jsii.String("primarySource"),
// },
// State: jsii.String("state"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridge.html
//
type CfnBridgeProps struct {
// The network output name.
//
// This name is used to reference the output and must be unique among outputs in this bridge.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridge.html#cfn-mediaconnect-bridge-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The bridge placement Amazon Resource Number (ARN).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridge.html#cfn-mediaconnect-bridge-placementarn
//
PlacementArn *string `field:"required" json:"placementArn" yaml:"placementArn"`
// The sources that you want to add to this bridge.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridge.html#cfn-mediaconnect-bridge-sources
//
Sources interface{} `field:"required" json:"sources" yaml:"sources"`
// Create a bridge with the egress bridge type.
//
// An egress bridge is a cloud-to-ground bridge. The content comes from an existing MediaConnect flow and is delivered to your premises.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridge.html#cfn-mediaconnect-bridge-egressgatewaybridge
//
EgressGatewayBridge interface{} `field:"optional" json:"egressGatewayBridge" yaml:"egressGatewayBridge"`
// Create a bridge with the ingress bridge type.
//
// An ingress bridge is a ground-to-cloud bridge. The content originates at your premises and is delivered to the cloud.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridge.html#cfn-mediaconnect-bridge-ingressgatewaybridge
//
IngressGatewayBridge interface{} `field:"optional" json:"ingressGatewayBridge" yaml:"ingressGatewayBridge"`
// The outputs that you want to add to this bridge.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridge.html#cfn-mediaconnect-bridge-outputs
//
Outputs interface{} `field:"optional" json:"outputs" yaml:"outputs"`
// The settings for source failover.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridge.html#cfn-mediaconnect-bridge-sourcefailoverconfig
//
SourceFailoverConfig interface{} `field:"optional" json:"sourceFailoverConfig" yaml:"sourceFailoverConfig"`
}