Skip to content

IServiceSource

Represents a ServiceSource.

Properties

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

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node for this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/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 readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


attrAddressRequired

public readonly attrAddress: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Address: Registration Address.

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


attrGatewayUniqueIdRequired

public readonly attrGatewayUniqueId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute GatewayUniqueId: The unique ID of the gateway.


attrIdRequired

public readonly attrId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Id: The ID of service source.


attrNameRequired

public readonly attrName: string | IResolvable;
  • Type: string | @alicloud/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 readonly props: ServiceSourceProps;