-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnGatewayProps.go
44 lines (41 loc) · 1.81 KB
/
CfnGatewayProps.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
package awsmediaconnect
// Properties for defining a `CfnGateway`.
//
// 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"
//
// cfnGatewayProps := &CfnGatewayProps{
// EgressCidrBlocks: []*string{
// jsii.String("egressCidrBlocks"),
// },
// Name: jsii.String("name"),
// Networks: []interface{}{
// &GatewayNetworkProperty{
// CidrBlock: jsii.String("cidrBlock"),
// Name: jsii.String("name"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-gateway.html
//
type CfnGatewayProps struct {
// The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway.
//
// These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-gateway.html#cfn-mediaconnect-gateway-egresscidrblocks
//
EgressCidrBlocks *[]*string `field:"required" json:"egressCidrBlocks" yaml:"egressCidrBlocks"`
// The name of the network.
//
// This name is used to reference the network and must be unique among networks in this gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-gateway.html#cfn-mediaconnect-gateway-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The list of networks that you want to add.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-gateway.html#cfn-mediaconnect-gateway-networks
//
Networks interface{} `field:"required" json:"networks" yaml:"networks"`
}