interface CfnResourceProps
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.APIGateway.CfnResourceProps | 
  Java | software.amazon.awscdk.services.apigateway.CfnResourceProps | 
  Python | aws_cdk.aws_apigateway.CfnResourceProps | 
  TypeScript  | @aws-cdk/aws-apigateway » CfnResourceProps | 
Properties for defining a CfnResource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apigateway from '@aws-cdk/aws-apigateway';
const cfnResourceProps: apigateway.CfnResourceProps = {
  parentId: 'parentId',
  pathPart: 'pathPart',
  restApiId: 'restApiId',
};
Properties
| Name | Type | Description | 
|---|---|---|
| parent | string | The parent resource's identifier. | 
| path | string | The last path segment for this resource. | 
| rest | string | The string identifier of the associated RestApi. | 
parentId
Type:
string
The parent resource's identifier.
pathPart
Type:
string
The last path segment for this resource.
restApiId
Type:
string
The string identifier of the associated RestApi.

 .NET
 Java
 Python
 TypeScript