Skip to content

SlbBindingProps

Properties for defining a SlbBinding.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-slbbinding

Initializer

import com.aliyun.ros.cdk.sae.SlbBindingProps;
SlbBindingProps.builder()
    .appId(java.lang.String)
    .appId(IResolvable)
//  .internet(java.lang.String)
//  .internet(IResolvable)
//  .internetSlbId(java.lang.String)
//  .internetSlbId(IResolvable)
//  .intranet(java.lang.String)
//  .intranet(IResolvable)
//  .intranetSlbId(java.lang.String)
//  .intranetSlbId(IResolvable)
    .build();

Properties

Name Type Description
appId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appId: Successful application deployment target ID.
internet java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property internet: Binding public SLB.
internetSlbId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property internetSlbId: Use SLB purchased specified, currently only supports non-shared examples.
intranet java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property intranet: Bind private SLB.
intranetSlbId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property intranetSlbId: Use SLB purchased specified, currently only supports non-shared examples.

appIdRequired

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

Property appId: Successful application deployment target ID.


internetOptional

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

Property internet: Binding public SLB.

For example: [{ "port": 80, "targetPort": 8080, "protocol": "TCP"}], shows a container port 8080 through port 80 slb exposed service, the protocol is TCP, the blank is ignored.


internetSlbIdOptional

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

Property internetSlbId: Use SLB purchased specified, currently only supports non-shared examples.


intranetOptional

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

Property intranet: Bind private SLB.

For example: [{ "port": 80, "targetPort": 8080, "protocol": "TCP"}], shows a container port 8080 through port 80 slb exposed service, the protocol is TCP, the blank is ignored.


intranetSlbIdOptional

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

Property intranetSlbId: Use SLB purchased specified, currently only supports non-shared examples.