-
Notifications
You must be signed in to change notification settings - Fork 17
/
PrivateSubnetAttributes.go
34 lines (31 loc) · 1.28 KB
/
PrivateSubnetAttributes.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
package awsec2
// 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"
//
// privateSubnetAttributes := &PrivateSubnetAttributes{
// SubnetId: jsii.String("subnetId"),
//
// // the properties below are optional
// AvailabilityZone: jsii.String("availabilityZone"),
// Ipv4CidrBlock: jsii.String("ipv4CidrBlock"),
// RouteTableId: jsii.String("routeTableId"),
// }
//
type PrivateSubnetAttributes struct {
// The subnetId for this particular subnet.
SubnetId *string `field:"required" json:"subnetId" yaml:"subnetId"`
// The Availability Zone the subnet is located in.
// Default: - No AZ information, cannot use AZ selection features.
//
AvailabilityZone *string `field:"optional" json:"availabilityZone" yaml:"availabilityZone"`
// The IPv4 CIDR block associated with the subnet.
// Default: - No CIDR information, cannot use CIDR filter features.
//
Ipv4CidrBlock *string `field:"optional" json:"ipv4CidrBlock" yaml:"ipv4CidrBlock"`
// The ID of the route table for this particular subnet.
// Default: - No route table information, cannot create VPC endpoints.
//
RouteTableId *string `field:"optional" json:"routeTableId" yaml:"routeTableId"`
}