ResourceAttributes
- class aws_cdk.aws_apigateway.ResourceAttributes(*, path, resource_id, rest_api)
- Bases: - object- Attributes that can be specified when importing a Resource. - Parameters:
- path ( - str) – The full path of this resource.
- resource_id ( - str) – The ID of the resource.
- rest_api ( - IRestApi) – The rest API that this resource is part of.
 
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_apigateway as apigateway # rest_api: apigateway.RestApi resource_attributes = apigateway.ResourceAttributes( path="path", resource_id="resourceId", rest_api=rest_api ) - Attributes - path
- The full path of this resource. 
 - resource_id
- The ID of the resource. 
 - rest_api
- The rest API that this resource is part of.