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. |
HttpApiName
Required
HttpApiName interface{}
- Type: interface{}
Property httpApiName: The name of the API.
Protocols
Required
Protocols interface{}
- Type: interface{}
Property protocols: List of API Access Protocols.
BasePath
Optional
BasePath interface{}
- Type: interface{}
Property basePath: The base path of the API should start with a \/.
Description
Optional
Description interface{}
- Type: interface{}
Property description: Description of API.
Type
Optional
Type interface{}
- Type: interface{}
Property type: The type of HTTP API, Valid values: * Http * Rest * WebSocket * HttpIngress.