aws-cdk-lib.aws_apigateway.CfnResourceProps

interface CfnResourceProps

LanguageType name
.NETAmazon.CDK.AWS.APIGateway.CfnResourceProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#CfnResourceProps
Javasoftware.amazon.awscdk.services.apigateway.CfnResourceProps
Pythonaws_cdk.aws_apigateway.CfnResourceProps
TypeScript aws-cdk-lib » 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 { aws_apigateway as apigateway } from 'aws-cdk-lib';
const cfnResourceProps: apigateway.CfnResourceProps = {
  parentId: 'parentId',
  pathPart: 'pathPart',
  restApiId: 'restApiId',
};

Properties

NameTypeDescription
parentIdstringThe parent resource's identifier.
pathPartstringThe last path segment for this resource.
restApiIdstringThe 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.