alicloudroscdksae

package module
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

README

Aliyun ROS SAE Construct Library

This module is part of the AliCloud ROS Cloud Development Kit (ROS CDK) project.

import * as SAE from '@alicloud/ros-cdk-sae';

Documentation

Overview

Aliyun SDK Copyright (C) Alibaba Cloud Computing All rights reserved. http://www.aliyun.com

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplicationScalingRule_IsConstruct added in v1.5.0

func ApplicationScalingRule_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func Application_IsConstruct

func Application_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func ConfigMap_IsConstruct

func ConfigMap_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func Ingress_IsConstruct

func Ingress_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func Namespace_IsConstruct

func Namespace_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func NewApplicationScalingRule_Override added in v1.5.0

func NewApplicationScalingRule_Override(a ApplicationScalingRule, scope alicloudroscdkcore.Construct, id *string, props *ApplicationScalingRuleProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewApplication_Override

func NewApplication_Override(a Application, scope alicloudroscdkcore.Construct, id *string, props *ApplicationProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewConfigMap_Override

func NewConfigMap_Override(c ConfigMap, scope alicloudroscdkcore.Construct, id *string, props *ConfigMapProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewIngress_Override

func NewIngress_Override(i Ingress, scope alicloudroscdkcore.Construct, id *string, props *IngressProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewNamespace_Override

func NewNamespace_Override(n Namespace, scope alicloudroscdkcore.Construct, id *string, props *NamespaceProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func NewRosApplicationScalingRule_Override added in v1.5.0

func NewRosApplicationScalingRule_Override(r RosApplicationScalingRule, scope alicloudroscdkcore.Construct, id *string, props *RosApplicationScalingRuleProps, enableResourcePropertyConstraint *bool)

func NewRosApplication_Override

func NewRosApplication_Override(r RosApplication, scope alicloudroscdkcore.Construct, id *string, props *RosApplicationProps, enableResourcePropertyConstraint *bool)

func NewRosConfigMap_Override

func NewRosConfigMap_Override(r RosConfigMap, scope alicloudroscdkcore.Construct, id *string, props *RosConfigMapProps, enableResourcePropertyConstraint *bool)

func NewRosIngress_Override

func NewRosIngress_Override(r RosIngress, scope alicloudroscdkcore.Construct, id *string, props *RosIngressProps, enableResourcePropertyConstraint *bool)

func NewRosNamespace_Override

func NewRosNamespace_Override(r RosNamespace, scope alicloudroscdkcore.Construct, id *string, props *RosNamespaceProps, enableResourcePropertyConstraint *bool)

func NewRosSlbBinding_Override

func NewRosSlbBinding_Override(r RosSlbBinding, scope alicloudroscdkcore.Construct, id *string, props *RosSlbBindingProps, enableResourcePropertyConstraint *bool)

func NewSlbBinding_Override

func NewSlbBinding_Override(s SlbBinding, scope alicloudroscdkcore.Construct, id *string, props *SlbBindingProps, enableResourcePropertyConstraint *bool)

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

func RosApplicationScalingRule_IsConstruct added in v1.5.0

func RosApplicationScalingRule_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosApplicationScalingRule_IsRosElement added in v1.5.0

func RosApplicationScalingRule_IsRosElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func RosApplicationScalingRule_IsRosResource added in v1.5.0

func RosApplicationScalingRule_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosApplicationScalingRule_ROS_RESOURCE_TYPE_NAME added in v1.5.0

func RosApplicationScalingRule_ROS_RESOURCE_TYPE_NAME() *string

func RosApplication_IsConstruct

func RosApplication_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosApplication_IsRosElement

func RosApplication_IsRosElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func RosApplication_IsRosResource

func RosApplication_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosApplication_ROS_RESOURCE_TYPE_NAME

func RosApplication_ROS_RESOURCE_TYPE_NAME() *string

func RosConfigMap_IsConstruct

func RosConfigMap_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosConfigMap_IsRosElement

func RosConfigMap_IsRosElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func RosConfigMap_IsRosResource

func RosConfigMap_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosConfigMap_ROS_RESOURCE_TYPE_NAME

func RosConfigMap_ROS_RESOURCE_TYPE_NAME() *string

func RosIngress_IsConstruct

func RosIngress_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosIngress_IsRosElement

func RosIngress_IsRosElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func RosIngress_IsRosResource

func RosIngress_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosIngress_ROS_RESOURCE_TYPE_NAME

func RosIngress_ROS_RESOURCE_TYPE_NAME() *string

func RosNamespace_IsConstruct

func RosNamespace_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosNamespace_IsRosElement

func RosNamespace_IsRosElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func RosNamespace_IsRosResource

func RosNamespace_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosNamespace_ROS_RESOURCE_TYPE_NAME

func RosNamespace_ROS_RESOURCE_TYPE_NAME() *string

func RosSlbBinding_IsConstruct

func RosSlbBinding_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosSlbBinding_IsRosElement

func RosSlbBinding_IsRosElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func RosSlbBinding_IsRosResource

func RosSlbBinding_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosSlbBinding_ROS_RESOURCE_TYPE_NAME

func RosSlbBinding_ROS_RESOURCE_TYPE_NAME() *string

func SlbBinding_IsConstruct

func SlbBinding_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

Types

type Application

type Application interface {
	alicloudroscdkcore.Resource
	IApplication
	// Attribute AppId: Creating successful application ID.
	AttrAppId() interface{}
	// Attribute ChangeOrderId: Return to release a single ID, used to query task execution status.
	AttrChangeOrderId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// 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.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *ApplicationProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::SAE::Application`, which is used to create an application in Serverless App Engine (SAE).

func NewApplication

func NewApplication(scope alicloudroscdkcore.Construct, id *string, props *ApplicationProps, enableResourcePropertyConstraint *bool) Application

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type ApplicationProps

type ApplicationProps struct {
	// Property appName: Application Name.
	//
	// Allowed numbers, letters and underlined combinations thereof. We must begin with the letters, the maximum length of 36 characters.
	AppName interface{} `field:"required" json:"appName" yaml:"appName"`
	// Property cpu: Each instance of the CPU required, in units of milli core, can not be zero.
	//
	// Currently only supports fixed specifications instance type.
	Cpu interface{} `field:"required" json:"cpu" yaml:"cpu"`
	// Property memory: Each instance of the required memory, in units of MB, can not be zero.
	//
	// Currently only supports fixed specifications instance type.
	Memory interface{} `field:"required" json:"memory" yaml:"memory"`
	// Property namespaceId: EDAS namespace corresponding to ID.
	//
	// Canada supports only the name of the scribe lowercase namespace must begin with a letter.
	// Namespace can interface to obtain from DescribeNamespaceList.
	NamespaceId interface{} `field:"required" json:"namespaceId" yaml:"namespaceId"`
	// Property packageType: Application package type.
	//
	// Support FatJar, War, Image.
	PackageType interface{} `field:"required" json:"packageType" yaml:"packageType"`
	// Property replicas: The initial number of instances.
	Replicas interface{} `field:"required" json:"replicas" yaml:"replicas"`
	// Property acrAssumeRoleArn: The ARN of the RAM role required when pulling the image across accounts.
	AcrAssumeRoleArn interface{} `field:"optional" json:"acrAssumeRoleArn" yaml:"acrAssumeRoleArn"`
	// Property acrInstanceId: Container Image service ACR Enterprise Edition instance ID.
	//
	// Required when ImageUrl serves enterprise edition for container images.
	AcrInstanceId interface{} `field:"optional" json:"acrInstanceId" yaml:"acrInstanceId"`
	// Property appDescription: Application description.
	//
	// No more than 1024 characters.
	AppDescription interface{} `field:"optional" json:"appDescription" yaml:"appDescription"`
	// Property appSource: Application source.
	AppSource interface{} `field:"optional" json:"appSource" yaml:"appSource"`
	// Property associateEip: Whether to bind EIP.
	//
	// The values are explained as follows:
	// - true: Binding.
	// - false: No binding.
	AssociateEip interface{} `field:"optional" json:"associateEip" yaml:"associateEip"`
	// Property autoConfig: Whether to automatically configure the network environment.
	//
	// The values are explained as follows:
	// - true: SAE automatically config the network environment when creating the application. The values for NamespaceId, VpcId, vSwitchId, and SecurityGroupId are ignored.
	// - false: SAE manually config the network environment when creating the application.
	AutoConfig interface{} `field:"optional" json:"autoConfig" yaml:"autoConfig"`
	// Property baseAppId: Base application ID.
	BaseAppId interface{} `field:"optional" json:"baseAppId" yaml:"baseAppId"`
	// Property command: Mirroring the start command.
	//
	// The command object in memory executable container must be. For example: sleep. This command will cause the image to set the original startup command failure.
	Command interface{} `field:"optional" json:"command" yaml:"command"`
	// Property commandArgs: Mirroring the start command parameters.
	//
	// Parameters required for the start-command. For example: [ "1d"]
	CommandArgs interface{} `field:"optional" json:"commandArgs" yaml:"commandArgs"`
	// Property configMapMountDesc: ConfigMap mount description.
	//
	// Use the configuration items created on the namespace configuration items page to inject configuration information into the container.
	ConfigMapMountDesc interface{} `field:"optional" json:"configMapMountDesc" yaml:"configMapMountDesc"`
	// Property customHostAlias: Custom mapping host vessel.
	//
	// For example: [{ "hostName": "samplehost", "ip": "127.0.0.1"}]
	CustomHostAlias interface{} `field:"optional" json:"customHostAlias" yaml:"customHostAlias"`
	// Property deploy: Whether deployed immediately take effect, the default is false.
	Deploy interface{} `field:"optional" json:"deploy" yaml:"deploy"`
	// Property edasContainerVersion: EDAS pandora runtime environment used by the application.
	EdasContainerVersion interface{} `field:"optional" json:"edasContainerVersion" yaml:"edasContainerVersion"`
	// Property enableEbpf: Whether to enable EBPF.
	//
	// Enable application monitoring for non-Java applications. The values are explained as follows:
	// - true: Enable.
	// - false: Disable.
	EnableEbpf interface{} `field:"optional" json:"enableEbpf" yaml:"enableEbpf"`
	// Property envs: Container environment variable parameters.
	//
	// For example: [{ "name": "envtmp", "value": "0"}].
	Envs interface{} `field:"optional" json:"envs" yaml:"envs"`
	// Property imagePullSecrets: Corresponding to the secret dictionary ID.
	ImagePullSecrets interface{} `field:"optional" json:"imagePullSecrets" yaml:"imagePullSecrets"`
	// Property imageUrl: Mirroring address.
	//
	// Image only type of application can be configured to mirror address.
	ImageUrl interface{} `field:"optional" json:"imageUrl" yaml:"imageUrl"`
	// Property jarStartArgs: Jar package startup application parameters.
	//
	// Apply the default startup command: $ JAVA_HOME \/ bin \/ java $ JarStartOptions -jar $ CATALINA_OPTS "$ package_path"
	// $ JarStartArgs.
	JarStartArgs interface{} `field:"optional" json:"jarStartArgs" yaml:"jarStartArgs"`
	// Property jarStartOptions: Jar start the application package option.
	//
	// Apply the default startup command: $ JAVA_HOME \/ bin \/ java $ JarStartOptions -jar $ CATALINA_OPTS "$ package_path"
	// $ JarStartArgs.
	JarStartOptions interface{} `field:"optional" json:"jarStartOptions" yaml:"jarStartOptions"`
	// Property jdk: Deployment of JDK version of the package depends on.
	//
	// Mirroring not supported.
	Jdk interface{} `field:"optional" json:"jdk" yaml:"jdk"`
	// Property kafkaConfigs: Logs are ingested to Kafka configuration summary information.
	//
	// The values are explained as follows:
	// - kafkaEndpoint: The service access address for the Kafka API
	// - kafkaInstanceId: Kafka instance ID
	// - kafkaConfigs: Configuration summary information for one or more logs See Request parameters kafkaConfigs for a description of these values.
	KafkaConfigs interface{} `field:"optional" json:"kafkaConfigs" yaml:"kafkaConfigs"`
	// Property liveness: Container health check, health check fails container will be killed and recovery.
	//
	// Currently only supports mode command issued in the container. The columns: { "exec": { "command": [ "sleep", "5s"]}, "initialDelaySeconds": 10, "timeoutSeconds": 11}
	Liveness interface{} `field:"optional" json:"liveness" yaml:"liveness"`
	// Property microRegistration: Select the Nacos registry with the following values: - 0: SAE built-in Nacos.
	//
	// - 1: User-built Nacos.
	// - 2: MSE commercial version of Nacos.
	MicroRegistration interface{} `field:"optional" json:"microRegistration" yaml:"microRegistration"`
	// Property microRegistrationConfig: Registry configuration information.
	MicroRegistrationConfig interface{} `field:"optional" json:"microRegistrationConfig" yaml:"microRegistrationConfig"`
	// Property mountDesc: Mount Description.
	MountDesc interface{} `field:"optional" json:"mountDesc" yaml:"mountDesc"`
	// Property mountHost: nas mount point in the application of vpc.
	MountHost interface{} `field:"optional" json:"mountHost" yaml:"mountHost"`
	// Property nasConfigs: Configuration to mount the NAS.
	//
	// The values are explained as follows:
	// - mountPath: The container mount path
	// - readOnly: A value of false indicates read and write permission.
	// - nasId: NAS ID
	// - mountDomain: The container mount point address For more information, see DescribeMountTargets.
	// - nasPath: NAS relative file directory.
	NasConfigs interface{} `field:"optional" json:"nasConfigs" yaml:"nasConfigs"`
	// Property nasId: Mount the NAS ID, you must be in the same region and cluster.
	//
	// It must be available to create a mount point limit, or switch on its mount point already in the VPC. If you do not fill, and there mountDescs field, the default will automatically purchase a NAS and mount it onto the switch within the VPC.
	NasId interface{} `field:"optional" json:"nasId" yaml:"nasId"`
	// Property ossAkId: AccessKey ID of the OSS.
	OssAkId interface{} `field:"optional" json:"ossAkId" yaml:"ossAkId"`
	// Property ossAkSecret: AccessKey Secret of the OSS.
	OssAkSecret interface{} `field:"optional" json:"ossAkSecret" yaml:"ossAkSecret"`
	// Property ossMountDescs: OSS mount description information.
	//
	// The parameters are described as follows:
	// - bucketName: The name of the Bucket
	// - bucketPath: The directory or OSS object you created in OSS that will raise an exception if the OSS mount directory does not exist.
	// - mountPath: Your container path in SAE. If the path already exists, it is a covering relationship. If the path doesn't exist, it will be created.
	// - readOnly: This specifies whether the container path has read-only permissions for mount directory resources:
	//    - true: Read-only permission
	// - false: Read and write permissions.
	OssMountDescs interface{} `field:"optional" json:"ossMountDescs" yaml:"ossMountDescs"`
	// Property packageUrl: Deployment packages address.
	//
	// Only FatJar War or the type of application can be configured to deploy packet address.
	PackageUrl interface{} `field:"optional" json:"packageUrl" yaml:"packageUrl"`
	// Property packageVersion: The version number of the deployed package, War FatJar type required.
	//
	// Please customize it meaning.
	PackageVersion interface{} `field:"optional" json:"packageVersion" yaml:"packageVersion"`
	// Property php: PHP version.
	Php interface{} `field:"optional" json:"php" yaml:"php"`
	// Property phpArmsConfigLocation: The PHP application monitors the mount path and requires you to ensure that the PHP server loads the configuration file for this path.
	//
	// You don't need to worry about the configuration content; SAE will automatically render the correct configuration file.
	PhpArmsConfigLocation interface{} `field:"optional" json:"phpArmsConfigLocation" yaml:"phpArmsConfigLocation"`
	// Property phpConfig: PHP configuration file contents.
	PhpConfig interface{} `field:"optional" json:"phpConfig" yaml:"phpConfig"`
	// Property phpConfigLocation: PHP application launch configuration mount path, you need to ensure that the PHP server will be started with this configuration file.
	PhpConfigLocation interface{} `field:"optional" json:"phpConfigLocation" yaml:"phpConfigLocation"`
	// Property postStart: Executing the script, such as after starting the format: { "exec": { "command": "cat", "\/ etc \/ group"}}.
	PostStart interface{} `field:"optional" json:"postStart" yaml:"postStart"`
	// Property preStop: Script is executed before stopping the format as: { "exec": { "command": "cat", "\/ etc \/ group"}}.
	PreStop interface{} `field:"optional" json:"preStop" yaml:"preStop"`
	// Property programmingLanguage: Create the stack language for the application.
	//
	// The values are explained as follows:
	// - java: The Java language
	// - php: PHP language.
	// - other: Multiple languages such as Python, C++, Go,.NET, Node.js, etc.
	ProgrammingLanguage interface{} `field:"optional" json:"programmingLanguage" yaml:"programmingLanguage"`
	// Property pvtzDiscoverySvc: Enable K8s Service registration discovery.
	//
	// The values are explained as follows:
	// - serviceName: The name of the service The format is custom-namespace ID, in which the postfix-namespace ID does not support customization and needs to be filled in according to the namespace of the application. For example, choosing the default namespace for the North China 2 (Beijing) region would be -cn-beijing-default.
	// - namespaceId: The namespace ID
	// - portProtocols: Ports and protocols The port is in the range [1,65535] and supports both TCP and UDP protocols.
	// - portAndProtocol: Ports and protocols The port is in the range [1,65535] and supports both TCP and UDP protocols. portProtocols is preferred. If portProtocols is set, only portProtocols will take effect.
	// - enable: Enable K8s Service registration discovery.
	PvtzDiscoverySvc interface{} `field:"optional" json:"pvtzDiscoverySvc" yaml:"pvtzDiscoverySvc"`
	// Property python: Python version.
	//
	// Supports PYTHON 3.9.15
	Python interface{} `field:"optional" json:"python" yaml:"python"`
	// Property pythonModules: Install custom module dependencies.
	//
	// The dependencies defined in requirements.txt in the root directory are installed by default. If the package is not configured or customized, you can specify the dependencies to install.
	PythonModules interface{} `field:"optional" json:"pythonModules" yaml:"pythonModules"`
	// Property readiness: Application launch status check, health check fails repeatedly container will be killed and restarted.
	//
	// Do not pass health check of the vessel will not have to enter SLB traffic. For example: { "exec": { "command": [ "sleep", "6s"]}, "initialDelaySeconds": 15, "timeoutSeconds": 12}
	Readiness interface{} `field:"optional" json:"readiness" yaml:"readiness"`
	// Property saeVersion: SAE version.
	SaeVersion interface{} `field:"optional" json:"saeVersion" yaml:"saeVersion"`
	// Property securityGroupId: Security group ID.
	SecurityGroupId interface{} `field:"optional" json:"securityGroupId" yaml:"securityGroupId"`
	// Property serviceTags: Service tags.
	ServiceTags interface{} `field:"optional" json:"serviceTags" yaml:"serviceTags"`
	// Property slsConfigs: Log collection configuration file.
	SlsConfigs interface{} `field:"optional" json:"slsConfigs" yaml:"slsConfigs"`
	// Property tags: Tags to attach to application.
	//
	// Max support 20 tags to add during create application. Each tag with two properties Key and Value, and Key is required.
	Tags *[]*RosApplication_TagsProperty `field:"optional" json:"tags" yaml:"tags"`
	// Property terminationGracePeriodSeconds: Graceful offline timeout, default 30, unit of seconds.
	//
	// The value ranges from 1 to 300.
	TerminationGracePeriodSeconds interface{} `field:"optional" json:"terminationGracePeriodSeconds" yaml:"terminationGracePeriodSeconds"`
	// Property timezone: Application time zone.
	//
	// Default Asia\/Shanghai.
	Timezone interface{} `field:"optional" json:"timezone" yaml:"timezone"`
	// Property tomcatConfig: Tomcat file configuration, set to "" or "{}" to delete the configuration: - port: Ports in the range of 1024 to 65535 require Root privileges to operate on ports below 1024 Because the container is configured with Admin access, please specify a port greater than 1024.
	//
	// If not configured, it defaults to 8080.
	// - contextPath: The access path, defaults to the root directory "\/"
	// - maxThreads: This config the number of connections in the pool; the default is 400.
	// - uriEncoding: Tomcat's encoding formats, including UTF-8, ISO-8859-1, GBK, and GB2312 If not set, it defaults to ISO-8859-1.
	// - useBodyEncodingForUri: Whether to useBodyEncoding for URL (defaults to true).
	TomcatConfig interface{} `field:"optional" json:"tomcatConfig" yaml:"tomcatConfig"`
	// Property vpcId: EDAS namespace corresponding VPC.
	//
	// In Serverless in a corresponding one of the VPC namespace only, and can not be modified. Serverless first created in the application name space will form a binding relationship. You may correspond to a plurality of namespaces VPC. Do not fill was VpcId namespace binding.
	VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"`
	// Property vSwitchId: Application examples where the elastic card virtual switch.
	//
	// The switch must be located above the VPC. The same switch with EDAS namespace binding relationship. Do not fill was VSwitchId namespace binding.
	VSwitchId interface{} `field:"optional" json:"vSwitchId" yaml:"vSwitchId"`
	// Property warStartOptions: War Start the application package option.
	//
	// Apply the default startup command: java $ JAVA_OPTS $ CATALINA_OPTS -Options org.apache.catalina.startup.Bootstrap "$ @" start
	WarStartOptions interface{} `field:"optional" json:"warStartOptions" yaml:"warStartOptions"`
	// Property webContainer: Tomcat deployment of the package depends on the version.
	//
	// Mirroring not supported.
	WebContainer interface{} `field:"optional" json:"webContainer" yaml:"webContainer"`
}

Properties for defining a `Application`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-application

type ApplicationScalingRule added in v1.5.0

type ApplicationScalingRule interface {
	alicloudroscdkcore.Resource
	IApplicationScalingRule
	// Attribute ScalingRuleName: The name of the scaling rule.
	AttrScalingRuleName() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// 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.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *ApplicationScalingRuleProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::SAE::ApplicationScalingRule`.

func NewApplicationScalingRule added in v1.5.0

func NewApplicationScalingRule(scope alicloudroscdkcore.Construct, id *string, props *ApplicationScalingRuleProps, enableResourcePropertyConstraint *bool) ApplicationScalingRule

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type ApplicationScalingRuleProps added in v1.5.0

type ApplicationScalingRuleProps struct {
	// Property appId: The ID of the application.
	AppId interface{} `field:"required" json:"appId" yaml:"appId"`
	// Property scalingRuleName: The name of the auto scaling policy.
	//
	// The name must start with a lowercase letter, and can contain lowercase letters, digits, and hyphens (-).The name must be 1 to 32 characters in length.
	ScalingRuleName interface{} `field:"required" json:"scalingRuleName" yaml:"scalingRuleName"`
	// Property scalingRuleType: The type of the auto scaling policy.
	//
	// Valid values: timer: Timed scaling. metric: Custom metric scaling.mix: mix scaling
	ScalingRuleType interface{} `field:"required" json:"scalingRuleType" yaml:"scalingRuleType"`
	// Property minReadyInstanceRatio: The minimum percentage of surviving instances.
	//
	// The value description is as follows:-1: Initialization value, indicating that the percentage is not used.0~100: The unit is a percentage, rounded up. For example, if it is set to 50%, if there are currently 5 instances, the minimum number of surviving instances is 3.
	MinReadyInstanceRatio interface{} `field:"optional" json:"minReadyInstanceRatio" yaml:"minReadyInstanceRatio"`
	// Property minReadyInstances: Minimum number of surviving instances.
	//
	// The value is as follows:If set to 0, the application will be interrupted during the upgrade process.If set to **-1**, the minimum number of surviving instances will use the system recommended value, which is 25% of the existing number of instances. If there are currently 5 instances, 5×25%=1.25, after rounding up, the minimum number of surviving instances is 2.
	MinReadyInstances interface{} `field:"optional" json:"minReadyInstances" yaml:"minReadyInstances"`
	// Property scalingRuleEnable: Whether to enable the scaling rule.
	ScalingRuleEnable interface{} `field:"optional" json:"scalingRuleEnable" yaml:"scalingRuleEnable"`
	// Property scalingRuleMetric: Configuration of monitoring indicator elasticity policy.
	//
	// This parameter is required when you select monitoring indicator elasticity policy setting.
	ScalingRuleMetric interface{} `field:"optional" json:"scalingRuleMetric" yaml:"scalingRuleMetric"`
	// Property scalingRuleTimer: The configuration of the timer scaling policy.
	ScalingRuleTimer interface{} `field:"optional" json:"scalingRuleTimer" yaml:"scalingRuleTimer"`
}

Properties for defining a `ApplicationScalingRule`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-applicationscalingrule

type ConfigMap

type ConfigMap interface {
	alicloudroscdkcore.Resource
	IConfigMap
	// Attribute ConfigMapId: The ID of the config map.
	AttrConfigMapId() interface{}
	// Attribute NamespaceId: The ID of the namespace to which this config map instance belongs.
	AttrNamespaceId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// 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.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *ConfigMapProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::SAE::ConfigMap`, which is used to create a ConfigMap instance in a namespace.

func NewConfigMap

func NewConfigMap(scope alicloudroscdkcore.Construct, id *string, props *ConfigMapProps, enableResourcePropertyConstraint *bool) ConfigMap

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type ConfigMapProps

type ConfigMapProps struct {
	// Property data: Configmap key value pairs of data, json format.The format is as follows: {"k1":"v1", "k2":"v2"} K means key, V represents value.For more information about configuration items, see management and use of configuration items.
	Data interface{} `field:"required" json:"data" yaml:"data"`
	// Property name: The name of the config map.
	Name interface{} `field:"required" json:"name" yaml:"name"`
	// Property namespaceId: The ID of the namespace to which this config map instance belongs.
	NamespaceId interface{} `field:"required" json:"namespaceId" yaml:"namespaceId"`
	// Property description: Describe information, do not enter the space without more than 255 characters.
	Description interface{} `field:"optional" json:"description" yaml:"description"`
}

Properties for defining a `ConfigMap`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-configmap

type IApplication added in v1.6.0

type IApplication interface {
	alicloudroscdkcore.IResource
	// Attribute AppId: Creating successful application ID.
	AttrAppId() interface{}
	// Attribute ChangeOrderId: Return to release a single ID, used to query task execution status.
	AttrChangeOrderId() interface{}
	Props() *ApplicationProps
}

Represents a `Application`.

type IApplicationScalingRule added in v1.6.0

type IApplicationScalingRule interface {
	alicloudroscdkcore.IResource
	// Attribute ScalingRuleName: The name of the scaling rule.
	AttrScalingRuleName() interface{}
	Props() *ApplicationScalingRuleProps
}

Represents a `ApplicationScalingRule`.

type IConfigMap added in v1.6.0

type IConfigMap interface {
	alicloudroscdkcore.IResource
	// Attribute ConfigMapId: The ID of the config map.
	AttrConfigMapId() interface{}
	// Attribute NamespaceId: The ID of the namespace to which this config map instance belongs.
	AttrNamespaceId() interface{}
	Props() *ConfigMapProps
}

Represents a `ConfigMap`.

type IIngress added in v1.6.0

type IIngress interface {
	alicloudroscdkcore.IResource
	// Attribute IngressId: The ID of the routing rule.
	AttrIngressId() interface{}
	Props() *IngressProps
}

Represents a `Ingress`.

type INamespace added in v1.6.0

type INamespace interface {
	alicloudroscdkcore.IResource
	// Attribute NamespaceId: Namespace ID.
	AttrNamespaceId() interface{}
	Props() *NamespaceProps
}

Represents a `Namespace`.

type ISlbBinding added in v1.6.0

type ISlbBinding interface {
	alicloudroscdkcore.IResource
	// Attribute AppId: Successful application deployment target ID.
	AttrAppId() interface{}
	// Attribute ChangeOrderId: Return to release a single ID, used to query task execution status.
	AttrChangeOrderId() interface{}
	Props() *SlbBindingProps
}

Represents a `SlbBinding`.

type Ingress

type Ingress interface {
	alicloudroscdkcore.Resource
	IIngress
	// Attribute IngressId: The ID of the routing rule.
	AttrIngressId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// 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.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *IngressProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::SAE::Ingress`, which is used to create a routing rule.

func NewIngress

func NewIngress(scope alicloudroscdkcore.Construct, id *string, props *IngressProps, enableResourcePropertyConstraint *bool) Ingress

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type IngressProps

type IngressProps struct {
	// Property defaultRule: The default forwarding rule.
	//
	// You can specify a port and an application in the default forwarding rule to forward traffic based on the IP address of the application.
	DefaultRule interface{} `field:"required" json:"defaultRule" yaml:"defaultRule"`
	// Property description: The name of the routing rule.
	Description interface{} `field:"required" json:"description" yaml:"description"`
	// Property listenerPort: The listener port of the SLB instance.
	//
	// You must specify a vacant port.
	ListenerPort interface{} `field:"required" json:"listenerPort" yaml:"listenerPort"`
	// Property namespaceId: The ID of the namespace to which the application belongs.
	//
	// You can specify only one namespace ID each time you call this operation.
	NamespaceId interface{} `field:"required" json:"namespaceId" yaml:"namespaceId"`
	// Property rules: The forwarding rules.
	//
	// You can specify a port and an application in a forwarding rule to forward traffic based on the specified domain name and request path.
	Rules interface{} `field:"required" json:"rules" yaml:"rules"`
	// Property slbId: The Server Load Balancer (SLB) instance that is used by the routing rule.
	SlbId interface{} `field:"required" json:"slbId" yaml:"slbId"`
	// Property certId: The ID of the certificate that is associated with the Classic Load Balancer (CLB) instance.
	//
	// If LoadBalanceType is set to clb, specify this parameter to configure a certificate for the HTTP listener.
	CertId interface{} `field:"optional" json:"certId" yaml:"certId"`
	// Property certIds: The IDs of the certificates that are associated with the Application Load Balancer (ALB) instance.
	CertIds interface{} `field:"optional" json:"certIds" yaml:"certIds"`
	// Property listenerProtocol: The protocol that is used to forward requests.
	ListenerProtocol interface{} `field:"optional" json:"listenerProtocol" yaml:"listenerProtocol"`
	// Property loadBalanceType: The type of the SLB instance based on the processing capabilities.
	//
	// The instance type can be specified only when you create a routing rule. You cannot change the instance type when you update the routing rule.
	LoadBalanceType interface{} `field:"optional" json:"loadBalanceType" yaml:"loadBalanceType"`
}

Properties for defining a `Ingress`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-ingress

type Namespace

type Namespace interface {
	alicloudroscdkcore.Resource
	INamespace
	// Attribute NamespaceId: Namespace ID.
	AttrNamespaceId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// 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.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *NamespaceProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::SAE::Namespace`, which is used to create a Namespace.

func NewNamespace

func NewNamespace(scope alicloudroscdkcore.Construct, id *string, props *NamespaceProps, enableResourcePropertyConstraint *bool) Namespace

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type NamespaceProps

type NamespaceProps struct {
	// Property namespaceId: Namespace ID.
	//
	// Format: "regionId:logicalId" or "logicalId".
	NamespaceId interface{} `field:"required" json:"namespaceId" yaml:"namespaceId"`
	// Property namespaceName: Namespace name.
	NamespaceName interface{} `field:"required" json:"namespaceName" yaml:"namespaceName"`
	// Property namespaceDescription: Namespace description.
	NamespaceDescription interface{} `field:"optional" json:"namespaceDescription" yaml:"namespaceDescription"`
}

Properties for defining a `Namespace`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-namespace

type RosApplication

type RosApplication interface {
	alicloudroscdkcore.RosResource
	AcrAssumeRoleArn() interface{}
	SetAcrAssumeRoleArn(val interface{})
	AcrInstanceId() interface{}
	SetAcrInstanceId(val interface{})
	AppDescription() interface{}
	SetAppDescription(val interface{})
	AppName() interface{}
	SetAppName(val interface{})
	AppSource() interface{}
	SetAppSource(val interface{})
	AssociateEip() interface{}
	SetAssociateEip(val interface{})
	AttrAppId() alicloudroscdkcore.IResolvable
	AttrChangeOrderId() alicloudroscdkcore.IResolvable
	AutoConfig() interface{}
	SetAutoConfig(val interface{})
	BaseAppId() interface{}
	SetBaseAppId(val interface{})
	Command() interface{}
	SetCommand(val interface{})
	CommandArgs() interface{}
	SetCommandArgs(val interface{})
	ConfigMapMountDesc() interface{}
	SetConfigMapMountDesc(val interface{})
	Cpu() interface{}
	SetCpu(val interface{})
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	CustomHostAlias() interface{}
	SetCustomHostAlias(val interface{})
	Deploy() interface{}
	SetDeploy(val interface{})
	EdasContainerVersion() interface{}
	SetEdasContainerVersion(val interface{})
	EnableEbpf() interface{}
	SetEnableEbpf(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	Envs() interface{}
	SetEnvs(val interface{})
	ImagePullSecrets() interface{}
	SetImagePullSecrets(val interface{})
	ImageUrl() interface{}
	SetImageUrl(val interface{})
	JarStartArgs() interface{}
	SetJarStartArgs(val interface{})
	JarStartOptions() interface{}
	SetJarStartOptions(val interface{})
	Jdk() interface{}
	SetJdk(val interface{})
	KafkaConfigs() interface{}
	SetKafkaConfigs(val interface{})
	Liveness() interface{}
	SetLiveness(val interface{})
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	Memory() interface{}
	SetMemory(val interface{})
	MicroRegistration() interface{}
	SetMicroRegistration(val interface{})
	MicroRegistrationConfig() interface{}
	SetMicroRegistrationConfig(val interface{})
	MountDesc() interface{}
	SetMountDesc(val interface{})
	MountHost() interface{}
	SetMountHost(val interface{})
	NamespaceId() interface{}
	SetNamespaceId(val interface{})
	NasConfigs() interface{}
	SetNasConfigs(val interface{})
	NasId() interface{}
	SetNasId(val interface{})
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	OssAkId() interface{}
	SetOssAkId(val interface{})
	OssAkSecret() interface{}
	SetOssAkSecret(val interface{})
	OssMountDescs() interface{}
	SetOssMountDescs(val interface{})
	PackageType() interface{}
	SetPackageType(val interface{})
	PackageUrl() interface{}
	SetPackageUrl(val interface{})
	PackageVersion() interface{}
	SetPackageVersion(val interface{})
	Php() interface{}
	SetPhp(val interface{})
	PhpArmsConfigLocation() interface{}
	SetPhpArmsConfigLocation(val interface{})
	PhpConfig() interface{}
	SetPhpConfig(val interface{})
	PhpConfigLocation() interface{}
	SetPhpConfigLocation(val interface{})
	PostStart() interface{}
	SetPostStart(val interface{})
	PreStop() interface{}
	SetPreStop(val interface{})
	ProgrammingLanguage() interface{}
	SetProgrammingLanguage(val interface{})
	PvtzDiscoverySvc() interface{}
	SetPvtzDiscoverySvc(val interface{})
	Python() interface{}
	SetPython(val interface{})
	PythonModules() interface{}
	SetPythonModules(val interface{})
	Readiness() interface{}
	SetReadiness(val interface{})
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	Replicas() interface{}
	SetReplicas(val interface{})
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	SaeVersion() interface{}
	SetSaeVersion(val interface{})
	SecurityGroupId() interface{}
	SetSecurityGroupId(val interface{})
	ServiceTags() interface{}
	SetServiceTags(val interface{})
	SlsConfigs() interface{}
	SetSlsConfigs(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	Tags() *[]*RosApplication_TagsProperty
	SetTags(val *[]*RosApplication_TagsProperty)
	TerminationGracePeriodSeconds() interface{}
	SetTerminationGracePeriodSeconds(val interface{})
	Timezone() interface{}
	SetTimezone(val interface{})
	TomcatConfig() interface{}
	SetTomcatConfig(val interface{})
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	VpcId() interface{}
	SetVpcId(val interface{})
	VSwitchId() interface{}
	SetVSwitchId(val interface{})
	WarStartOptions() interface{}
	SetWarStartOptions(val interface{})
	WebContainer() interface{}
	SetWebContainer(val interface{})
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::SAE::Application`, which is used to create an application in Serverless App Engine (SAE).

func NewRosApplication

func NewRosApplication(scope alicloudroscdkcore.Construct, id *string, props *RosApplicationProps, enableResourcePropertyConstraint *bool) RosApplication

type RosApplicationProps

type RosApplicationProps struct {
	AppName                       interface{}                     `field:"required" json:"appName" yaml:"appName"`
	Cpu                           interface{}                     `field:"required" json:"cpu" yaml:"cpu"`
	Memory                        interface{}                     `field:"required" json:"memory" yaml:"memory"`
	NamespaceId                   interface{}                     `field:"required" json:"namespaceId" yaml:"namespaceId"`
	PackageType                   interface{}                     `field:"required" json:"packageType" yaml:"packageType"`
	Replicas                      interface{}                     `field:"required" json:"replicas" yaml:"replicas"`
	AcrAssumeRoleArn              interface{}                     `field:"optional" json:"acrAssumeRoleArn" yaml:"acrAssumeRoleArn"`
	AcrInstanceId                 interface{}                     `field:"optional" json:"acrInstanceId" yaml:"acrInstanceId"`
	AppDescription                interface{}                     `field:"optional" json:"appDescription" yaml:"appDescription"`
	AppSource                     interface{}                     `field:"optional" json:"appSource" yaml:"appSource"`
	AssociateEip                  interface{}                     `field:"optional" json:"associateEip" yaml:"associateEip"`
	AutoConfig                    interface{}                     `field:"optional" json:"autoConfig" yaml:"autoConfig"`
	BaseAppId                     interface{}                     `field:"optional" json:"baseAppId" yaml:"baseAppId"`
	Command                       interface{}                     `field:"optional" json:"command" yaml:"command"`
	CommandArgs                   interface{}                     `field:"optional" json:"commandArgs" yaml:"commandArgs"`
	ConfigMapMountDesc            interface{}                     `field:"optional" json:"configMapMountDesc" yaml:"configMapMountDesc"`
	CustomHostAlias               interface{}                     `field:"optional" json:"customHostAlias" yaml:"customHostAlias"`
	Deploy                        interface{}                     `field:"optional" json:"deploy" yaml:"deploy"`
	EdasContainerVersion          interface{}                     `field:"optional" json:"edasContainerVersion" yaml:"edasContainerVersion"`
	EnableEbpf                    interface{}                     `field:"optional" json:"enableEbpf" yaml:"enableEbpf"`
	Envs                          interface{}                     `field:"optional" json:"envs" yaml:"envs"`
	ImagePullSecrets              interface{}                     `field:"optional" json:"imagePullSecrets" yaml:"imagePullSecrets"`
	ImageUrl                      interface{}                     `field:"optional" json:"imageUrl" yaml:"imageUrl"`
	JarStartArgs                  interface{}                     `field:"optional" json:"jarStartArgs" yaml:"jarStartArgs"`
	JarStartOptions               interface{}                     `field:"optional" json:"jarStartOptions" yaml:"jarStartOptions"`
	Jdk                           interface{}                     `field:"optional" json:"jdk" yaml:"jdk"`
	KafkaConfigs                  interface{}                     `field:"optional" json:"kafkaConfigs" yaml:"kafkaConfigs"`
	Liveness                      interface{}                     `field:"optional" json:"liveness" yaml:"liveness"`
	MicroRegistration             interface{}                     `field:"optional" json:"microRegistration" yaml:"microRegistration"`
	MicroRegistrationConfig       interface{}                     `field:"optional" json:"microRegistrationConfig" yaml:"microRegistrationConfig"`
	MountDesc                     interface{}                     `field:"optional" json:"mountDesc" yaml:"mountDesc"`
	MountHost                     interface{}                     `field:"optional" json:"mountHost" yaml:"mountHost"`
	NasConfigs                    interface{}                     `field:"optional" json:"nasConfigs" yaml:"nasConfigs"`
	NasId                         interface{}                     `field:"optional" json:"nasId" yaml:"nasId"`
	OssAkId                       interface{}                     `field:"optional" json:"ossAkId" yaml:"ossAkId"`
	OssAkSecret                   interface{}                     `field:"optional" json:"ossAkSecret" yaml:"ossAkSecret"`
	OssMountDescs                 interface{}                     `field:"optional" json:"ossMountDescs" yaml:"ossMountDescs"`
	PackageUrl                    interface{}                     `field:"optional" json:"packageUrl" yaml:"packageUrl"`
	PackageVersion                interface{}                     `field:"optional" json:"packageVersion" yaml:"packageVersion"`
	Php                           interface{}                     `field:"optional" json:"php" yaml:"php"`
	PhpArmsConfigLocation         interface{}                     `field:"optional" json:"phpArmsConfigLocation" yaml:"phpArmsConfigLocation"`
	PhpConfig                     interface{}                     `field:"optional" json:"phpConfig" yaml:"phpConfig"`
	PhpConfigLocation             interface{}                     `field:"optional" json:"phpConfigLocation" yaml:"phpConfigLocation"`
	PostStart                     interface{}                     `field:"optional" json:"postStart" yaml:"postStart"`
	PreStop                       interface{}                     `field:"optional" json:"preStop" yaml:"preStop"`
	ProgrammingLanguage           interface{}                     `field:"optional" json:"programmingLanguage" yaml:"programmingLanguage"`
	PvtzDiscoverySvc              interface{}                     `field:"optional" json:"pvtzDiscoverySvc" yaml:"pvtzDiscoverySvc"`
	Python                        interface{}                     `field:"optional" json:"python" yaml:"python"`
	PythonModules                 interface{}                     `field:"optional" json:"pythonModules" yaml:"pythonModules"`
	Readiness                     interface{}                     `field:"optional" json:"readiness" yaml:"readiness"`
	SaeVersion                    interface{}                     `field:"optional" json:"saeVersion" yaml:"saeVersion"`
	SecurityGroupId               interface{}                     `field:"optional" json:"securityGroupId" yaml:"securityGroupId"`
	ServiceTags                   interface{}                     `field:"optional" json:"serviceTags" yaml:"serviceTags"`
	SlsConfigs                    interface{}                     `field:"optional" json:"slsConfigs" yaml:"slsConfigs"`
	Tags                          *[]*RosApplication_TagsProperty `field:"optional" json:"tags" yaml:"tags"`
	TerminationGracePeriodSeconds interface{}                     `field:"optional" json:"terminationGracePeriodSeconds" yaml:"terminationGracePeriodSeconds"`
	Timezone                      interface{}                     `field:"optional" json:"timezone" yaml:"timezone"`
	TomcatConfig                  interface{}                     `field:"optional" json:"tomcatConfig" yaml:"tomcatConfig"`
	VpcId                         interface{}                     `field:"optional" json:"vpcId" yaml:"vpcId"`
	VSwitchId                     interface{}                     `field:"optional" json:"vSwitchId" yaml:"vSwitchId"`
	WarStartOptions               interface{}                     `field:"optional" json:"warStartOptions" yaml:"warStartOptions"`
	WebContainer                  interface{}                     `field:"optional" json:"webContainer" yaml:"webContainer"`
}

Properties for defining a `RosApplication`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-application

type RosApplicationScalingRule added in v1.5.0

type RosApplicationScalingRule interface {
	alicloudroscdkcore.RosResource
	AppId() interface{}
	SetAppId(val interface{})
	AttrScalingRuleName() alicloudroscdkcore.IResolvable
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	MinReadyInstanceRatio() interface{}
	SetMinReadyInstanceRatio(val interface{})
	MinReadyInstances() interface{}
	SetMinReadyInstances(val interface{})
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	ScalingRuleEnable() interface{}
	SetScalingRuleEnable(val interface{})
	ScalingRuleMetric() interface{}
	SetScalingRuleMetric(val interface{})
	ScalingRuleName() interface{}
	SetScalingRuleName(val interface{})
	ScalingRuleTimer() interface{}
	SetScalingRuleTimer(val interface{})
	ScalingRuleType() interface{}
	SetScalingRuleType(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::SAE::ApplicationScalingRule`.

func NewRosApplicationScalingRule added in v1.5.0

func NewRosApplicationScalingRule(scope alicloudroscdkcore.Construct, id *string, props *RosApplicationScalingRuleProps, enableResourcePropertyConstraint *bool) RosApplicationScalingRule

type RosApplicationScalingRuleProps added in v1.5.0

type RosApplicationScalingRuleProps struct {
	AppId                 interface{} `field:"required" json:"appId" yaml:"appId"`
	ScalingRuleName       interface{} `field:"required" json:"scalingRuleName" yaml:"scalingRuleName"`
	ScalingRuleType       interface{} `field:"required" json:"scalingRuleType" yaml:"scalingRuleType"`
	MinReadyInstanceRatio interface{} `field:"optional" json:"minReadyInstanceRatio" yaml:"minReadyInstanceRatio"`
	MinReadyInstances     interface{} `field:"optional" json:"minReadyInstances" yaml:"minReadyInstances"`
	ScalingRuleEnable     interface{} `field:"optional" json:"scalingRuleEnable" yaml:"scalingRuleEnable"`
	ScalingRuleMetric     interface{} `field:"optional" json:"scalingRuleMetric" yaml:"scalingRuleMetric"`
	ScalingRuleTimer      interface{} `field:"optional" json:"scalingRuleTimer" yaml:"scalingRuleTimer"`
}

Properties for defining a `RosApplicationScalingRule`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-applicationscalingrule

type RosApplicationScalingRule_MetricsProperty added in v1.5.0

type RosApplicationScalingRule_MetricsProperty struct {
	MetricTargetAverageUtilization interface{} `field:"required" json:"metricTargetAverageUtilization" yaml:"metricTargetAverageUtilization"`
	MetricType                     interface{} `field:"required" json:"metricType" yaml:"metricType"`
	SlbId                          interface{} `field:"optional" json:"slbId" yaml:"slbId"`
	SlbLogstore                    interface{} `field:"optional" json:"slbLogstore" yaml:"slbLogstore"`
	SlbProject                     interface{} `field:"optional" json:"slbProject" yaml:"slbProject"`
	Vport                          interface{} `field:"optional" json:"vport" yaml:"vport"`
}

type RosApplicationScalingRule_ScaleDownRulesProperty added in v1.5.0

type RosApplicationScalingRule_ScaleDownRulesProperty struct {
	Step                       interface{} `field:"required" json:"step" yaml:"step"`
	Disabled                   interface{} `field:"optional" json:"disabled" yaml:"disabled"`
	StabilizationWindowSeconds interface{} `field:"optional" json:"stabilizationWindowSeconds" yaml:"stabilizationWindowSeconds"`
}

type RosApplicationScalingRule_ScaleUpRulesProperty added in v1.5.0

type RosApplicationScalingRule_ScaleUpRulesProperty struct {
	Step                       interface{} `field:"required" json:"step" yaml:"step"`
	Disabled                   interface{} `field:"optional" json:"disabled" yaml:"disabled"`
	StabilizationWindowSeconds interface{} `field:"optional" json:"stabilizationWindowSeconds" yaml:"stabilizationWindowSeconds"`
}

type RosApplicationScalingRule_ScalingRuleMetricProperty added in v1.5.0

type RosApplicationScalingRule_ScalingRuleMetricProperty struct {
	MaxReplicas    interface{} `field:"required" json:"maxReplicas" yaml:"maxReplicas"`
	Metrics        interface{} `field:"required" json:"metrics" yaml:"metrics"`
	MinReplicas    interface{} `field:"required" json:"minReplicas" yaml:"minReplicas"`
	ScaleDownRules interface{} `field:"optional" json:"scaleDownRules" yaml:"scaleDownRules"`
	ScaleUpRules   interface{} `field:"optional" json:"scaleUpRules" yaml:"scaleUpRules"`
}

type RosApplicationScalingRule_ScalingRuleTimerProperty added in v1.5.0

type RosApplicationScalingRule_ScalingRuleTimerProperty struct {
	Period    interface{} `field:"required" json:"period" yaml:"period"`
	Schedules interface{} `field:"required" json:"schedules" yaml:"schedules"`
	BeginDate interface{} `field:"optional" json:"beginDate" yaml:"beginDate"`
	EndDate   interface{} `field:"optional" json:"endDate" yaml:"endDate"`
}

type RosApplicationScalingRule_SchedulesProperty added in v1.5.0

type RosApplicationScalingRule_SchedulesProperty struct {
	AtTime         interface{} `field:"required" json:"atTime" yaml:"atTime"`
	TargetReplicas interface{} `field:"required" json:"targetReplicas" yaml:"targetReplicas"`
}

type RosApplication_TagsProperty

type RosApplication_TagsProperty struct {
	Key   interface{} `field:"required" json:"key" yaml:"key"`
	Value interface{} `field:"optional" json:"value" yaml:"value"`
}

type RosConfigMap

type RosConfigMap interface {
	alicloudroscdkcore.RosResource
	AttrConfigMapId() alicloudroscdkcore.IResolvable
	AttrNamespaceId() alicloudroscdkcore.IResolvable
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	Data() interface{}
	SetData(val interface{})
	Description() interface{}
	SetDescription(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	Name() interface{}
	SetName(val interface{})
	NamespaceId() interface{}
	SetNamespaceId(val interface{})
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::SAE::ConfigMap`, which is used to create a ConfigMap instance in a namespace.

func NewRosConfigMap

func NewRosConfigMap(scope alicloudroscdkcore.Construct, id *string, props *RosConfigMapProps, enableResourcePropertyConstraint *bool) RosConfigMap

type RosConfigMapProps

type RosConfigMapProps struct {
	Data        interface{} `field:"required" json:"data" yaml:"data"`
	Name        interface{} `field:"required" json:"name" yaml:"name"`
	NamespaceId interface{} `field:"required" json:"namespaceId" yaml:"namespaceId"`
	Description interface{} `field:"optional" json:"description" yaml:"description"`
}

Properties for defining a `RosConfigMap`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-configmap

type RosIngress

type RosIngress interface {
	alicloudroscdkcore.RosResource
	AttrIngressId() alicloudroscdkcore.IResolvable
	CertId() interface{}
	SetCertId(val interface{})
	CertIds() interface{}
	SetCertIds(val interface{})
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	DefaultRule() interface{}
	SetDefaultRule(val interface{})
	Description() interface{}
	SetDescription(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	ListenerPort() interface{}
	SetListenerPort(val interface{})
	ListenerProtocol() interface{}
	SetListenerProtocol(val interface{})
	LoadBalanceType() interface{}
	SetLoadBalanceType(val interface{})
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	NamespaceId() interface{}
	SetNamespaceId(val interface{})
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	Rules() interface{}
	SetRules(val interface{})
	SlbId() interface{}
	SetSlbId(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::SAE::Ingress`, which is used to create a routing rule.

func NewRosIngress

func NewRosIngress(scope alicloudroscdkcore.Construct, id *string, props *RosIngressProps, enableResourcePropertyConstraint *bool) RosIngress

type RosIngressProps

type RosIngressProps struct {
	DefaultRule      interface{} `field:"required" json:"defaultRule" yaml:"defaultRule"`
	Description      interface{} `field:"required" json:"description" yaml:"description"`
	ListenerPort     interface{} `field:"required" json:"listenerPort" yaml:"listenerPort"`
	NamespaceId      interface{} `field:"required" json:"namespaceId" yaml:"namespaceId"`
	Rules            interface{} `field:"required" json:"rules" yaml:"rules"`
	SlbId            interface{} `field:"required" json:"slbId" yaml:"slbId"`
	CertId           interface{} `field:"optional" json:"certId" yaml:"certId"`
	CertIds          interface{} `field:"optional" json:"certIds" yaml:"certIds"`
	ListenerProtocol interface{} `field:"optional" json:"listenerProtocol" yaml:"listenerProtocol"`
	LoadBalanceType  interface{} `field:"optional" json:"loadBalanceType" yaml:"loadBalanceType"`
}

Properties for defining a `RosIngress`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-ingress

type RosIngress_DefaultRuleProperty

type RosIngress_DefaultRuleProperty struct {
	AppId           interface{} `field:"required" json:"appId" yaml:"appId"`
	ContainerPort   interface{} `field:"required" json:"containerPort" yaml:"containerPort"`
	BackendProtocol interface{} `field:"optional" json:"backendProtocol" yaml:"backendProtocol"`
}

type RosIngress_RulesProperty

type RosIngress_RulesProperty struct {
	AppId           interface{} `field:"required" json:"appId" yaml:"appId"`
	ContainerPort   interface{} `field:"required" json:"containerPort" yaml:"containerPort"`
	Domain          interface{} `field:"required" json:"domain" yaml:"domain"`
	Path            interface{} `field:"required" json:"path" yaml:"path"`
	BackendProtocol interface{} `field:"optional" json:"backendProtocol" yaml:"backendProtocol"`
	RewritePath     interface{} `field:"optional" json:"rewritePath" yaml:"rewritePath"`
}

type RosNamespace

type RosNamespace interface {
	alicloudroscdkcore.RosResource
	AttrNamespaceId() alicloudroscdkcore.IResolvable
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	NamespaceDescription() interface{}
	SetNamespaceDescription(val interface{})
	NamespaceId() interface{}
	SetNamespaceId(val interface{})
	NamespaceName() interface{}
	SetNamespaceName(val interface{})
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::SAE::Namespace`, which is used to create a Namespace.

func NewRosNamespace

func NewRosNamespace(scope alicloudroscdkcore.Construct, id *string, props *RosNamespaceProps, enableResourcePropertyConstraint *bool) RosNamespace

type RosNamespaceProps

type RosNamespaceProps struct {
	NamespaceId          interface{} `field:"required" json:"namespaceId" yaml:"namespaceId"`
	NamespaceName        interface{} `field:"required" json:"namespaceName" yaml:"namespaceName"`
	NamespaceDescription interface{} `field:"optional" json:"namespaceDescription" yaml:"namespaceDescription"`
}

Properties for defining a `RosNamespace`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-namespace

type RosSlbBinding

type RosSlbBinding interface {
	alicloudroscdkcore.RosResource
	AppId() interface{}
	SetAppId(val interface{})
	AttrAppId() alicloudroscdkcore.IResolvable
	AttrChangeOrderId() alicloudroscdkcore.IResolvable
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	Internet() interface{}
	SetInternet(val interface{})
	InternetSlbId() interface{}
	SetInternetSlbId(val interface{})
	Intranet() interface{}
	SetIntranet(val interface{})
	IntranetSlbId() interface{}
	SetIntranetSlbId(val interface{})
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::SAE::SlbBinding`, which is used to bind an SLB instance to an application.

func NewRosSlbBinding

func NewRosSlbBinding(scope alicloudroscdkcore.Construct, id *string, props *RosSlbBindingProps, enableResourcePropertyConstraint *bool) RosSlbBinding

type RosSlbBindingProps

type RosSlbBindingProps struct {
	AppId         interface{} `field:"required" json:"appId" yaml:"appId"`
	Internet      interface{} `field:"optional" json:"internet" yaml:"internet"`
	InternetSlbId interface{} `field:"optional" json:"internetSlbId" yaml:"internetSlbId"`
	Intranet      interface{} `field:"optional" json:"intranet" yaml:"intranet"`
	IntranetSlbId interface{} `field:"optional" json:"intranetSlbId" yaml:"intranetSlbId"`
}

Properties for defining a `RosSlbBinding`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-slbbinding

type SlbBinding

type SlbBinding interface {
	alicloudroscdkcore.Resource
	ISlbBinding
	// Attribute AppId: Successful application deployment target ID.
	AttrAppId() interface{}
	// Attribute ChangeOrderId: Return to release a single ID, used to query task execution status.
	AttrChangeOrderId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// 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.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *SlbBindingProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// 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.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// 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.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::SAE::SlbBinding`, which is used to bind an SLB instance to an application.

func NewSlbBinding

func NewSlbBinding(scope alicloudroscdkcore.Construct, id *string, props *SlbBindingProps, enableResourcePropertyConstraint *bool) SlbBinding

Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.

type SlbBindingProps

type SlbBindingProps struct {
	// Property appId: Successful application deployment target ID.
	AppId interface{} `field:"required" json:"appId" yaml:"appId"`
	// Property internet: Binding public SLB.
	//
	// For example: [{ "port": 80, "targetPort": 8080, "protocol": "TCP"}], shows a container port 8080 through port 80 slb exposed service, the protocol is TCP, the blank is ignored.
	Internet interface{} `field:"optional" json:"internet" yaml:"internet"`
	// Property internetSlbId: Use SLB purchased specified, currently only supports non-shared examples.
	InternetSlbId interface{} `field:"optional" json:"internetSlbId" yaml:"internetSlbId"`
	// Property intranet: Bind private SLB.
	//
	// For example: [{ "port": 80, "targetPort": 8080, "protocol": "TCP"}], shows a container port 8080 through port 80 slb exposed service, the protocol is TCP, the blank is ignored.
	Intranet interface{} `field:"optional" json:"intranet" yaml:"intranet"`
	// Property intranetSlbId: Use SLB purchased specified, currently only supports non-shared examples.
	IntranetSlbId interface{} `field:"optional" json:"intranetSlbId" yaml:"intranetSlbId"`
}

Properties for defining a `SlbBinding`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-slbbinding

Directories

Path Synopsis
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL