|
59 | 59 | - EVENTBRIDGE_RULE |
60 | 60 | - HTTP_ENDPOINT |
61 | 61 | - OTHER |
62 | | -# Resource Relationship Modeling |
| 62 | +# Supporting Types |
63 | 63 | ResourceReference: |
64 | 64 | properties: |
65 | 65 | arn: optional<string> |
|
69 | 69 | region: optional<string> |
70 | 70 | name: optional<string> |
71 | 71 | description: optional<string> |
72 | | -# API Gateway Structs |
73 | 72 | AwsProxyIntegration: |
74 | 73 | properties: |
75 | 74 | arn: string |
@@ -153,60 +152,61 @@ types: |
153 | 152 | tlsVersions: list<SecurityPolicy> |
154 | 153 | corsConfigured: boolean |
155 | 154 | apiKeysRequired: boolean |
156 | | - ApiGatewayBase: |
| 155 | +# API Gateway High level structs |
| 156 | + ApiGatewayIdentificationInfo: |
157 | 157 | properties: |
158 | | - version: ApiGatewayVersion |
159 | | - # Common properties |
160 | | - region: string |
161 | 158 | id: string |
162 | 159 | name: optional<string> |
163 | | - createdTime: optional<datetime> |
| 160 | + region: string |
| 161 | + ApiGatewayConfigurationInfo: |
| 162 | + properties: |
| 163 | + version: ApiGatewayVersion |
164 | 164 | description: optional<string> |
165 | | - # Security properties (common) |
| 165 | + createdTime: optional<datetime> |
166 | 166 | endpointConfiguration: optional<EndpointType> |
| 167 | + executionRoleArn: optional<string> |
| 168 | + # V1 (REST API) specific configuration |
| 169 | + baseUrl: optional<string> |
| 170 | + apiKeySource: optional<string> |
| 171 | + stage: optional<string> |
| 172 | + clientCertificateId: optional<string> |
| 173 | + minimumCompressionSize: optional<integer> |
| 174 | + # V2 (HTTP API) specific configuration |
| 175 | + apiEndpoint: optional<string> |
| 176 | + protocolType: optional<string> |
| 177 | + disableExecuteApiEndpoint: optional<boolean> |
| 178 | + ApiGatewayResourceInfo: |
| 179 | + properties: |
167 | 180 | certificates: optional<list<Certificate>> |
168 | 181 | accessLogSettings: optional<AccessLogSettings> |
169 | | - executionRoleArn: optional<string> |
| 182 | + # V1 (REST API) specific resources |
| 183 | + paths: optional<list<Route>> |
| 184 | + apiKeys: optional<list<string>> |
| 185 | + usagePlans: optional<list<string>> |
| 186 | + # V2 (HTTP API) specific resources |
| 187 | + routes: optional<list<Route>> |
| 188 | + corsConfiguration: optional<CorsConfiguration> |
| 189 | + mutualTlsAuthentication: optional<MutualTlsAuthentication> |
| 190 | + authorizers: optional<list<Authorizer>> |
170 | 191 | # Resource relationships |
171 | 192 | relatedResources: optional<list<ResourceReference>> |
172 | 193 | lambdaFunctions: optional<list<ResourceReference>> |
173 | 194 | cloudwatchLogs: optional<list<ResourceReference>> |
174 | 195 | iamRoles: optional<list<ResourceReference>> |
175 | 196 | # Security analysis |
176 | 197 | securityAnalysis: optional<ApiGatewaySecurity> |
177 | | - RestApiGateway: |
178 | | - extends: ApiGatewayBase |
| 198 | +# Main API Gateway structs |
| 199 | + ApiGatewayInstance: |
179 | 200 | properties: |
180 | | - # V1 (REST API) specific properties |
181 | | - baseUrl: string |
182 | | - apiKeySource: optional<string> |
183 | | - stage: string |
184 | | - paths: optional<list<Route>> |
185 | | - apiKeys: optional<list<string>> |
186 | | - usagePlans: optional<list<string>> |
187 | | - clientCertificateId: optional<string> |
188 | | - minimumCompressionSize: optional<integer> |
189 | | - HttpApiGateway: |
190 | | - extends: ApiGatewayBase |
191 | | - properties: |
192 | | - # V2 (HTTP API) specific properties |
193 | | - apiEndpoint: string |
194 | | - protocolType: string |
195 | | - routes: optional<list<Route>> |
196 | | - corsConfiguration: optional<CorsConfiguration> |
197 | | - disableExecuteApiEndpoint: optional<boolean> |
198 | | - mutualTlsAuthentication: optional<MutualTlsAuthentication> |
199 | | - authorizers: optional<list<Authorizer>> |
200 | | - ApiGateway: |
201 | | - union: |
202 | | - rest: RestApiGateway |
203 | | - http: HttpApiGateway |
204 | | - ApiGatewayResult: |
| 201 | + identification: ApiGatewayIdentificationInfo |
| 202 | + configuration: ApiGatewayConfigurationInfo |
| 203 | + resources: optional<ApiGatewayResourceInfo> |
| 204 | + ApiGatewayEnumerateResult: |
205 | 205 | properties: |
206 | | - apis: optional<list<ApiGateway>> |
| 206 | + apis: optional<list<ApiGatewayInstance>> |
207 | 207 | # Report Struct |
208 | 208 | ApiGatewayEnumerateReport: |
209 | 209 | properties: |
| 210 | + result: ApiGatewayEnumerateResult |
210 | 211 | config: ApiGatewayEnumerateConfig |
211 | | - result: ApiGatewayResult |
212 | 212 | errors: optional<list<string>> |
0 commit comments