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.

Attributes

path

The full path of this resource.

Return type

str

resource_id

The ID of the resource.

Return type

str

rest_api

The rest API that this resource is part of.

Return type

IRestApi