Skip to content

EdgeContainerApp

This class encapsulates and extends the ROS resource type ALIYUN::ESA::EdgeContainerApp.

Initializers

import { EdgeContainerApp } from '@alicloud/ros-cdk-esa'
new EdgeContainerApp(scope: Construct, id: string, props: EdgeContainerAppProps, enableResourcePropertyConstraint?: boolean)
Name Type Description
scope @alicloud/ros-cdk-core.Construct No description.
id string No description.
props EdgeContainerAppProps No description.
enableResourcePropertyConstraint boolean No description.

scopeRequired

  • Type: @alicloud/ros-cdk-core.Construct

idRequired

  • Type: string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: boolean

Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
fetchCondition No description.
fetchDependency No description.
fetchResourceDesc No description.
getAtt No description.
setMetadata No description.

toString

public toString(): string

Returns a string representation of this construct.

synthesize

public synthesize(session: ISynthesisSession): void

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: @alicloud/ros-cdk-core.ISynthesisSession

The synthesis session.


addCondition

public addCondition(condition: RosCondition): void

conditionRequired

  • Type: @alicloud/ros-cdk-core.RosCondition

addCount

public addCount(count: number | IResolvable): void

countRequired

  • Type: number | @alicloud/ros-cdk-core.IResolvable

addDependency

public addDependency(resource: Resource): void

resourceRequired

  • Type: @alicloud/ros-cdk-core.Resource

addResourceDesc

public addResourceDesc(desc: string): void

descRequired

  • Type: string

applyRemovalPolicy

public applyRemovalPolicy(policy: RemovalPolicy): void

policyRequired

  • Type: @alicloud/ros-cdk-core.RemovalPolicy

fetchCondition

public fetchCondition(): RosCondition

fetchDependency

public fetchDependency(): string[]

fetchResourceDesc

public fetchResourceDesc(): string

getAtt

public getAtt(name: string): IResolvable

nameRequired

  • Type: string

setMetadata

public setMetadata(key: string, value: any): void

keyRequired

  • Type: string

valueRequired

  • Type: any

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import { EdgeContainerApp } from '@alicloud/ros-cdk-esa'
EdgeContainerApp.isConstruct(x: any)

Return whether the given object is a Construct.

xRequired

  • Type: any

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node associated with this construct.
env @alicloud/ros-cdk-core.IResourceEnvironment The environment this resource belongs to.
ref string No description.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
resource @alicloud/ros-cdk-core.RosResource No description.
attrAppStatus string | @alicloud/ros-cdk-core.IResolvable Attribute AppStatus: The status of the application.
attrCreateTime string | @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: The time when the application was created.
attrDomainName string | @alicloud/ros-cdk-core.IResolvable Attribute DomainName: The domain name that is associated with the application.
attrEdgeContainerAppName string | @alicloud/ros-cdk-core.IResolvable Attribute EdgeContainerAppName: The name of the application.
attrGatewayType string | @alicloud/ros-cdk-core.IResolvable Attribute GatewayType: The type of the gateway.
attrHealthCheckFailTimes string | @alicloud/ros-cdk-core.IResolvable Attribute HealthCheckFailTimes: TThe number of consecutive failed health checks required for an application to be considered as unhealthy.
attrHealthCheckHost string | @alicloud/ros-cdk-core.IResolvable Attribute HealthCheckHost: The domain name that is used for health checks.
attrHealthCheckHttpCode string | @alicloud/ros-cdk-core.IResolvable Attribute HealthCheckHttpCode: The HTTP status code returned for a successful health check.
attrHealthCheckInterval string | @alicloud/ros-cdk-core.IResolvable Attribute HealthCheckInterval: The interval between two consecutive health checks.
attrHealthCheckMethod string | @alicloud/ros-cdk-core.IResolvable Attribute HealthCheckMethod: The HTTP request method for health checks.
attrHealthCheckPort string | @alicloud/ros-cdk-core.IResolvable Attribute HealthCheckPort: The port used for health checks.
attrHealthCheckSuccTimes string | @alicloud/ros-cdk-core.IResolvable Attribute HealthCheckSuccTimes: The number of consecutive successful health checks required for an application to be considered as healthy.
attrHealthCheckTimeout string | @alicloud/ros-cdk-core.IResolvable Attribute HealthCheckTimeout: The timeout period of a health check response.
attrHealthCheckType string | @alicloud/ros-cdk-core.IResolvable Attribute HealthCheckType: The health check type.
attrHealthCheckUri string | @alicloud/ros-cdk-core.IResolvable Attribute HealthCheckUri: The URI used for health checks.
attrQuicCid string | @alicloud/ros-cdk-core.IResolvable Attribute QuicCid: Indicates whether QUIC is enabled.
attrRemarks string | @alicloud/ros-cdk-core.IResolvable Attribute Remarks: The remarks.
attrServicePort string | @alicloud/ros-cdk-core.IResolvable Attribute ServicePort: The server port.
attrTargetPort string | @alicloud/ros-cdk-core.IResolvable Attribute TargetPort: The backend port, which is also the service port of the application.
attrUpdateTime string | @alicloud/ros-cdk-core.IResolvable Attribute UpdateTime: The time when the application was last modified.
attrVersionCount string | @alicloud/ros-cdk-core.IResolvable Attribute VersionCount: The number of versions of the application.
props EdgeContainerAppProps No description.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node associated with 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.


refRequired

public readonly ref: string;
  • Type: string

stackRequired

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


resourceOptional

public readonly resource: RosResource;
  • Type: @alicloud/ros-cdk-core.RosResource

attrAppStatusRequired

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

Attribute AppStatus: The status of the application.


attrCreateTimeRequired

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

Attribute CreateTime: The time when the application was created.


attrDomainNameRequired

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

Attribute DomainName: The domain name that is associated with the application.

If no domain name is associated with the application, the value is an empty string.


attrEdgeContainerAppNameRequired

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

Attribute EdgeContainerAppName: The name of the application.


attrGatewayTypeRequired

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

Attribute GatewayType: The type of the gateway.


attrHealthCheckFailTimesRequired

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

Attribute HealthCheckFailTimes: TThe number of consecutive failed health checks required for an application to be considered as unhealthy.


attrHealthCheckHostRequired

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

Attribute HealthCheckHost: The domain name that is used for health checks.


attrHealthCheckHttpCodeRequired

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

Attribute HealthCheckHttpCode: The HTTP status code returned for a successful health check.


attrHealthCheckIntervalRequired

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

Attribute HealthCheckInterval: The interval between two consecutive health checks.

Unit: seconds.


attrHealthCheckMethodRequired

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

Attribute HealthCheckMethod: The HTTP request method for health checks.


attrHealthCheckPortRequired

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

Attribute HealthCheckPort: The port used for health checks.

Valid values: 1 to 65535. Default value: 80.


attrHealthCheckSuccTimesRequired

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

Attribute HealthCheckSuccTimes: The number of consecutive successful health checks required for an application to be considered as healthy.


attrHealthCheckTimeoutRequired

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

Attribute HealthCheckTimeout: The timeout period of a health check response.


attrHealthCheckTypeRequired

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

Attribute HealthCheckType: The health check type.


attrHealthCheckUriRequired

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

Attribute HealthCheckUri: The URI used for health checks.


attrQuicCidRequired

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

Attribute QuicCid: Indicates whether QUIC is enabled.


attrRemarksRequired

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

Attribute Remarks: The remarks.

This parameter is empty by default.


attrServicePortRequired

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

Attribute ServicePort: The server port.


attrTargetPortRequired

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

Attribute TargetPort: The backend port, which is also the service port of the application.


attrUpdateTimeRequired

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

Attribute UpdateTime: The time when the application was last modified.

The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.


attrVersionCountRequired

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

Attribute VersionCount: The number of versions of the application.


propsRequired

public readonly props: EdgeContainerAppProps;