AWS::ApiGateway::ResourceThe `AWS::ApiGateway::Resource` resource creates a resource in an API.
import { CfnResource } from 'aws-cdk-lib/aws-apigateway';Or use the module namespace:
import * as apigateway from 'aws-cdk-lib/aws-apigateway';
// apigateway.CfnResourceConfiguration passed to the constructor as CfnResourceProps.
parentIdRequiredstring | IResourceRefThe parent resource's identifier.
pathPartRequiredstringThe last path segment for this resource.
restApiIdRequiredstring | IRestApiRefThe string identifier of the associated RestApi.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon API Gateway on one page. HD quality, print-friendly.
Download Free Infographicaws-apigatewayAWS::ApiGateway::Resource