interface ResourceAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.APIGateway.ResourceAttributes |
Java | software.amazon.awscdk.services.apigateway.ResourceAttributes |
Python | aws_cdk.aws_apigateway.ResourceAttributes |
TypeScript (source) | @aws-cdk/aws-apigateway » ResourceAttributes |
Attributes that can be specified when importing a Resource.
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';
declare const restApi: apigateway.RestApi;
const resourceAttributes: apigateway.ResourceAttributes = {
path: 'path',
resourceId: 'resourceId',
restApi: restApi,
};
Properties
Name | Type | Description |
---|---|---|
path | string | The full path of this resource. |
resource | string | The ID of the resource. |
rest | IRest | The rest API that this resource is part of. |
path
Type:
string
The full path of this resource.
resourceId
Type:
string
The ID of the resource.
restApi
Type:
IRest
The rest API that this resource is part of.