alicloudroscdkmse

package module
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

Aliyun ROS MSE Construct Library

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

import * as MSE from '@alicloud/ros-cdk-mse';

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 Cluster_IsConstruct

func Cluster_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func EngineNamespace_IsConstruct

func EngineNamespace_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func Gateway_IsConstruct

func Gateway_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func NacosConfig_IsConstruct

func NacosConfig_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func NacosService_IsConstruct

func NacosService_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func NewCluster_Override

func NewCluster_Override(c Cluster, scope alicloudroscdkcore.Construct, id *string, props *ClusterProps, enableResourcePropertyConstraint *bool)

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

func NewEngineNamespace_Override

func NewEngineNamespace_Override(e EngineNamespace, scope alicloudroscdkcore.Construct, id *string, props *EngineNamespaceProps, enableResourcePropertyConstraint *bool)

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

func NewGateway_Override

func NewGateway_Override(g Gateway, scope alicloudroscdkcore.Construct, id *string, props *GatewayProps, enableResourcePropertyConstraint *bool)

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

func NewNacosConfig_Override

func NewNacosConfig_Override(n NacosConfig, scope alicloudroscdkcore.Construct, id *string, props *NacosConfigProps, enableResourcePropertyConstraint *bool)

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

func NewNacosService_Override

func NewNacosService_Override(n NacosService, scope alicloudroscdkcore.Construct, id *string, props *NacosServiceProps, enableResourcePropertyConstraint *bool)

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

func NewRosCluster_Override

func NewRosCluster_Override(r RosCluster, scope alicloudroscdkcore.Construct, id *string, props *RosClusterProps, enableResourcePropertyConstraint *bool)

func NewRosEngineNamespace_Override

func NewRosEngineNamespace_Override(r RosEngineNamespace, scope alicloudroscdkcore.Construct, id *string, props *RosEngineNamespaceProps, enableResourcePropertyConstraint *bool)

func NewRosGateway_Override

func NewRosGateway_Override(r RosGateway, scope alicloudroscdkcore.Construct, id *string, props *RosGatewayProps, enableResourcePropertyConstraint *bool)

func NewRosNacosConfig_Override

func NewRosNacosConfig_Override(r RosNacosConfig, scope alicloudroscdkcore.Construct, id *string, props *RosNacosConfigProps, enableResourcePropertyConstraint *bool)

func NewRosNacosService_Override

func NewRosNacosService_Override(r RosNacosService, scope alicloudroscdkcore.Construct, id *string, props *RosNacosServiceProps, enableResourcePropertyConstraint *bool)

func NewRosServiceSource_Override

func NewRosServiceSource_Override(r RosServiceSource, scope alicloudroscdkcore.Construct, id *string, props *RosServiceSourceProps, enableResourcePropertyConstraint *bool)

func NewServiceSource_Override

func NewServiceSource_Override(s ServiceSource, scope alicloudroscdkcore.Construct, id *string, props *ServiceSourceProps, enableResourcePropertyConstraint *bool)

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

func RosCluster_IsConstruct

func RosCluster_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosCluster_IsRosElement

func RosCluster_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 RosCluster_IsRosResource

func RosCluster_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosCluster_ROS_RESOURCE_TYPE_NAME

func RosCluster_ROS_RESOURCE_TYPE_NAME() *string

func RosEngineNamespace_IsConstruct

func RosEngineNamespace_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosEngineNamespace_IsRosElement

func RosEngineNamespace_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 RosEngineNamespace_IsRosResource

func RosEngineNamespace_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosEngineNamespace_ROS_RESOURCE_TYPE_NAME

func RosEngineNamespace_ROS_RESOURCE_TYPE_NAME() *string

func RosGateway_IsConstruct

func RosGateway_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosGateway_IsRosElement

func RosGateway_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 RosGateway_IsRosResource

func RosGateway_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosGateway_ROS_RESOURCE_TYPE_NAME

func RosGateway_ROS_RESOURCE_TYPE_NAME() *string

func RosNacosConfig_IsConstruct

func RosNacosConfig_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosNacosConfig_IsRosElement

func RosNacosConfig_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 RosNacosConfig_IsRosResource

func RosNacosConfig_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosNacosConfig_ROS_RESOURCE_TYPE_NAME

func RosNacosConfig_ROS_RESOURCE_TYPE_NAME() *string

func RosNacosService_IsConstruct

func RosNacosService_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosNacosService_IsRosElement

func RosNacosService_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 RosNacosService_IsRosResource

func RosNacosService_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosNacosService_ROS_RESOURCE_TYPE_NAME

func RosNacosService_ROS_RESOURCE_TYPE_NAME() *string

func RosServiceSource_IsConstruct

func RosServiceSource_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosServiceSource_IsRosElement

func RosServiceSource_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 RosServiceSource_IsRosResource

func RosServiceSource_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosServiceSource_ROS_RESOURCE_TYPE_NAME

func RosServiceSource_ROS_RESOURCE_TYPE_NAME() *string

func ServiceSource_IsConstruct

func ServiceSource_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

Types

type Cluster

type Cluster interface {
	alicloudroscdkcore.Resource
	// Attribute AclEntryList: The public network whitelist list is used only when the public network is enabled.
	AttrAclEntryList() alicloudroscdkcore.IResolvable
	// Attribute AclId: acl id.
	AttrAclId() alicloudroscdkcore.IResolvable
	// Attribute AppVersion: app version.
	AttrAppVersion() alicloudroscdkcore.IResolvable
	// Attribute ClusterAliasName: cluster alias name.
	AttrClusterAliasName() alicloudroscdkcore.IResolvable
	// Attribute ClusterId: cluster id.
	AttrClusterId() alicloudroscdkcore.IResolvable
	// Attribute ClusterName: cluster name.
	AttrClusterName() alicloudroscdkcore.IResolvable
	// Attribute ClusterSpecification: Cluster specifications.
	//
	// Note the msversion requirements of the version parameter,
	// Optional parameters:
	// "MSE_ SC _1_2_60_c",
	// "MSE_ SC _2_4_60_c",
	// "MSE_ SC _4_8_60_c",
	// "MSE_ SC _8_16_60_c",
	// "MSE_ SC _16_32_60_c".
	AttrClusterSpecification() alicloudroscdkcore.IResolvable
	// Attribute ClusterType: cluster type.
	AttrClusterType() alicloudroscdkcore.IResolvable
	// Attribute ClusterVersion: Cluster version, such as ZooKeeper_3_8_0,NACOS_2_0_0.
	AttrClusterVersion() alicloudroscdkcore.IResolvable
	// Attribute ConfigAuthEnabled: Whether the configuration supports it.
	//
	// Valid values: true: false: not supported.
	AttrConfigAuthEnabled() alicloudroscdkcore.IResolvable
	// Attribute ConfigSecretEnabled: Whether the configuration password takes effect.
	//
	// The value is as follows: true: valid false: not valid.
	AttrConfigSecretEnabled() alicloudroscdkcore.IResolvable
	// Attribute ConnectionType: network connect type.
	AttrConnectionType() alicloudroscdkcore.IResolvable
	// Attribute Cpu: cpu core size.
	AttrCpu() alicloudroscdkcore.IResolvable
	// Attribute DiskCapacity: disk capacity, unit: G.
	AttrDiskCapacity() alicloudroscdkcore.IResolvable
	// Attribute DiskType: disk type.
	AttrDiskType() alicloudroscdkcore.IResolvable
	// Attribute HealthStatus: health status.
	AttrHealthStatus() alicloudroscdkcore.IResolvable
	// Attribute InstanceCount: instance count.
	AttrInstanceCount() alicloudroscdkcore.IResolvable
	// Attribute InstanceId: instance id.
	AttrInstanceId() alicloudroscdkcore.IResolvable
	// Attribute InternetAddress: internet address.
	AttrInternetAddress() alicloudroscdkcore.IResolvable
	// Attribute InternetDomain: internet domain.
	AttrInternetDomain() alicloudroscdkcore.IResolvable
	// Attribute InternetPort: internet port.
	AttrInternetPort() alicloudroscdkcore.IResolvable
	// Attribute IntranetAddress: intranet address.
	AttrIntranetAddress() alicloudroscdkcore.IResolvable
	// Attribute IntranetDomain: intranet domain.
	AttrIntranetDomain() alicloudroscdkcore.IResolvable
	// Attribute IntranetPort: intranet port.
	AttrIntranetPort() alicloudroscdkcore.IResolvable
	// Attribute MCPEnabled: Whether MCP takes effect, the value is as follows: true: valid false: not valid.
	AttrMcpEnabled() alicloudroscdkcore.IResolvable
	// Attribute MemoryCapacity: memory capacity.
	AttrMemoryCapacity() alicloudroscdkcore.IResolvable
	// Attribute MseVersion: Required, the value is as follows:.
	//
	// -'mse_dev': indicates the development version.
	// -'Mse_pro': means professional version. When this version is selected, the specification is 2c4g or above, and the specification is 3 nodes or above.
	AttrMseVersion() alicloudroscdkcore.IResolvable
	// Attribute NetType: Network type (whether private network is enabled or not).
	//
	// privatenet indicates that private network is enabled.
	AttrNetType() alicloudroscdkcore.IResolvable
	// Attribute PayInfo: pay info.
	AttrPayInfo() alicloudroscdkcore.IResolvable
	// Attribute PubNetworkFlow: Public network bandwidth.
	//
	// If the bandwidth is greater than 0, the public network is enabled.
	AttrPubNetworkFlow() alicloudroscdkcore.IResolvable
	// Attribute VpcId: vpc id.
	AttrVpcId() alicloudroscdkcore.IResolvable
	// Attribute VSwitchId: switcher Id.
	AttrVSwitchId() alicloudroscdkcore.IResolvable
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	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() *ClusterProps
	SetProps(val *ClusterProps)
	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)
	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::MSE::Cluster`, which is used to create a cluster.

func NewCluster

func NewCluster(scope alicloudroscdkcore.Construct, id *string, props *ClusterProps, enableResourcePropertyConstraint *bool) Cluster

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

type ClusterProps

type ClusterProps struct {
	// Property clusterSpecification: Cluster specifications.
	//
	// Note the msversion requirements of the version parameter,
	// Optional parameters:
	// "MSE_ SC _1_2_60_c",
	// "MSE_ SC _2_4_60_c",
	// "MSE_ SC _4_8_60_c",
	// "MSE_ SC _8_16_60_c",
	// "MSE_ SC _16_32_60_c".
	ClusterSpecification interface{} `field:"required" json:"clusterSpecification" yaml:"clusterSpecification"`
	// Property clusterType: cluster type.
	ClusterType interface{} `field:"required" json:"clusterType" yaml:"clusterType"`
	// Property clusterVersion: Cluster version, such as ZooKeeper_3_8_0,NACOS_2_0_0.
	ClusterVersion interface{} `field:"required" json:"clusterVersion" yaml:"clusterVersion"`
	// Property instanceCount: instance count.
	InstanceCount interface{} `field:"required" json:"instanceCount" yaml:"instanceCount"`
	// Property netType: Network type (whether private network is enabled or not).
	//
	// privatenet indicates that private network is enabled.
	NetType interface{} `field:"required" json:"netType" yaml:"netType"`
	// Property acceptLanguage:.
	AcceptLanguage interface{} `field:"optional" json:"acceptLanguage" yaml:"acceptLanguage"`
	// Property aclEntryList: The public network whitelist list is used only when the public network is enabled.
	AclEntryList interface{} `field:"optional" json:"aclEntryList" yaml:"aclEntryList"`
	// Property clusterAliasName: cluster alias name.
	ClusterAliasName interface{} `field:"optional" json:"clusterAliasName" yaml:"clusterAliasName"`
	// Property connectionType: network connect type.
	ConnectionType interface{} `field:"optional" json:"connectionType" yaml:"connectionType"`
	// Property diskType: disk type.
	DiskType interface{} `field:"optional" json:"diskType" yaml:"diskType"`
	// Property mseVersion: Required, the value is as follows:.
	//
	// -'mse_dev': indicates the development version.
	// -'Mse_pro': means professional version. When this version is selected, the specification is 2c4g or above, and the specification is 3 nodes or above.
	MseVersion interface{} `field:"optional" json:"mseVersion" yaml:"mseVersion"`
	// Property privateSlbSpecification:.
	PrivateSlbSpecification interface{} `field:"optional" json:"privateSlbSpecification" yaml:"privateSlbSpecification"`
	// Property pubNetworkFlow: Public network bandwidth.
	//
	// If the bandwidth is greater than 0, the public network is enabled.
	PubNetworkFlow interface{} `field:"optional" json:"pubNetworkFlow" yaml:"pubNetworkFlow"`
	// Property pubSlbSpecification:.
	PubSlbSpecification interface{} `field:"optional" json:"pubSlbSpecification" yaml:"pubSlbSpecification"`
	// Property requestPars:.
	RequestPars interface{} `field:"optional" json:"requestPars" yaml:"requestPars"`
	// Property vpcId: vpc id.
	VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"`
	// Property vSwitchId: switcher Id.
	VSwitchId interface{} `field:"optional" json:"vSwitchId" yaml:"vSwitchId"`
}

Properties for defining a `Cluster`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-cluster

type EngineNamespace

type EngineNamespace interface {
	alicloudroscdkcore.Resource
	// Attribute NamespaceId: The ID of the namespace.
	AttrNamespaceId() alicloudroscdkcore.IResolvable
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	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() *EngineNamespaceProps
	SetProps(val *EngineNamespaceProps)
	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)
	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::MSE::EngineNamespace`, which is used to create a namespace for an engine.

func NewEngineNamespace

func NewEngineNamespace(scope alicloudroscdkcore.Construct, id *string, props *EngineNamespaceProps, enableResourcePropertyConstraint *bool) EngineNamespace

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

type EngineNamespaceProps

type EngineNamespaceProps struct {
	// Property instanceId: The ID of the instance.
	InstanceId interface{} `field:"required" json:"instanceId" yaml:"instanceId"`
	// Property name: The display name of the namespace.
	Name interface{} `field:"required" json:"name" yaml:"name"`
	// Property desc: The description of the namespace.
	Desc interface{} `field:"optional" json:"desc" yaml:"desc"`
	// Property identity: The custom ID of the namespace.
	//
	// If you do not specify this parameter, the automatically generated Universally Unique Identifier (UUID) is returned.
	Identity interface{} `field:"optional" json:"identity" yaml:"identity"`
}

Properties for defining a `EngineNamespace`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-enginenamespace

type Gateway

type Gateway interface {
	alicloudroscdkcore.Resource
	// Attribute BackupVSwitchId: VSwitchId For Backup.
	AttrBackupVSwitchId() alicloudroscdkcore.IResolvable
	// Attribute GatewayUniqueId: Gateway unique identification.
	AttrGatewayUniqueId() alicloudroscdkcore.IResolvable
	// Attribute PaymentType: The payment type of the resource.
	AttrPaymentType() alicloudroscdkcore.IResolvable
	// Attribute Replica: Gateway Node Number.
	AttrReplica() alicloudroscdkcore.IResolvable
	// Attribute Spec: Gateway Node Specifications.
	AttrSpec() alicloudroscdkcore.IResolvable
	// Attribute VpcId: VpcId.
	AttrVpcId() alicloudroscdkcore.IResolvable
	// Attribute VSwitchId: VSwitchId.
	AttrVSwitchId() alicloudroscdkcore.IResolvable
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	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() *GatewayProps
	SetProps(val *GatewayProps)
	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)
	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::MSE::Gateway`, which is used to add a gateway.

func NewGateway

func NewGateway(scope alicloudroscdkcore.Construct, id *string, props *GatewayProps, enableResourcePropertyConstraint *bool) Gateway

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

type GatewayProps

type GatewayProps struct {
	// Property replica: Gateway Node Number.
	Replica interface{} `field:"required" json:"replica" yaml:"replica"`
	// Property spec: Gateway Node Specifications.
	Spec interface{} `field:"required" json:"spec" yaml:"spec"`
	// Property vpcId: VpcId.
	VpcId interface{} `field:"required" json:"vpcId" yaml:"vpcId"`
	// Property vSwitchId: VSwitchId.
	VSwitchId interface{} `field:"required" json:"vSwitchId" yaml:"vSwitchId"`
	// Property backupVSwitchId: VSwitchId For Backup.
	BackupVSwitchId interface{} `field:"optional" json:"backupVSwitchId" yaml:"backupVSwitchId"`
	// Property enterpriseSecurityGroup:.
	EnterpriseSecurityGroup interface{} `field:"optional" json:"enterpriseSecurityGroup" yaml:"enterpriseSecurityGroup"`
	// Property internetSlbSpec:.
	InternetSlbSpec interface{} `field:"optional" json:"internetSlbSpec" yaml:"internetSlbSpec"`
	// Property name:.
	Name interface{} `field:"optional" json:"name" yaml:"name"`
	// Property slbSpec:.
	SlbSpec interface{} `field:"optional" json:"slbSpec" yaml:"slbSpec"`
}

Properties for defining a `Gateway`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-gateway

type NacosConfig

type NacosConfig interface {
	alicloudroscdkcore.Resource
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	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() *NacosConfigProps
	SetProps(val *NacosConfigProps)
	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)
	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::MSE::NacosConfig`, which is used to create a Nacos configuration.

func NewNacosConfig

func NewNacosConfig(scope alicloudroscdkcore.Construct, id *string, props *NacosConfigProps, enableResourcePropertyConstraint *bool) NacosConfig

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

type NacosConfigProps

type NacosConfigProps struct {
	// Property dataId: The data ID.
	DataId interface{} `field:"required" json:"dataId" yaml:"dataId"`
	// Property group: The ID of the group.
	Group interface{} `field:"required" json:"group" yaml:"group"`
	// Property instanceId: The ID of the instance.
	InstanceId interface{} `field:"required" json:"instanceId" yaml:"instanceId"`
	// Property appName: The name of the application.
	AppName interface{} `field:"optional" json:"appName" yaml:"appName"`
	// Property betaIps: The list of IP addresses where the beta release of the configuration is performed.
	BetaIps interface{} `field:"optional" json:"betaIps" yaml:"betaIps"`
	// Property content: The content of the configuration.
	Content interface{} `field:"optional" json:"content" yaml:"content"`
	// Property desc: The description of the configuration.
	Desc interface{} `field:"optional" json:"desc" yaml:"desc"`
	// Property namespaceId: The ID of the namespace.
	NamespaceId interface{} `field:"optional" json:"namespaceId" yaml:"namespaceId"`
	// Property tags: The tag of the configuration.
	Tags *string `field:"optional" json:"tags" yaml:"tags"`
	// Property type: The format of the configuration.
	//
	// Supported formats include TEXT, JSON, and XML.
	Type interface{} `field:"optional" json:"type" yaml:"type"`
}

Properties for defining a `NacosConfig`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-nacosconfig

type NacosService

type NacosService interface {
	alicloudroscdkcore.Resource
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	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() *NacosServiceProps
	SetProps(val *NacosServiceProps)
	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)
	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::MSE::NacosService`, which is used to create a Nacos service.

func NewNacosService

func NewNacosService(scope alicloudroscdkcore.Construct, id *string, props *NacosServiceProps, enableResourcePropertyConstraint *bool) NacosService

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

type NacosServiceProps

type NacosServiceProps struct {
	// Property instanceId: The ID of the instance.
	InstanceId interface{} `field:"required" json:"instanceId" yaml:"instanceId"`
	// Property serviceName: The name of the service.
	ServiceName interface{} `field:"required" json:"serviceName" yaml:"serviceName"`
	// Property ephemeral: Specifies whether the instance is a temporary node.
	//
	// Valid values:
	// true: yes
	// false: no.
	Ephemeral interface{} `field:"optional" json:"ephemeral" yaml:"ephemeral"`
	// Property groupName: The name of the group.
	GroupName interface{} `field:"optional" json:"groupName" yaml:"groupName"`
	// Property namespaceId: The ID of the namespace.
	NamespaceId interface{} `field:"optional" json:"namespaceId" yaml:"namespaceId"`
	// Property protectThreshold: The protection threshold.
	ProtectThreshold interface{} `field:"optional" json:"protectThreshold" yaml:"protectThreshold"`
}

Properties for defining a `NacosService`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-nacosservice

type RosCluster

type RosCluster interface {
	alicloudroscdkcore.RosResource
	AcceptLanguage() interface{}
	SetAcceptLanguage(val interface{})
	AclEntryList() interface{}
	SetAclEntryList(val interface{})
	AttrAclEntryList() alicloudroscdkcore.IResolvable
	AttrAclId() alicloudroscdkcore.IResolvable
	AttrAppVersion() alicloudroscdkcore.IResolvable
	AttrClusterAliasName() alicloudroscdkcore.IResolvable
	AttrClusterId() alicloudroscdkcore.IResolvable
	AttrClusterName() alicloudroscdkcore.IResolvable
	AttrClusterSpecification() alicloudroscdkcore.IResolvable
	AttrClusterType() alicloudroscdkcore.IResolvable
	AttrClusterVersion() alicloudroscdkcore.IResolvable
	AttrConfigAuthEnabled() alicloudroscdkcore.IResolvable
	AttrConfigSecretEnabled() alicloudroscdkcore.IResolvable
	AttrConnectionType() alicloudroscdkcore.IResolvable
	AttrCpu() alicloudroscdkcore.IResolvable
	AttrDiskCapacity() alicloudroscdkcore.IResolvable
	AttrDiskType() alicloudroscdkcore.IResolvable
	AttrHealthStatus() alicloudroscdkcore.IResolvable
	AttrInstanceCount() alicloudroscdkcore.IResolvable
	AttrInstanceId() alicloudroscdkcore.IResolvable
	AttrInternetAddress() alicloudroscdkcore.IResolvable
	AttrInternetDomain() alicloudroscdkcore.IResolvable
	AttrInternetPort() alicloudroscdkcore.IResolvable
	AttrIntranetAddress() alicloudroscdkcore.IResolvable
	AttrIntranetDomain() alicloudroscdkcore.IResolvable
	AttrIntranetPort() alicloudroscdkcore.IResolvable
	AttrMcpEnabled() alicloudroscdkcore.IResolvable
	AttrMemoryCapacity() alicloudroscdkcore.IResolvable
	AttrMseVersion() alicloudroscdkcore.IResolvable
	AttrNetType() alicloudroscdkcore.IResolvable
	AttrPayInfo() alicloudroscdkcore.IResolvable
	AttrPubNetworkFlow() alicloudroscdkcore.IResolvable
	AttrVpcId() alicloudroscdkcore.IResolvable
	AttrVSwitchId() alicloudroscdkcore.IResolvable
	ClusterAliasName() interface{}
	SetClusterAliasName(val interface{})
	ClusterSpecification() interface{}
	SetClusterSpecification(val interface{})
	ClusterType() interface{}
	SetClusterType(val interface{})
	ClusterVersion() interface{}
	SetClusterVersion(val interface{})
	ConnectionType() interface{}
	SetConnectionType(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
	DiskType() interface{}
	SetDiskType(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	InstanceCount() interface{}
	SetInstanceCount(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
	MseVersion() interface{}
	SetMseVersion(val interface{})
	NetType() interface{}
	SetNetType(val interface{})
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	PrivateSlbSpecification() interface{}
	SetPrivateSlbSpecification(val interface{})
	PubNetworkFlow() interface{}
	SetPubNetworkFlow(val interface{})
	PubSlbSpecification() interface{}
	SetPubSlbSpecification(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
	RequestPars() interface{}
	SetRequestPars(val interface{})
	// 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{}
	VpcId() interface{}
	SetVpcId(val interface{})
	VSwitchId() interface{}
	SetVSwitchId(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)
	// 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::MSE::Cluster`, which is used to create a cluster.

func NewRosCluster

func NewRosCluster(scope alicloudroscdkcore.Construct, id *string, props *RosClusterProps, enableResourcePropertyConstraint *bool) RosCluster

type RosClusterProps

type RosClusterProps struct {
	ClusterSpecification    interface{} `field:"required" json:"clusterSpecification" yaml:"clusterSpecification"`
	ClusterType             interface{} `field:"required" json:"clusterType" yaml:"clusterType"`
	ClusterVersion          interface{} `field:"required" json:"clusterVersion" yaml:"clusterVersion"`
	InstanceCount           interface{} `field:"required" json:"instanceCount" yaml:"instanceCount"`
	NetType                 interface{} `field:"required" json:"netType" yaml:"netType"`
	AcceptLanguage          interface{} `field:"optional" json:"acceptLanguage" yaml:"acceptLanguage"`
	AclEntryList            interface{} `field:"optional" json:"aclEntryList" yaml:"aclEntryList"`
	ClusterAliasName        interface{} `field:"optional" json:"clusterAliasName" yaml:"clusterAliasName"`
	ConnectionType          interface{} `field:"optional" json:"connectionType" yaml:"connectionType"`
	DiskType                interface{} `field:"optional" json:"diskType" yaml:"diskType"`
	MseVersion              interface{} `field:"optional" json:"mseVersion" yaml:"mseVersion"`
	PrivateSlbSpecification interface{} `field:"optional" json:"privateSlbSpecification" yaml:"privateSlbSpecification"`
	PubNetworkFlow          interface{} `field:"optional" json:"pubNetworkFlow" yaml:"pubNetworkFlow"`
	PubSlbSpecification     interface{} `field:"optional" json:"pubSlbSpecification" yaml:"pubSlbSpecification"`
	RequestPars             interface{} `field:"optional" json:"requestPars" yaml:"requestPars"`
	VpcId                   interface{} `field:"optional" json:"vpcId" yaml:"vpcId"`
	VSwitchId               interface{} `field:"optional" json:"vSwitchId" yaml:"vSwitchId"`
}

Properties for defining a `RosCluster`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-cluster

type RosEngineNamespace

type RosEngineNamespace 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
	Desc() interface{}
	SetDesc(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	Identity() interface{}
	SetIdentity(val interface{})
	InstanceId() interface{}
	SetInstanceId(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
	Name() interface{}
	SetName(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)
	// 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::MSE::EngineNamespace`, which is used to create a namespace for an engine.

func NewRosEngineNamespace

func NewRosEngineNamespace(scope alicloudroscdkcore.Construct, id *string, props *RosEngineNamespaceProps, enableResourcePropertyConstraint *bool) RosEngineNamespace

type RosEngineNamespaceProps

type RosEngineNamespaceProps struct {
	InstanceId interface{} `field:"required" json:"instanceId" yaml:"instanceId"`
	Name       interface{} `field:"required" json:"name" yaml:"name"`
	Desc       interface{} `field:"optional" json:"desc" yaml:"desc"`
	Identity   interface{} `field:"optional" json:"identity" yaml:"identity"`
}

Properties for defining a `RosEngineNamespace`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-enginenamespace

type RosGateway

type RosGateway interface {
	alicloudroscdkcore.RosResource
	AttrBackupVSwitchId() alicloudroscdkcore.IResolvable
	AttrGatewayUniqueId() alicloudroscdkcore.IResolvable
	AttrPaymentType() alicloudroscdkcore.IResolvable
	AttrReplica() alicloudroscdkcore.IResolvable
	AttrSpec() alicloudroscdkcore.IResolvable
	AttrVpcId() alicloudroscdkcore.IResolvable
	AttrVSwitchId() alicloudroscdkcore.IResolvable
	BackupVSwitchId() interface{}
	SetBackupVSwitchId(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
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	EnterpriseSecurityGroup() interface{}
	SetEnterpriseSecurityGroup(val interface{})
	InternetSlbSpec() interface{}
	SetInternetSlbSpec(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
	Name() interface{}
	SetName(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
	Replica() interface{}
	SetReplica(val interface{})
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	SlbSpec() interface{}
	SetSlbSpec(val interface{})
	Spec() interface{}
	SetSpec(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{}
	VpcId() interface{}
	SetVpcId(val interface{})
	VSwitchId() interface{}
	SetVSwitchId(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)
	// 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::MSE::Gateway`, which is used to add a gateway.

func NewRosGateway

func NewRosGateway(scope alicloudroscdkcore.Construct, id *string, props *RosGatewayProps, enableResourcePropertyConstraint *bool) RosGateway

type RosGatewayProps

type RosGatewayProps struct {
	Replica                 interface{} `field:"required" json:"replica" yaml:"replica"`
	Spec                    interface{} `field:"required" json:"spec" yaml:"spec"`
	VpcId                   interface{} `field:"required" json:"vpcId" yaml:"vpcId"`
	VSwitchId               interface{} `field:"required" json:"vSwitchId" yaml:"vSwitchId"`
	BackupVSwitchId         interface{} `field:"optional" json:"backupVSwitchId" yaml:"backupVSwitchId"`
	EnterpriseSecurityGroup interface{} `field:"optional" json:"enterpriseSecurityGroup" yaml:"enterpriseSecurityGroup"`
	InternetSlbSpec         interface{} `field:"optional" json:"internetSlbSpec" yaml:"internetSlbSpec"`
	Name                    interface{} `field:"optional" json:"name" yaml:"name"`
	SlbSpec                 interface{} `field:"optional" json:"slbSpec" yaml:"slbSpec"`
}

Properties for defining a `RosGateway`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-gateway

type RosNacosConfig

type RosNacosConfig interface {
	alicloudroscdkcore.RosResource
	AppName() interface{}
	SetAppName(val interface{})
	BetaIps() interface{}
	SetBetaIps(val interface{})
	Content() interface{}
	SetContent(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
	DataId() interface{}
	SetDataId(val interface{})
	Desc() interface{}
	SetDesc(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	Group() interface{}
	SetGroup(val interface{})
	InstanceId() interface{}
	SetInstanceId(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
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	Tags() *string
	SetTags(val *string)
	Type() interface{}
	SetType(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{}
	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)
	// 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::MSE::NacosConfig`, which is used to create a Nacos configuration.

func NewRosNacosConfig

func NewRosNacosConfig(scope alicloudroscdkcore.Construct, id *string, props *RosNacosConfigProps, enableResourcePropertyConstraint *bool) RosNacosConfig

type RosNacosConfigProps

type RosNacosConfigProps struct {
	DataId      interface{} `field:"required" json:"dataId" yaml:"dataId"`
	Group       interface{} `field:"required" json:"group" yaml:"group"`
	InstanceId  interface{} `field:"required" json:"instanceId" yaml:"instanceId"`
	AppName     interface{} `field:"optional" json:"appName" yaml:"appName"`
	BetaIps     interface{} `field:"optional" json:"betaIps" yaml:"betaIps"`
	Content     interface{} `field:"optional" json:"content" yaml:"content"`
	Desc        interface{} `field:"optional" json:"desc" yaml:"desc"`
	NamespaceId interface{} `field:"optional" json:"namespaceId" yaml:"namespaceId"`
	Tags        *string     `field:"optional" json:"tags" yaml:"tags"`
	Type        interface{} `field:"optional" json:"type" yaml:"type"`
}

Properties for defining a `RosNacosConfig`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-nacosconfig

type RosNacosService

type RosNacosService interface {
	alicloudroscdkcore.RosResource
	// 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)
	Ephemeral() interface{}
	SetEphemeral(val interface{})
	GroupName() interface{}
	SetGroupName(val interface{})
	InstanceId() interface{}
	SetInstanceId(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
	ProtectThreshold() interface{}
	SetProtectThreshold(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
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	ServiceName() interface{}
	SetServiceName(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)
	// 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::MSE::NacosService`, which is used to create a Nacos service.

func NewRosNacosService

func NewRosNacosService(scope alicloudroscdkcore.Construct, id *string, props *RosNacosServiceProps, enableResourcePropertyConstraint *bool) RosNacosService

type RosNacosServiceProps

type RosNacosServiceProps struct {
	InstanceId       interface{} `field:"required" json:"instanceId" yaml:"instanceId"`
	ServiceName      interface{} `field:"required" json:"serviceName" yaml:"serviceName"`
	Ephemeral        interface{} `field:"optional" json:"ephemeral" yaml:"ephemeral"`
	GroupName        interface{} `field:"optional" json:"groupName" yaml:"groupName"`
	NamespaceId      interface{} `field:"optional" json:"namespaceId" yaml:"namespaceId"`
	ProtectThreshold interface{} `field:"optional" json:"protectThreshold" yaml:"protectThreshold"`
}

Properties for defining a `RosNacosService`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-nacosservice

type RosServiceSource

type RosServiceSource interface {
	alicloudroscdkcore.RosResource
	Address() interface{}
	SetAddress(val interface{})
	AttrAddress() alicloudroscdkcore.IResolvable
	AttrGatewayUniqueId() alicloudroscdkcore.IResolvable
	AttrId() alicloudroscdkcore.IResolvable
	AttrName() 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)
	GatewayUniqueId() interface{}
	SetGatewayUniqueId(val interface{})
	GroupList() interface{}
	SetGroupList(val interface{})
	IngressOptions() interface{}
	SetIngressOptions(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
	Name() interface{}
	SetName(val interface{})
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	PathList() interface{}
	SetPathList(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
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	Source() interface{}
	SetSource(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)
	// 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::MSE::ServiceSource`, which is used to create a Nacos service source.

func NewRosServiceSource

func NewRosServiceSource(scope alicloudroscdkcore.Construct, id *string, props *RosServiceSourceProps, enableResourcePropertyConstraint *bool) RosServiceSource

type RosServiceSourceProps

type RosServiceSourceProps struct {
	GatewayUniqueId interface{} `field:"required" json:"gatewayUniqueId" yaml:"gatewayUniqueId"`
	Name            interface{} `field:"required" json:"name" yaml:"name"`
	Source          interface{} `field:"required" json:"source" yaml:"source"`
	Address         interface{} `field:"optional" json:"address" yaml:"address"`
	GroupList       interface{} `field:"optional" json:"groupList" yaml:"groupList"`
	IngressOptions  interface{} `field:"optional" json:"ingressOptions" yaml:"ingressOptions"`
	PathList        interface{} `field:"optional" json:"pathList" yaml:"pathList"`
}

Properties for defining a `RosServiceSource`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-servicesource

type RosServiceSource_IngressOptionsProperty

type RosServiceSource_IngressOptionsProperty struct {
	EnableIngress  interface{} `field:"optional" json:"enableIngress" yaml:"enableIngress"`
	EnableStatus   interface{} `field:"optional" json:"enableStatus" yaml:"enableStatus"`
	IngressClass   interface{} `field:"optional" json:"ingressClass" yaml:"ingressClass"`
	WatchNamespace interface{} `field:"optional" json:"watchNamespace" yaml:"watchNamespace"`
}

type ServiceSource

type ServiceSource interface {
	alicloudroscdkcore.Resource
	// Attribute Address: Registration Address.
	//
	// If not specified, it will be automatically generated based on the selected instance.
	AttrAddress() alicloudroscdkcore.IResolvable
	// Attribute GatewayUniqueId: The unique ID of the gateway.
	AttrGatewayUniqueId() alicloudroscdkcore.IResolvable
	// Attribute Id: The ID of service source.
	AttrId() alicloudroscdkcore.IResolvable
	// Attribute Name: The name.
	//
	// If Type is set to K8S, this parameter specifies the name of the ACK cluster.
	// If Type is set to NACOS, this parameter specifies the ID of the Nacos instance.
	AttrName() alicloudroscdkcore.IResolvable
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	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() *ServiceSourceProps
	SetProps(val *ServiceSourceProps)
	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)
	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::MSE::ServiceSource`, which is used to create a Nacos service source.

func NewServiceSource

func NewServiceSource(scope alicloudroscdkcore.Construct, id *string, props *ServiceSourceProps, enableResourcePropertyConstraint *bool) ServiceSource

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

type ServiceSourceProps

type ServiceSourceProps struct {
	// Property gatewayUniqueId: The unique ID of the gateway.
	GatewayUniqueId interface{} `field:"required" json:"gatewayUniqueId" yaml:"gatewayUniqueId"`
	// Property name: The name.
	//
	// If Source=K8S, this parameter specifies the name of the ACK cluster.
	// If Source=MSE, this parameter specifies the ID of the Nacos instance.
	// If Source=MSE_ZK, this parameter specifies the ID of the ZooKeeper instance.
	// If Source=EDAS, this parameter specifies the ID of the EDAS namespace.
	// If Source=SAE, this parameter specifies the ID of the SAE namespace.
	Name interface{} `field:"required" json:"name" yaml:"name"`
	// Property source: The service source.
	//
	// Valid values:
	// K8S: ACK cluster
	// MSE: MSE Nacos instance.
	Source interface{} `field:"required" json:"source" yaml:"source"`
	// Property address: Registration Address.
	//
	// If not specified, it will be automatically generated based on the selected instance.
	Address interface{} `field:"optional" json:"address" yaml:"address"`
	// Property groupList: The list of service groups.
	//
	// This is required when Source=EDAS.
	GroupList interface{} `field:"optional" json:"groupList" yaml:"groupList"`
	// Property ingressOptions: The Ingress configuration.
	IngressOptions interface{} `field:"optional" json:"ingressOptions" yaml:"ingressOptions"`
	// Property pathList: An array of service root paths.
	PathList interface{} `field:"optional" json:"pathList" yaml:"pathList"`
}

Properties for defining a `ServiceSource`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-servicesource

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