|
99 | 99 | }, |
100 | 100 | "Type": "AWS::ApiGateway::Stage" |
101 | 101 | }, |
| 102 | + "MyApiWithoutNormalizedBasePath": { |
| 103 | + "Properties": { |
| 104 | + "Body": { |
| 105 | + "info": { |
| 106 | + "title": { |
| 107 | + "Ref": "AWS::StackName" |
| 108 | + }, |
| 109 | + "version": "1.0" |
| 110 | + }, |
| 111 | + "openapi": "3.0.1", |
| 112 | + "paths": {} |
| 113 | + } |
| 114 | + }, |
| 115 | + "Type": "AWS::ApiGateway::RestApi" |
| 116 | + }, |
| 117 | + "MyApiWithoutNormalizedBasePathDeployment11d19722bb": { |
| 118 | + "Properties": { |
| 119 | + "Description": "RestApi deployment id: 11d19722bb8994eaba07f229ab985f06d30c42d6", |
| 120 | + "RestApiId": { |
| 121 | + "Ref": "MyApiWithoutNormalizedBasePath" |
| 122 | + } |
| 123 | + }, |
| 124 | + "Type": "AWS::ApiGateway::Deployment" |
| 125 | + }, |
| 126 | + "MyApiWithoutNormalizedBasePathProdStage": { |
| 127 | + "Properties": { |
| 128 | + "DeploymentId": { |
| 129 | + "Ref": "MyApiWithoutNormalizedBasePathDeployment11d19722bb" |
| 130 | + }, |
| 131 | + "RestApiId": { |
| 132 | + "Ref": "MyApiWithoutNormalizedBasePath" |
| 133 | + }, |
| 134 | + "StageName": "Prod" |
| 135 | + }, |
| 136 | + "Type": "AWS::ApiGateway::Stage" |
| 137 | + }, |
| 138 | + "MyApiWithoutNormalizedBasePathWithHyphen": { |
| 139 | + "Properties": { |
| 140 | + "Body": { |
| 141 | + "info": { |
| 142 | + "title": { |
| 143 | + "Ref": "AWS::StackName" |
| 144 | + }, |
| 145 | + "version": "1.0" |
| 146 | + }, |
| 147 | + "openapi": "3.0.1", |
| 148 | + "paths": {} |
| 149 | + } |
| 150 | + }, |
| 151 | + "Type": "AWS::ApiGateway::RestApi" |
| 152 | + }, |
| 153 | + "MyApiWithoutNormalizedBasePathWithHyphenDeployment43b3fbff50": { |
| 154 | + "Properties": { |
| 155 | + "Description": "RestApi deployment id: 43b3fbff506a380a3dd89acf64bd0731b1819dd8", |
| 156 | + "RestApiId": { |
| 157 | + "Ref": "MyApiWithoutNormalizedBasePathWithHyphen" |
| 158 | + } |
| 159 | + }, |
| 160 | + "Type": "AWS::ApiGateway::Deployment" |
| 161 | + }, |
| 162 | + "MyApiWithoutNormalizedBasePathWithHyphenProdStage": { |
| 163 | + "Properties": { |
| 164 | + "DeploymentId": { |
| 165 | + "Ref": "MyApiWithoutNormalizedBasePathWithHyphenDeployment43b3fbff50" |
| 166 | + }, |
| 167 | + "RestApiId": { |
| 168 | + "Ref": "MyApiWithoutNormalizedBasePathWithHyphen" |
| 169 | + }, |
| 170 | + "StageName": "Prod" |
| 171 | + }, |
| 172 | + "Type": "AWS::ApiGateway::Stage" |
| 173 | + }, |
| 174 | + "MyApiWithoutNormalizedBasePathWithHyphenfootooBasePathMapping": { |
| 175 | + "Properties": { |
| 176 | + "BasePath": "/foo-too", |
| 177 | + "DomainName": { |
| 178 | + "Ref": "ApiGatewayDomainName67a385f467" |
| 179 | + }, |
| 180 | + "RestApiId": { |
| 181 | + "Ref": "MyApiWithoutNormalizedBasePathWithHyphen" |
| 182 | + }, |
| 183 | + "Stage": { |
| 184 | + "Ref": "MyApiWithoutNormalizedBasePathWithHyphenProdStage" |
| 185 | + } |
| 186 | + }, |
| 187 | + "Type": "AWS::ApiGateway::BasePathMapping" |
| 188 | + }, |
| 189 | + "MyApiWithoutNormalizedBasePathfoobarBasePathMapping": { |
| 190 | + "Properties": { |
| 191 | + "BasePath": "foo-bar", |
| 192 | + "DomainName": { |
| 193 | + "Ref": "ApiGatewayDomainName67a385f467" |
| 194 | + }, |
| 195 | + "RestApiId": { |
| 196 | + "Ref": "MyApiWithoutNormalizedBasePath" |
| 197 | + }, |
| 198 | + "Stage": { |
| 199 | + "Ref": "MyApiWithoutNormalizedBasePathProdStage" |
| 200 | + } |
| 201 | + }, |
| 202 | + "Type": "AWS::ApiGateway::BasePathMapping" |
| 203 | + }, |
102 | 204 | "MyApifootooBasePathMapping": { |
103 | 205 | "Properties": { |
104 | 206 | "BasePath": "footoo", |
|
120 | 222 | "Ref": "HostedZoneId" |
121 | 223 | }, |
122 | 224 | "RecordSets": [ |
| 225 | + { |
| 226 | + "AliasTarget": { |
| 227 | + "DNSName": { |
| 228 | + "Fn::GetAtt": [ |
| 229 | + "ApiGatewayDomainName67a385f467", |
| 230 | + "DistributionDomainName" |
| 231 | + ] |
| 232 | + }, |
| 233 | + "HostedZoneId": "Z2FDTNDATAQYW2" |
| 234 | + }, |
| 235 | + "Name": "MyEdgeDomainName", |
| 236 | + "Type": "A" |
| 237 | + }, |
| 238 | + { |
| 239 | + "AliasTarget": { |
| 240 | + "DNSName": { |
| 241 | + "Fn::GetAtt": [ |
| 242 | + "ApiGatewayDomainName67a385f467", |
| 243 | + "DistributionDomainName" |
| 244 | + ] |
| 245 | + }, |
| 246 | + "HostedZoneId": "Z2FDTNDATAQYW2" |
| 247 | + }, |
| 248 | + "Name": "MyEdgeDomainName", |
| 249 | + "Type": "AAAA" |
| 250 | + }, |
| 251 | + { |
| 252 | + "AliasTarget": { |
| 253 | + "DNSName": { |
| 254 | + "Fn::GetAtt": [ |
| 255 | + "ApiGatewayDomainName67a385f467", |
| 256 | + "DistributionDomainName" |
| 257 | + ] |
| 258 | + }, |
| 259 | + "HostedZoneId": "Z2FDTNDATAQYW2" |
| 260 | + }, |
| 261 | + "Name": "MyEdgeDomainName", |
| 262 | + "Type": "A" |
| 263 | + }, |
| 264 | + { |
| 265 | + "AliasTarget": { |
| 266 | + "DNSName": { |
| 267 | + "Fn::GetAtt": [ |
| 268 | + "ApiGatewayDomainName67a385f467", |
| 269 | + "DistributionDomainName" |
| 270 | + ] |
| 271 | + }, |
| 272 | + "HostedZoneId": "Z2FDTNDATAQYW2" |
| 273 | + }, |
| 274 | + "Name": "MyEdgeDomainName", |
| 275 | + "Type": "AAAA" |
| 276 | + }, |
123 | 277 | { |
124 | 278 | "AliasTarget": { |
125 | 279 | "DNSName": { |
|
0 commit comments