Skip to content

ApiAttachmentProps

Properties for defining a ApiAttachment.

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

Initializer

import ros_cdk_apig
ros_cdk_apig.ApiAttachmentProps(
  http_api_id: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  domain_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  route_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
http_api_id typing.Union[str, ros_cdk_core.IResolvable] Property httpApiId: The ID of the HTTP API.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of publication.
domain_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property domainIds: The list of user domain names associated with API publishing.
route_id typing.Union[str, ros_cdk_core.IResolvable] Property routeId: The route ID.

http_api_idRequired

http_api_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property httpApiId: The ID of the HTTP API.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description of publication.


domain_idsOptional

domain_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

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


route_idOptional

route_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property routeId: The route ID.

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