IService
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: com.aliyun.ros.cdk.apig.datasource.Service, com.aliyun.ros.cdk.apig.datasource.IService
Represents a Service.
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. |
attrAddresses | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Addresses: A list of domain names or fixed addresses. |
attrAiServiceConfig | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute AiServiceConfig: AI service configuration when sourceType equals AI. |
attrGatewayId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute GatewayId: The ID of the Cloud Native API Gateway. |
attrGroupName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute GroupName: The service group name. |
attrNamespace | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Namespace: The namespace of the service:. |
attrQualifier | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Qualifier: The function version or alias. |
attrResourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ResourceGroupId: The ID of the resource group. |
attrServiceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ServiceId: The ID of the service. |
attrServiceName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ServiceName: The name of the Service, need to fill in manually when sourceType is VIP/DNS/AI. |
attrSourceType | java.lang.String OR com.aliyun.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 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.
attrAddressesRequired
public java.lang.Object getAttrAddresses();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Addresses: A list of domain names or fixed addresses.
attrAiServiceConfigRequired
public java.lang.Object getAttrAiServiceConfig();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute AiServiceConfig: AI service configuration when sourceType equals AI.
attrGatewayIdRequired
public java.lang.Object getAttrGatewayId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute GatewayId: The ID of the Cloud Native API Gateway.
attrGroupNameRequired
public java.lang.Object getAttrGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute GroupName: The service group name.
attrNamespaceRequired
public java.lang.Object getAttrNamespace();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Namespace: The namespace of the service:.
attrQualifierRequired
public java.lang.Object getAttrQualifier();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Qualifier: The function version or alias.
attrResourceGroupIdRequired
public java.lang.Object getAttrResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
attrServiceIdRequired
public java.lang.Object getAttrServiceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ServiceId: The ID of the service.
attrServiceNameRequired
public java.lang.Object getAttrServiceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ServiceName: The name of the Service, need to fill in manually when sourceType is VIP/DNS/AI.
attrSourceTypeRequired
public java.lang.Object getAttrSourceType();
- Type: java.lang.String OR com.aliyun.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 ServiceProps getProps();
- Type: ServiceProps