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: Service Address List. |
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: Service Name, need to fill in manually when SourceType is 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: Service Address List.
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: Service Name, need to fill in manually when SourceType is VIP/DNS/AI.
propsRequired
public readonly props: ServiceProps;
- Type: ServiceProps