Skip to content

SourceProps

Properties for defining a Source.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig"
&alicloudroscdkapig.SourceProps {
    GatewayId: interface{},
    K8SSourceConfig: interface{},
    NacosSourceConfig: interface{},
    ResourceGroupId: interface{},
    Type: interface{},
}

Properties

Name Type Description
GatewayId interface{} Property gatewayId: The gateway ID.
K8SSourceConfig interface{} Property k8SSourceConfig: The K8s source configuration.
NacosSourceConfig interface{} Property nacosSourceConfig: The Nacos source configuration.
ResourceGroupId interface{} Property resourceGroupId: The resource group ID.
Type interface{} Property type: The source type: - MSE_NACOS: MSE Nacos.

GatewayIdOptional

GatewayId interface{}
  • Type: interface{}

Property gatewayId: The gateway ID.


K8SSourceConfigOptional

K8SSourceConfig interface{}
  • Type: interface{}

Property k8SSourceConfig: The K8s source configuration.


NacosSourceConfigOptional

NacosSourceConfig interface{}
  • Type: interface{}

Property nacosSourceConfig: The Nacos source configuration.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The resource group ID.


TypeOptional

Type interface{}
  • Type: interface{}

Property type: The source type: - MSE_NACOS: MSE Nacos.

  • K8S: Container service.