GatewayServiceProps
Properties for defining a GatewayService.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-gatewayservice
Initializer
import { GatewayServiceProps } from '@alicloud/ros-cdk-mse'
const gatewayServiceProps: GatewayServiceProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
gatewayUniqueId | string | @alicloud/ros-cdk-core.IResolvable | Property gatewayUniqueId: Unique identifier of the gateway. |
name | string | @alicloud/ros-cdk-core.IResolvable | Property name: Name of the service. |
sourceType | string | @alicloud/ros-cdk-core.IResolvable | Property sourceType: Type of service source. |
dnsServerList | @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] | Property dnsServerList: List of DNS servers. |
fcAlias | string | @alicloud/ros-cdk-core.IResolvable | Property fcAlias: Function Compute service alias. |
fcServiceName | string | @alicloud/ros-cdk-core.IResolvable | Property fcServiceName: Function Compute service name. |
fcVersion | string | @alicloud/ros-cdk-core.IResolvable | Property fcVersion: Function Compute service version. |
groupName | string | @alicloud/ros-cdk-core.IResolvable | Property groupName: Group name of the service. |
ips | @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] | Property ips: List of IPs. |
namespace | string | @alicloud/ros-cdk-core.IResolvable | Property namespace: Namespace of the service. |
saeAppId | string | @alicloud/ros-cdk-core.IResolvable | Property saeAppId: SAE application ID. |
servicePort | number | @alicloud/ros-cdk-core.IResolvable | Property servicePort: Port of the service. |
serviceProtocol | string | @alicloud/ros-cdk-core.IResolvable | Property serviceProtocol: Protocol of the service. |
sourceId | number | @alicloud/ros-cdk-core.IResolvable | Property sourceId: Source ID of the service. |
tlsSetting | @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} | Property tlsSetting: The TLS settings, specified as a JSON string. |
gatewayUniqueIdRequired
public readonly gatewayUniqueId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property gatewayUniqueId: Unique identifier of the gateway.
nameRequired
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property name: Name of the service.
sourceTypeRequired
public readonly sourceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property sourceType: Type of service source.
Valid values: - MSE: MSE-NACOS - K8s: ACK container service - VIP: Fixed address - DNS: DNS domain name - FC: Function Compute - EDAS: EDAS - MSE_ZK: MSE-Zookeeper - SAE: SAE
dnsServerListOptional
public readonly dnsServerList: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property dnsServerList: List of DNS servers.
fcAliasOptional
public readonly fcAlias: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property fcAlias: Function Compute service alias.
Used when SourceType is FC.
fcServiceNameOptional
public readonly fcServiceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property fcServiceName: Function Compute service name.
Required when SourceType is FC.
fcVersionOptional
public readonly fcVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property fcVersion: Function Compute service version.
Used when SourceType is FC.
groupNameOptional
public readonly groupName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property groupName: Group name of the service.
ipsOptional
public readonly ips: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property ips: List of IPs.
namespaceOptional
public readonly namespace: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property namespace: Namespace of the service.
saeAppIdOptional
public readonly saeAppId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property saeAppId: SAE application ID.
servicePortOptional
public readonly servicePort: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property servicePort: Port of the service.
serviceProtocolOptional
public readonly serviceProtocol: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property serviceProtocol: Protocol of the service.
sourceIdOptional
public readonly sourceId: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property sourceId: Source ID of the service.
Used when specifying a source to add services.
tlsSettingOptional
public readonly tlsSetting: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property tlsSetting: The TLS settings, specified as a JSON string.
The following fields are supported: - mode: The TLS mode. - certId: The certificate ID. - caCertId: The CA certificate ID. - caCertContent: The public key of the CA certificate. - sni: The Server Name Indication (SNI).