Skip to content

IService

  • Extends: com.aliyun.ros.cdk.core.IResource

  • Implemented By: Service, 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.
attrInternetAccess java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InternetAccess: Whether enable Internet access.
attrLogProject java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute LogProject: Log project of service.
attrLogstore java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Logstore: Log store of service.
attrRole java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Role: Role of service.
attrServiceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ServiceId: The service ID.
attrServiceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ServiceName: The service name.
attrTags java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Tags: Tags of service.
attrVpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VpcId: VPC ID.
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.


attrInternetAccessRequired

public java.lang.Object getAttrInternetAccess();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InternetAccess: Whether enable Internet access.


attrLogProjectRequired

public java.lang.Object getAttrLogProject();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute LogProject: Log project of service.


attrLogstoreRequired

public java.lang.Object getAttrLogstore();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Logstore: Log store of service.


attrRoleRequired

public java.lang.Object getAttrRole();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Role: Role of service.


attrServiceIdRequired

public java.lang.Object getAttrServiceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ServiceId: The service ID.


attrServiceNameRequired

public java.lang.Object getAttrServiceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ServiceName: The service name.


attrTagsRequired

public java.lang.Object getAttrTags();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Tags: Tags of service.


attrVpcIdRequired

public java.lang.Object getAttrVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute VpcId: VPC ID.


propsRequired

public ServiceProps getProps();