Skip to content
v2.274.0

ResourceReference Struct ​

A reference to a Resource 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 resourceReference: interfaces_apigateway.ResourceReference = {
  resourceId: 'resourceId',
  restApiId: 'restApiId',
};

Properties ​

resourceIdstringresource_idstrresourceIdStringResourceIdstringResourceId*stringrequired#
The ResourceId of the Resource resource.
restApiIdstringrest_api_idstrrestApiIdStringRestApiIdstringRestApiId*stringrequired#
The RestApiId of the Resource resource.