Skip to content

IService

  • Extends: @alicloud/ros-cdk-core.IResource

  • Implemented By: @alicloud/ros-cdk-apig.datasource.Service, @alicloud/ros-cdk-apig.datasource.IService

Represents a Service.

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.
attrAddresses string | @alicloud/ros-cdk-core.IResolvable Attribute Addresses: A list of domain names or fixed addresses.
attrAiServiceConfig string | @alicloud/ros-cdk-core.IResolvable Attribute AiServiceConfig: AI service configuration when sourceType equals AI.
attrGatewayId string | @alicloud/ros-cdk-core.IResolvable Attribute GatewayId: The ID of the Cloud Native API Gateway.
attrGroupName string | @alicloud/ros-cdk-core.IResolvable Attribute GroupName: The service group name.
attrNamespace string | @alicloud/ros-cdk-core.IResolvable Attribute Namespace: The namespace of the service:.
attrQualifier string | @alicloud/ros-cdk-core.IResolvable Attribute Qualifier: The function version or alias.
attrResourceGroupId string | @alicloud/ros-cdk-core.IResolvable Attribute ResourceGroupId: The ID of the resource group.
attrServiceId string | @alicloud/ros-cdk-core.IResolvable Attribute ServiceId: The ID of the service.
attrServiceName string | @alicloud/ros-cdk-core.IResolvable Attribute ServiceName: The name of the Service, need to fill in manually when sourceType is VIP/DNS/AI.
attrSourceType string | @alicloud/ros-cdk-core.IResolvable Attribute SourceType: The type of the service source, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI.
props ServiceProps 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.


attrAddressesRequired

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

Attribute Addresses: A list of domain names or fixed addresses.


attrAiServiceConfigRequired

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

Attribute AiServiceConfig: AI service configuration when sourceType equals AI.


attrGatewayIdRequired

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

Attribute GatewayId: The ID of the Cloud Native API Gateway.


attrGroupNameRequired

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

Attribute GroupName: The service group name.


attrNamespaceRequired

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

Attribute Namespace: The namespace of the service:.


attrQualifierRequired

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

Attribute Qualifier: The function version or alias.


attrResourceGroupIdRequired

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

Attribute ResourceGroupId: The ID of the resource group.


attrServiceIdRequired

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

Attribute ServiceId: The ID of the service.


attrServiceNameRequired

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

Attribute ServiceName: The name of the Service, need to fill in manually when sourceType is VIP/DNS/AI.


attrSourceTypeRequired

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

Attribute SourceType: The type of the service source, optional value is K8S/MSE_NACOS/FC3/SAE_K8S_SERVICE/VIP/DNS/AI.


propsRequired

public readonly props: ServiceProps;