Skip to content

ApiAttachmentProps

Properties for defining a ApiAttachment.

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

Initializer

import com.aliyun.ros.cdk.apig.ApiAttachmentProps;
ApiAttachmentProps.builder()
    .httpApiId(java.lang.String)
    .httpApiId(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .domainIds(IResolvable)
//  .domainIds(java.util.List<java.lang.String)
//  .domainIds(IResolvable>)
//  .routeId(java.lang.String)
//  .routeId(IResolvable)
    .build();

Properties

Name Type Description
httpApiId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property httpApiId: The ID of the HTTP API.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of publication.
domainIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property domainIds: The list of user domain names associated with API publishing.
routeId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routeId: The route ID.

httpApiIdRequired

public java.lang.Object getHttpApiId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property httpApiId: The ID of the HTTP API.


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of publication.


domainIdsOptional

public java.lang.Object getDomainIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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


routeIdOptional

public java.lang.Object getRouteId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property routeId: The route ID.

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