CfnResourceProps Struct
Properties for defining a CfnResource.
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';
const cfnResourceProps: apigateway.CfnResourceProps = {
parentId: 'parentId',
pathPart: 'pathPart',
restApiId: 'restApiId',
};
Properties
parentIdstring | IResourceRefparent_idtyping.Union[str, IResourceRef]parentIdStringParentIdstringParentIdinterface{}required#The parent resource's identifier.
The last path segment for this resource.
restApiIdstring | IRestApiRefrest_api_idtyping.Union[str, IRestApiRef]restApiIdStringRestApiIdstringRestApiIdinterface{}required#The string identifier of the associated RestApi.