Class: Resource

ApiGateway.Resource

new Resource()

Properties:
Name Type Description
ParentId String Required: Yes. If you want to create a child resource, the ID of the parent resource. For resources without a parent, specify the RestApi root resource ID, such as { "Fn::GetAtt": ["MyRestApi", "RootResourceId"] }.Update requires: Replacement
PathPart String Required: Yes. A path name for the resource.Update requires: Replacement
RestApiId String Required: Yes. The ID of the RestApi resource in which you want to create this resource.Update requires: Replacement
Source:

Extends

  • WKResource

ApiGateway.Resource

new Resource()

Properties:
Name Type Description
ParentId String Required: Yes. If you want to create a child resource, the ID of the parent resource. For resources without a parent, specify the RestApi root resource ID, such as { "Fn::GetAtt": ["MyRestApi", "RootResourceId"] }.Update requires: Replacement
PathPart String Required: Yes. A path name for the resource.Update requires: Replacement
RestApiId String Required: Yes. The ID of the RestApi resource in which you want to create this resource.Update requires: Replacement
Source:

Extends

  • WKResource