-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnFlowVpcInterfaceProps.go
53 lines (50 loc) · 2.84 KB
/
CfnFlowVpcInterfaceProps.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
package awsmediaconnect
// Properties for defining a `CfnFlowVpcInterface`.
//
// 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"
//
// cfnFlowVpcInterfaceProps := &CfnFlowVpcInterfaceProps{
// FlowArn: jsii.String("flowArn"),
// Name: jsii.String("name"),
// RoleArn: jsii.String("roleArn"),
// SecurityGroupIds: []*string{
// jsii.String("securityGroupIds"),
// },
// SubnetId: jsii.String("subnetId"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html
//
type CfnFlowVpcInterfaceProps struct {
// The Amazon Resource Name (ARN) of the flow.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html#cfn-mediaconnect-flowvpcinterface-flowarn
//
FlowArn *string `field:"required" json:"flowArn" yaml:"flowArn"`
// The name of the VPC Interface.
//
// This value must be unique within the current flow.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html#cfn-mediaconnect-flowvpcinterface-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html#cfn-mediaconnect-flowvpcinterface-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The VPC security groups that you want MediaConnect to use for your VPC configuration.
//
// You must include at least one security group in the request.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html#cfn-mediaconnect-flowvpcinterface-securitygroupids
//
SecurityGroupIds *[]*string `field:"required" json:"securityGroupIds" yaml:"securityGroupIds"`
// The subnet IDs that you want to use for your VPC interface.
//
// A range of IP addresses in your VPC. When you create your VPC, you specify a range of IPv4 addresses for the VPC in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16. This is the primary CIDR block for your VPC. When you create a subnet for your VPC, you specify the CIDR block for the subnet, which is a subset of the VPC CIDR block.
//
// The subnets that you use across all VPC interfaces on the flow must be in the same Availability Zone as the flow.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html#cfn-mediaconnect-flowvpcinterface-subnetid
//
SubnetId *string `field:"required" json:"subnetId" yaml:"subnetId"`
}