Skip to content

IService

  • Extends: @alicloud/ros-cdk-core.IResource

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


attrInternetAccessRequired

public readonly attrInternetAccess: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute InternetAccess: Whether enable Internet access.


attrLogProjectRequired

public readonly attrLogProject: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute LogProject: Log project of service.


attrLogstoreRequired

public readonly attrLogstore: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Logstore: Log store of service.


attrRoleRequired

public readonly attrRole: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Role: Role of service.


attrServiceIdRequired

public readonly attrServiceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ServiceId: The service ID.


attrServiceNameRequired

public readonly attrServiceName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ServiceName: The service name.


attrTagsRequired

public readonly attrTags: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute Tags: Tags of service.


attrVpcIdRequired

public readonly attrVpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute VpcId: VPC ID.


propsRequired

public readonly props: ServiceProps;