1
+ {
2
+ "Resources" : {
3
+ "SubnetWithIpv4Subnet6A3CF916" : {
4
+ "Type" : " AWS::EC2::Subnet" ,
5
+ "Properties" : {
6
+ "AvailabilityZone" : " us-east-1a" ,
7
+ "CidrBlock" : " 10.0.0.0/24" ,
8
+ "Tags" : [
9
+ {
10
+ "Key" : " Name" ,
11
+ "Value" : " SubnetIpamTest/SubnetWithIpv4"
12
+ }
13
+ ],
14
+ "VpcId" : " vpc-12345"
15
+ }
16
+ },
17
+ "SubnetWithIpv4RouteTable4BEFC5CB" : {
18
+ "Type" : " AWS::EC2::RouteTable" ,
19
+ "Properties" : {
20
+ "Tags" : [
21
+ {
22
+ "Key" : " Name" ,
23
+ "Value" : " SubnetIpamTest/SubnetWithIpv4"
24
+ }
25
+ ],
26
+ "VpcId" : " vpc-12345"
27
+ }
28
+ },
29
+ "SubnetWithIpv4RouteTableAssociation6C036027" : {
30
+ "Type" : " AWS::EC2::SubnetRouteTableAssociation" ,
31
+ "Properties" : {
32
+ "RouteTableId" : {
33
+ "Ref" : " SubnetWithIpv4RouteTable4BEFC5CB"
34
+ },
35
+ "SubnetId" : {
36
+ "Ref" : " SubnetWithIpv4Subnet6A3CF916"
37
+ }
38
+ }
39
+ },
40
+ "SubnetWithIpv6SubnetE6FB717A" : {
41
+ "Type" : " AWS::EC2::Subnet" ,
42
+ "Properties" : {
43
+ "AssignIpv6AddressOnCreation" : true ,
44
+ "AvailabilityZone" : " us-east-1a" ,
45
+ "CidrBlock" : " 10.0.1.0/24" ,
46
+ "Ipv6CidrBlock" : " 2001:db8::/64" ,
47
+ "Tags" : [
48
+ {
49
+ "Key" : " Name" ,
50
+ "Value" : " SubnetIpamTest/SubnetWithIpv6"
51
+ }
52
+ ],
53
+ "VpcId" : " vpc-12345"
54
+ }
55
+ },
56
+ "SubnetWithIpv6RouteTable8155E30C" : {
57
+ "Type" : " AWS::EC2::RouteTable" ,
58
+ "Properties" : {
59
+ "Tags" : [
60
+ {
61
+ "Key" : " Name" ,
62
+ "Value" : " SubnetIpamTest/SubnetWithIpv6"
63
+ }
64
+ ],
65
+ "VpcId" : " vpc-12345"
66
+ }
67
+ },
68
+ "SubnetWithIpv6RouteTableAssociation9AE66EB7" : {
69
+ "Type" : " AWS::EC2::SubnetRouteTableAssociation" ,
70
+ "Properties" : {
71
+ "RouteTableId" : {
72
+ "Ref" : " SubnetWithIpv6RouteTable8155E30C"
73
+ },
74
+ "SubnetId" : {
75
+ "Ref" : " SubnetWithIpv6SubnetE6FB717A"
76
+ }
77
+ }
78
+ },
79
+ "SubnetWithIpv4IpamAllocationSubnetE344B6F8" : {
80
+ "Type" : " AWS::EC2::Subnet" ,
81
+ "Properties" : {
82
+ "AvailabilityZone" : " us-east-1a" ,
83
+ "Tags" : [
84
+ {
85
+ "Key" : " Name" ,
86
+ "Value" : " SubnetIpamTest/SubnetWithIpv4IpamAllocation"
87
+ }
88
+ ],
89
+ "VpcId" : " vpc-12345"
90
+ }
91
+ },
92
+ "SubnetWithIpv4IpamAllocationRouteTable7BF0AC14" : {
93
+ "Type" : " AWS::EC2::RouteTable" ,
94
+ "Properties" : {
95
+ "Tags" : [
96
+ {
97
+ "Key" : " Name" ,
98
+ "Value" : " SubnetIpamTest/SubnetWithIpv4IpamAllocation"
99
+ }
100
+ ],
101
+ "VpcId" : " vpc-12345"
102
+ }
103
+ },
104
+ "SubnetWithIpv4IpamAllocationRouteTableAssociation52618172" : {
105
+ "Type" : " AWS::EC2::SubnetRouteTableAssociation" ,
106
+ "Properties" : {
107
+ "RouteTableId" : {
108
+ "Ref" : " SubnetWithIpv4IpamAllocationRouteTable7BF0AC14"
109
+ },
110
+ "SubnetId" : {
111
+ "Ref" : " SubnetWithIpv4IpamAllocationSubnetE344B6F8"
112
+ }
113
+ }
114
+ },
115
+ "SubnetWithIpv6IpamAllocationSubnetEBB3F93B" : {
116
+ "Type" : " AWS::EC2::Subnet" ,
117
+ "Properties" : {
118
+ "AssignIpv6AddressOnCreation" : true ,
119
+ "AvailabilityZone" : " us-east-1a" ,
120
+ "CidrBlock" : " 10.0.2.0/24" ,
121
+ "Tags" : [
122
+ {
123
+ "Key" : " Name" ,
124
+ "Value" : " SubnetIpamTest/SubnetWithIpv6IpamAllocation"
125
+ }
126
+ ],
127
+ "VpcId" : " vpc-12345"
128
+ }
129
+ },
130
+ "SubnetWithIpv6IpamAllocationRouteTable53B4DEF0" : {
131
+ "Type" : " AWS::EC2::RouteTable" ,
132
+ "Properties" : {
133
+ "Tags" : [
134
+ {
135
+ "Key" : " Name" ,
136
+ "Value" : " SubnetIpamTest/SubnetWithIpv6IpamAllocation"
137
+ }
138
+ ],
139
+ "VpcId" : " vpc-12345"
140
+ }
141
+ },
142
+ "SubnetWithIpv6IpamAllocationRouteTableAssociation7C60B249" : {
143
+ "Type" : " AWS::EC2::SubnetRouteTableAssociation" ,
144
+ "Properties" : {
145
+ "RouteTableId" : {
146
+ "Ref" : " SubnetWithIpv6IpamAllocationRouteTable53B4DEF0"
147
+ },
148
+ "SubnetId" : {
149
+ "Ref" : " SubnetWithIpv6IpamAllocationSubnetEBB3F93B"
150
+ }
151
+ }
152
+ },
153
+ "SubnetWithBothIpamAllocationsSubnetDE856C7E" : {
154
+ "Type" : " AWS::EC2::Subnet" ,
155
+ "Properties" : {
156
+ "AssignIpv6AddressOnCreation" : true ,
157
+ "AvailabilityZone" : " us-east-1a" ,
158
+ "Tags" : [
159
+ {
160
+ "Key" : " Name" ,
161
+ "Value" : " SubnetIpamTest/SubnetWithBothIpamAllocations"
162
+ }
163
+ ],
164
+ "VpcId" : " vpc-12345"
165
+ }
166
+ },
167
+ "SubnetWithBothIpamAllocationsRouteTable68A44080" : {
168
+ "Type" : " AWS::EC2::RouteTable" ,
169
+ "Properties" : {
170
+ "Tags" : [
171
+ {
172
+ "Key" : " Name" ,
173
+ "Value" : " SubnetIpamTest/SubnetWithBothIpamAllocations"
174
+ }
175
+ ],
176
+ "VpcId" : " vpc-12345"
177
+ }
178
+ },
179
+ "SubnetWithBothIpamAllocationsRouteTableAssociationA03EAF59" : {
180
+ "Type" : " AWS::EC2::SubnetRouteTableAssociation" ,
181
+ "Properties" : {
182
+ "RouteTableId" : {
183
+ "Ref" : " SubnetWithBothIpamAllocationsRouteTable68A44080"
184
+ },
185
+ "SubnetId" : {
186
+ "Ref" : " SubnetWithBothIpamAllocationsSubnetDE856C7E"
187
+ }
188
+ }
189
+ },
190
+ "SubnetWithIpamAllocationsWithoutNetmaskSubnetAA3B6850" : {
191
+ "Type" : " AWS::EC2::Subnet" ,
192
+ "Properties" : {
193
+ "AssignIpv6AddressOnCreation" : true ,
194
+ "AvailabilityZone" : " us-east-1a" ,
195
+ "Tags" : [
196
+ {
197
+ "Key" : " Name" ,
198
+ "Value" : " SubnetIpamTest/SubnetWithIpamAllocationsWithoutNetmask"
199
+ }
200
+ ],
201
+ "VpcId" : " vpc-12345"
202
+ }
203
+ },
204
+ "SubnetWithIpamAllocationsWithoutNetmaskRouteTable4408F490" : {
205
+ "Type" : " AWS::EC2::RouteTable" ,
206
+ "Properties" : {
207
+ "Tags" : [
208
+ {
209
+ "Key" : " Name" ,
210
+ "Value" : " SubnetIpamTest/SubnetWithIpamAllocationsWithoutNetmask"
211
+ }
212
+ ],
213
+ "VpcId" : " vpc-12345"
214
+ }
215
+ },
216
+ "SubnetWithIpamAllocationsWithoutNetmaskRouteTableAssociation765FABEA" : {
217
+ "Type" : " AWS::EC2::SubnetRouteTableAssociation" ,
218
+ "Properties" : {
219
+ "RouteTableId" : {
220
+ "Ref" : " SubnetWithIpamAllocationsWithoutNetmaskRouteTable4408F490"
221
+ },
222
+ "SubnetId" : {
223
+ "Ref" : " SubnetWithIpamAllocationsWithoutNetmaskSubnetAA3B6850"
224
+ }
225
+ }
226
+ }
227
+ },
228
+ "Parameters" : {
229
+ "BootstrapVersion" : {
230
+ "Type" : " AWS::SSM::Parameter::Value<String>" ,
231
+ "Default" : " /cdk-bootstrap/hnb659fds/version" ,
232
+ "Description" : " Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
233
+ }
234
+ },
235
+ "Rules" : {
236
+ "CheckBootstrapVersion" : {
237
+ "Assertions" : [
238
+ {
239
+ "Assert" : {
240
+ "Fn::Not" : [
241
+ {
242
+ "Fn::Contains" : [
243
+ [
244
+ " 1" ,
245
+ " 2" ,
246
+ " 3" ,
247
+ " 4" ,
248
+ " 5"
249
+ ],
250
+ {
251
+ "Ref" : " BootstrapVersion"
252
+ }
253
+ ]
254
+ }
255
+ ]
256
+ },
257
+ "AssertDescription" : " CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
258
+ }
259
+ ]
260
+ }
261
+ }
262
+ }
0 commit comments