EdgeContainerApp
- Implements: IEdgeContainerApp
This class encapsulates and extends the ROS resource type ALIYUN::ESA::EdgeContainerApp.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
alicloudroscdkesa.NewEdgeContainerApp(scope Construct, id *string, props EdgeContainerAppProps, enableResourcePropertyConstraint *bool) EdgeContainerApp
| Name | Type | Description |
|---|---|---|
scope | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct | No description. |
id | *string | No description. |
props | EdgeContainerAppProps | No description. |
enableResourcePropertyConstraint | *bool | No description. |
scopeRequired
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
idRequired
- Type: *string
propsRequired
- Type: EdgeContainerAppProps
enableResourcePropertyConstraintOptional
- Type: *bool
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
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
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.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
FetchCondition
func FetchCondition() RosCondition
FetchDependency
func FetchDependency() *[]*string
FetchResourceDesc
func FetchResourceDesc() *string
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
alicloudroscdkesa.EdgeContainerApp_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node associated with this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Ref | *string | No description. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
Resource | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource | No description. |
AttrAppStatus | interface{} | Attribute AppStatus: The status of the application. |
AttrCreateTime | interface{} | Attribute CreateTime: The time when the application was created. |
AttrDomainName | interface{} | Attribute DomainName: The domain name that is associated with the application. |
AttrEdgeContainerAppName | interface{} | Attribute EdgeContainerAppName: The name of the application. |
AttrGatewayType | interface{} | Attribute GatewayType: The type of the gateway. |
AttrHealthCheckFailTimes | interface{} | Attribute HealthCheckFailTimes: TThe number of consecutive failed health checks required for an application to be considered as unhealthy. |
AttrHealthCheckHost | interface{} | Attribute HealthCheckHost: The domain name that is used for health checks. |
AttrHealthCheckHttpCode | interface{} | Attribute HealthCheckHttpCode: The HTTP status code returned for a successful health check. |
AttrHealthCheckInterval | interface{} | Attribute HealthCheckInterval: The interval between two consecutive health checks. |
AttrHealthCheckMethod | interface{} | Attribute HealthCheckMethod: The HTTP request method for health checks. |
AttrHealthCheckPort | interface{} | Attribute HealthCheckPort: The port used for health checks. |
AttrHealthCheckSuccTimes | interface{} | Attribute HealthCheckSuccTimes: The number of consecutive successful health checks required for an application to be considered as healthy. |
AttrHealthCheckTimeout | interface{} | Attribute HealthCheckTimeout: The timeout period of a health check response. |
AttrHealthCheckType | interface{} | Attribute HealthCheckType: The health check type. |
AttrHealthCheckUri | interface{} | Attribute HealthCheckUri: The URI used for health checks. |
AttrQuicCid | interface{} | Attribute QuicCid: Indicates whether QUIC is enabled. |
AttrRemarks | interface{} | Attribute Remarks: The remarks. |
AttrServicePort | interface{} | Attribute ServicePort: The server port. |
AttrTargetPort | interface{} | Attribute TargetPort: The backend port, which is also the service port of the application. |
AttrUpdateTime | interface{} | Attribute UpdateTime: The time when the application was last modified. |
AttrVersionCount | interface{} | Attribute VersionCount: The number of versions of the application. |
Props | EdgeContainerAppProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with 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.
RefRequired
func Ref() *string
- Type: *string
StackRequired
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
ResourceOptional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrAppStatusRequired
func AttrAppStatus() interface{}
- Type: interface{}
Attribute AppStatus: The status of the application.
AttrCreateTimeRequired
func AttrCreateTime() interface{}
- Type: interface{}
Attribute CreateTime: The time when the application was created.
AttrDomainNameRequired
func AttrDomainName() interface{}
- Type: interface{}
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
func AttrEdgeContainerAppName() interface{}
- Type: interface{}
Attribute EdgeContainerAppName: The name of the application.
AttrGatewayTypeRequired
func AttrGatewayType() interface{}
- Type: interface{}
Attribute GatewayType: The type of the gateway.
AttrHealthCheckFailTimesRequired
func AttrHealthCheckFailTimes() interface{}
- Type: interface{}
Attribute HealthCheckFailTimes: TThe number of consecutive failed health checks required for an application to be considered as unhealthy.
AttrHealthCheckHostRequired
func AttrHealthCheckHost() interface{}
- Type: interface{}
Attribute HealthCheckHost: The domain name that is used for health checks.
AttrHealthCheckHttpCodeRequired
func AttrHealthCheckHttpCode() interface{}
- Type: interface{}
Attribute HealthCheckHttpCode: The HTTP status code returned for a successful health check.
AttrHealthCheckIntervalRequired
func AttrHealthCheckInterval() interface{}
- Type: interface{}
Attribute HealthCheckInterval: The interval between two consecutive health checks.
Unit: seconds.
AttrHealthCheckMethodRequired
func AttrHealthCheckMethod() interface{}
- Type: interface{}
Attribute HealthCheckMethod: The HTTP request method for health checks.
AttrHealthCheckPortRequired
func AttrHealthCheckPort() interface{}
- Type: interface{}
Attribute HealthCheckPort: The port used for health checks.
Valid values: 1 to 65535. Default value: 80.
AttrHealthCheckSuccTimesRequired
func AttrHealthCheckSuccTimes() interface{}
- Type: interface{}
Attribute HealthCheckSuccTimes: The number of consecutive successful health checks required for an application to be considered as healthy.
AttrHealthCheckTimeoutRequired
func AttrHealthCheckTimeout() interface{}
- Type: interface{}
Attribute HealthCheckTimeout: The timeout period of a health check response.
AttrHealthCheckTypeRequired
func AttrHealthCheckType() interface{}
- Type: interface{}
Attribute HealthCheckType: The health check type.
AttrHealthCheckUriRequired
func AttrHealthCheckUri() interface{}
- Type: interface{}
Attribute HealthCheckUri: The URI used for health checks.
AttrQuicCidRequired
func AttrQuicCid() interface{}
- Type: interface{}
Attribute QuicCid: Indicates whether QUIC is enabled.
AttrRemarksRequired
func AttrRemarks() interface{}
- Type: interface{}
Attribute Remarks: The remarks.
This parameter is empty by default.
AttrServicePortRequired
func AttrServicePort() interface{}
- Type: interface{}
Attribute ServicePort: The server port.
AttrTargetPortRequired
func AttrTargetPort() interface{}
- Type: interface{}
Attribute TargetPort: The backend port, which is also the service port of the application.
AttrUpdateTimeRequired
func AttrUpdateTime() interface{}
- Type: interface{}
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
func AttrVersionCount() interface{}
- Type: interface{}
Attribute VersionCount: The number of versions of the application.
PropsRequired
func Props() EdgeContainerAppProps
- Type: EdgeContainerAppProps