/
CfnRule_NetworkConfigurationProperty.go
35 lines (32 loc) · 1.34 KB
/
CfnRule_NetworkConfigurationProperty.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
package awsevents
// This structure specifies the network configuration for an ECS task.
//
// 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"
//
// networkConfigurationProperty := &NetworkConfigurationProperty{
// AwsVpcConfiguration: &AwsVpcConfigurationProperty{
// Subnets: []*string{
// jsii.String("subnets"),
// },
//
// // the properties below are optional
// AssignPublicIp: jsii.String("assignPublicIp"),
// SecurityGroups: []*string{
// jsii.String("securityGroups"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-networkconfiguration.html
//
type CfnRule_NetworkConfigurationProperty struct {
// Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used.
//
// This structure is relevant only for ECS tasks that use the `awsvpc` network mode.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-networkconfiguration.html#cfn-events-rule-networkconfiguration-awsvpcconfiguration
//
AwsVpcConfiguration interface{} `field:"optional" json:"awsVpcConfiguration" yaml:"awsVpcConfiguration"`
}