Skip to content

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.

BackendSceneRequired

BackendScene interface{}
  • Type: interface{}

Property backendScene: API release scenario.


EnvironmentIdRequired

EnvironmentId interface{}
  • Type: interface{}

Property environmentId: The ID of the environment to which the API is to deploy.


HttpApiIdRequired

HttpApiId interface{}
  • Type: interface{}

Property httpApiId: The ID of the HTTP API.


ServiceConfigsRequired

ServiceConfigs interface{}
  • Type: interface{}

Property serviceConfigs: Services associated with API publishing and their configurations.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of publication.


DomainIdsOptional

DomainIds interface{}
  • Type: interface{}

Property domainIds: The list of user domain names associated with API publishing.


RouteIdOptional

RouteId interface{}
  • Type: interface{}

Property routeId: The route ID.

When publishing an HTTP API route, it must be passed in.