Skip to content
v2.274.0

RestApiReference Struct ​

A reference to a RestApi resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as interfaces_apigateway } from 'aws-cdk-lib/interfaces';
const restApiReference: interfaces_apigateway.RestApiReference = {
  restApiId: 'restApiId',
};

Properties ​

restApiIdstringrest_api_idstrrestApiIdStringRestApiIdstringRestApiId*stringrequired#
The RestApiId of the RestApi resource.