ApiAttachmentProps
Properties for defining a ApiAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-apiattachment
Initializer
import { ApiAttachmentProps } from '@alicloud/ros-cdk-apig'
const apiAttachmentProps: ApiAttachmentProps = { ... }
Properties
Name | Type | Description |
---|---|---|
backendScene |
string | @alicloud/ros-cdk-core.IResolvable |
Property backendScene: API release scenario. |
environmentId |
string | @alicloud/ros-cdk-core.IResolvable |
Property environmentId: The ID of the environment to which the API is to deploy. |
httpApiId |
string | @alicloud/ros-cdk-core.IResolvable |
Property httpApiId: The ID of the HTTP API. |
serviceConfigs |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ServiceConfigsProperty[] |
Property serviceConfigs: Services associated with API publishing and their configurations. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: The description of publication. |
domainIds |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property domainIds: The list of user domain names associated with API publishing. |
routeId |
string | @alicloud/ros-cdk-core.IResolvable |
Property routeId: The route ID. |
backendScene
Required
public readonly backendScene: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property backendScene: API release scenario.
environmentId
Required
public readonly environmentId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property environmentId: The ID of the environment to which the API is to deploy.
httpApiId
Required
public readonly httpApiId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property httpApiId: The ID of the HTTP API.
serviceConfigs
Required
public readonly serviceConfigs: IResolvable | IResolvable | ServiceConfigsProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ServiceConfigsProperty[]
Property serviceConfigs: Services associated with API publishing and their configurations.
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of publication.
domainIds
Optional
public readonly domainIds: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property domainIds: The list of user domain names associated with API publishing.
routeId
Optional
public readonly routeId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property routeId: The route ID.
When publishing an HTTP API route, it must be passed in.