Skip to content

IService

  • Extends: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResource

  • Implemented By: Service, IService

Represents a Service.

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node for this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
AttrAddresses interface{} Attribute Addresses: Service Address List.
AttrAiServiceConfig interface{} Attribute AiServiceConfig: AI service configuration when SourceType equals AI.
AttrGatewayId interface{} Attribute GatewayId: The ID of the Cloud Native API Gateway.
AttrGroupName interface{} Attribute GroupName: The service group name.
AttrNamespace interface{} Attribute Namespace: The namespace of the service:.
AttrQualifier interface{} Attribute Qualifier: The function version or alias.
AttrResourceGroupId interface{} Attribute ResourceGroupId: The ID of the resource group.
AttrServiceId interface{} Attribute ServiceId: The ID of the service.
AttrServiceName interface{} Attribute ServiceName: Service Name, need to fill in manually when SourceType is VIP/DNS/AI.
Props ServiceProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node for this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


AttrAddressesRequired

func AttrAddresses() interface{}
  • Type: interface{}

Attribute Addresses: Service Address List.


AttrAiServiceConfigRequired

func AttrAiServiceConfig() interface{}
  • Type: interface{}

Attribute AiServiceConfig: AI service configuration when SourceType equals AI.


AttrGatewayIdRequired

func AttrGatewayId() interface{}
  • Type: interface{}

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


AttrGroupNameRequired

func AttrGroupName() interface{}
  • Type: interface{}

Attribute GroupName: The service group name.


AttrNamespaceRequired

func AttrNamespace() interface{}
  • Type: interface{}

Attribute Namespace: The namespace of the service:.


AttrQualifierRequired

func AttrQualifier() interface{}
  • Type: interface{}

Attribute Qualifier: The function version or alias.


AttrResourceGroupIdRequired

func AttrResourceGroupId() interface{}
  • Type: interface{}

Attribute ResourceGroupId: The ID of the resource group.


AttrServiceIdRequired

func AttrServiceId() interface{}
  • Type: interface{}

Attribute ServiceId: The ID of the service.


AttrServiceNameRequired

func AttrServiceName() interface{}
  • Type: interface{}

Attribute ServiceName: Service Name, need to fill in manually when SourceType is VIP/DNS/AI.


PropsRequired

func Props() ServiceProps