SourceProps
Properties for defining a Source.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-source
Initializer
import { SourceProps } from '@alicloud/ros-cdk-apig'
const sourceProps: SourceProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
gatewayId | string | @alicloud/ros-cdk-core.IResolvable | Property gatewayId: The gateway ID. |
k8SSourceConfig | @alicloud/ros-cdk-core.IResolvable | K8sSourceConfigProperty | Property k8SSourceConfig: The K8s source configuration. |
nacosSourceConfig | @alicloud/ros-cdk-core.IResolvable | NacosSourceConfigProperty | Property nacosSourceConfig: The Nacos source configuration. |
resourceGroupId | string | @alicloud/ros-cdk-core.IResolvable | Property resourceGroupId: The resource group ID. |
type | string | @alicloud/ros-cdk-core.IResolvable | Property type: The source type: - MSE_NACOS: MSE Nacos. |
gatewayIdOptional
public readonly gatewayId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property gatewayId: The gateway ID.
k8SSourceConfigOptional
public readonly k8SSourceConfig: IResolvable | K8sSourceConfigProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | K8sSourceConfigProperty
Property k8SSourceConfig: The K8s source configuration.
nacosSourceConfigOptional
public readonly nacosSourceConfig: IResolvable | NacosSourceConfigProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | NacosSourceConfigProperty
Property nacosSourceConfig: The Nacos source configuration.
resourceGroupIdOptional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The resource group ID.
typeOptional
public readonly type: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property type: The source type: - MSE_NACOS: MSE Nacos.
K8S: Container service.