Skip to content

IServiceSource

Represents a ServiceSource.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrAddress java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Address: Registration Address.
attrGatewayUniqueId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute GatewayUniqueId: The unique ID of the gateway.
attrId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Id: The ID of service source.
attrName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Name: The name.
props ServiceSourceProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrAddressRequired

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

Attribute Address: Registration Address.

If not specified, it will be automatically generated based on the selected instance.


attrGatewayUniqueIdRequired

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

Attribute GatewayUniqueId: The unique ID of the gateway.


attrIdRequired

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

Attribute Id: The ID of service source.


attrNameRequired

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

Attribute Name: The name.

If Type is set to K8S, this parameter specifies the name of the ACK cluster. If Type is set to NACOS, this parameter specifies the ID of the Nacos instance.


propsRequired

public ServiceSourceProps getProps();