-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnFlowProps.go
89 lines (86 loc) · 3.68 KB
/
CfnFlowProps.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
package awsmediaconnect
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// cfnFlowProps := &CfnFlowProps{
// Name: jsii.String("name"),
// Source: &SourceProperty{
// Decryption: &EncryptionProperty{
// RoleArn: jsii.String("roleArn"),
//
// // the properties below are optional
// Algorithm: jsii.String("algorithm"),
// ConstantInitializationVector: jsii.String("constantInitializationVector"),
// DeviceId: jsii.String("deviceId"),
// KeyType: jsii.String("keyType"),
// Region: jsii.String("region"),
// ResourceId: jsii.String("resourceId"),
// SecretArn: jsii.String("secretArn"),
// Url: jsii.String("url"),
// },
// Description: jsii.String("description"),
// EntitlementArn: jsii.String("entitlementArn"),
// GatewayBridgeSource: &GatewayBridgeSourceProperty{
// BridgeArn: jsii.String("bridgeArn"),
//
// // the properties below are optional
// VpcInterfaceAttachment: &VpcInterfaceAttachmentProperty{
// VpcInterfaceName: jsii.String("vpcInterfaceName"),
// },
// },
// IngestIp: jsii.String("ingestIp"),
// IngestPort: jsii.Number(123),
// MaxBitrate: jsii.Number(123),
// MaxLatency: jsii.Number(123),
// MinLatency: jsii.Number(123),
// Name: jsii.String("name"),
// Protocol: jsii.String("protocol"),
// SenderControlPort: jsii.Number(123),
// SenderIpAddress: jsii.String("senderIpAddress"),
// SourceArn: jsii.String("sourceArn"),
// SourceIngestPort: jsii.String("sourceIngestPort"),
// SourceListenerAddress: jsii.String("sourceListenerAddress"),
// SourceListenerPort: jsii.Number(123),
// StreamId: jsii.String("streamId"),
// VpcInterfaceName: jsii.String("vpcInterfaceName"),
// WhitelistCidr: jsii.String("whitelistCidr"),
// },
//
// // the properties below are optional
// AvailabilityZone: jsii.String("availabilityZone"),
// SourceFailoverConfig: &FailoverConfigProperty{
// FailoverMode: jsii.String("failoverMode"),
// RecoveryWindow: jsii.Number(123),
// SourcePriority: &SourcePriorityProperty{
// PrimarySource: jsii.String("primarySource"),
// },
// State: jsii.String("state"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html
//
type CfnFlowProps struct {
// The name of the flow.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The settings for the source that you want to use for the new flow.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-source
//
Source interface{} `field:"required" json:"source" yaml:"source"`
// The Availability Zone that you want to create the flow in.
//
// These options are limited to the Availability Zones within the current AWS Region.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-availabilityzone
//
AvailabilityZone *string `field:"optional" json:"availabilityZone" yaml:"availabilityZone"`
// The settings for source failover.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-sourcefailoverconfig
//
SourceFailoverConfig interface{} `field:"optional" json:"sourceFailoverConfig" yaml:"sourceFailoverConfig"`
}