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.
AttrInternetAccess interface{} Attribute InternetAccess: Whether enable Internet access.
AttrLogProject interface{} Attribute LogProject: Log project of service.
AttrLogstore interface{} Attribute Logstore: Log store of service.
AttrRole interface{} Attribute Role: Role of service.
AttrServiceId interface{} Attribute ServiceId: The service ID.
AttrServiceName interface{} Attribute ServiceName: The service name.
AttrTags interface{} Attribute Tags: Tags of service.
AttrVpcId interface{} Attribute VpcId: VPC ID.
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.


AttrInternetAccessRequired

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

Attribute InternetAccess: Whether enable Internet access.


AttrLogProjectRequired

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

Attribute LogProject: Log project of service.


AttrLogstoreRequired

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

Attribute Logstore: Log store of service.


AttrRoleRequired

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

Attribute Role: Role of service.


AttrServiceIdRequired

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

Attribute ServiceId: The service ID.


AttrServiceNameRequired

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

Attribute ServiceName: The service name.


AttrTagsRequired

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

Attribute Tags: Tags of service.


AttrVpcIdRequired

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

Attribute VpcId: VPC ID.


PropsRequired

func Props() ServiceProps