interface CfnResourceProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.APIGateway.CfnResourceProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#CfnResourceProps |
Java | software.amazon.awscdk.services.apigateway.CfnResourceProps |
Python | aws_cdk.aws_apigateway.CfnResourceProps |
TypeScript | aws-cdk-lib » aws_apigateway » CfnResourceProps |
Properties for defining a CfnResource
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html
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
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.