RestApiAttributes

class aws_cdk.aws_apigateway.RestApiAttributes(*, rest_api_id, root_resource_id)

Bases: object

__init__(*, rest_api_id, root_resource_id)

Attributes that can be specified when importing a RestApi.

Parameters
  • rest_api_id (str) – The ID of the API Gateway RestApi.

  • root_resource_id (str) – The resource ID of the root resource.

Return type

None

Attributes

rest_api_id

The ID of the API Gateway RestApi.

Return type

str

root_resource_id

The resource ID of the root resource.

Return type

str