Skip to content

HttpApiProps

Properties for defining a HttpApi.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-httpapi

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig"
&alicloudroscdkapig.HttpApiProps {
    HttpApiName: interface{},
    Protocols: interface{},
    BasePath: interface{},
    Description: interface{},
    Type: interface{},
}

Properties

Name Type Description
HttpApiName interface{} Property httpApiName: The name of the API.
Protocols interface{} Property protocols: List of API Access Protocols.
BasePath interface{} Property basePath: The base path of the API should start with a \/.
Description interface{} Property description: Description of API.
Type interface{} Property type: The type of HTTP API, Valid values: * Http * Rest * WebSocket * HttpIngress.

HttpApiNameRequired

HttpApiName interface{}
  • Type: interface{}

Property httpApiName: The name of the API.


ProtocolsRequired

Protocols interface{}
  • Type: interface{}

Property protocols: List of API Access Protocols.


BasePathOptional

BasePath interface{}
  • Type: interface{}

Property basePath: The base path of the API should start with a \/.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: Description of API.


TypeOptional

Type interface{}
  • Type: interface{}

Property type: The type of HTTP API, Valid values: * Http * Rest * WebSocket * HttpIngress.