ApiAttachmentProps
Properties for defining a ApiAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-apiattachment
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig"
&alicloudroscdkapig.ApiAttachmentProps {
BackendScene: interface{},
EnvironmentId: interface{},
HttpApiId: interface{},
ServiceConfigs: interface{},
Description: interface{},
DomainIds: interface{},
RouteId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
BackendScene |
interface{} |
Property backendScene: API release scenario. |
EnvironmentId |
interface{} |
Property environmentId: The ID of the environment to which the API is to deploy. |
HttpApiId |
interface{} |
Property httpApiId: The ID of the HTTP API. |
ServiceConfigs |
interface{} |
Property serviceConfigs: Services associated with API publishing and their configurations. |
Description |
interface{} |
Property description: The description of publication. |
DomainIds |
interface{} |
Property domainIds: The list of user domain names associated with API publishing. |
RouteId |
interface{} |
Property routeId: The route ID. |
BackendScene
Required
BackendScene interface{}
- Type: interface{}
Property backendScene: API release scenario.
EnvironmentId
Required
EnvironmentId interface{}
- Type: interface{}
Property environmentId: The ID of the environment to which the API is to deploy.
HttpApiId
Required
HttpApiId interface{}
- Type: interface{}
Property httpApiId: The ID of the HTTP API.
ServiceConfigs
Required
ServiceConfigs interface{}
- Type: interface{}
Property serviceConfigs: Services associated with API publishing and their configurations.
Description
Optional
Description interface{}
- Type: interface{}
Property description: The description of publication.
DomainIds
Optional
DomainIds interface{}
- Type: interface{}
Property domainIds: The list of user domain names associated with API publishing.
RouteId
Optional
RouteId interface{}
- Type: interface{}
Property routeId: The route ID.
When publishing an HTTP API route, it must be passed in.