ResourceAttributes Struct
Attributes that can be specified when importing a 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 apigateway } from 'aws-cdk-lib';
declare const restApi: apigateway.RestApi;
const resourceAttributes: apigateway.ResourceAttributes = {
path: 'path',
resourceId: 'resourceId',
restApi: restApi,
};
Properties
The full path of this resource.
The ID of the resource.