alicloudroscdkalb

package module
v1.6.0 Latest Latest
Warning

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

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

README

Aliyun ROS ALB Construct Library

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

import * as ALB from '@alicloud/ros-cdk-alb';

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 AScript_IsConstruct

func AScript_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func AclAssociation_IsConstruct

func AclAssociation_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func Acl_IsConstruct

func Acl_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func AdditionalCertificateAssociation_IsConstruct

func AdditionalCertificateAssociation_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func BackendServerAttachment_IsConstruct

func BackendServerAttachment_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func HealthCheckTemplate_IsConstruct

func HealthCheckTemplate_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func Listener_IsConstruct

func Listener_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func LoadBalancer_IsConstruct

func LoadBalancer_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func NewAScript_Override

func NewAScript_Override(a AScript, scope alicloudroscdkcore.Construct, id *string, props *AScriptProps, enableResourcePropertyConstraint *bool)

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

func NewAclAssociation_Override

func NewAclAssociation_Override(a AclAssociation, scope alicloudroscdkcore.Construct, id *string, props *AclAssociationProps, enableResourcePropertyConstraint *bool)

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

func NewAcl_Override

func NewAcl_Override(a Acl, scope alicloudroscdkcore.Construct, id *string, props *AclProps, enableResourcePropertyConstraint *bool)

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

func NewAdditionalCertificateAssociation_Override

func NewAdditionalCertificateAssociation_Override(a AdditionalCertificateAssociation, scope alicloudroscdkcore.Construct, id *string, props *AdditionalCertificateAssociationProps, enableResourcePropertyConstraint *bool)

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

func NewBackendServerAttachment_Override

func NewBackendServerAttachment_Override(b BackendServerAttachment, scope alicloudroscdkcore.Construct, id *string, props *BackendServerAttachmentProps, enableResourcePropertyConstraint *bool)

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

func NewHealthCheckTemplate_Override

func NewHealthCheckTemplate_Override(h HealthCheckTemplate, scope alicloudroscdkcore.Construct, id *string, props *HealthCheckTemplateProps, enableResourcePropertyConstraint *bool)

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

func NewListener_Override

func NewListener_Override(l Listener, scope alicloudroscdkcore.Construct, id *string, props *ListenerProps, enableResourcePropertyConstraint *bool)

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

func NewLoadBalancer_Override

func NewLoadBalancer_Override(l LoadBalancer, scope alicloudroscdkcore.Construct, id *string, props *LoadBalancerProps, enableResourcePropertyConstraint *bool)

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

func NewRosAScript_Override

func NewRosAScript_Override(r RosAScript, scope alicloudroscdkcore.Construct, id *string, props *RosAScriptProps, enableResourcePropertyConstraint *bool)

func NewRosAclAssociation_Override

func NewRosAclAssociation_Override(r RosAclAssociation, scope alicloudroscdkcore.Construct, id *string, props *RosAclAssociationProps, enableResourcePropertyConstraint *bool)

func NewRosAcl_Override

func NewRosAcl_Override(r RosAcl, scope alicloudroscdkcore.Construct, id *string, props *RosAclProps, enableResourcePropertyConstraint *bool)

func NewRosAdditionalCertificateAssociation_Override

func NewRosAdditionalCertificateAssociation_Override(r RosAdditionalCertificateAssociation, scope alicloudroscdkcore.Construct, id *string, props *RosAdditionalCertificateAssociationProps, enableResourcePropertyConstraint *bool)

func NewRosBackendServerAttachment_Override

func NewRosBackendServerAttachment_Override(r RosBackendServerAttachment, scope alicloudroscdkcore.Construct, id *string, props *RosBackendServerAttachmentProps, enableResourcePropertyConstraint *bool)

func NewRosHealthCheckTemplate_Override

func NewRosHealthCheckTemplate_Override(r RosHealthCheckTemplate, scope alicloudroscdkcore.Construct, id *string, props *RosHealthCheckTemplateProps, enableResourcePropertyConstraint *bool)

func NewRosListener_Override

func NewRosListener_Override(r RosListener, scope alicloudroscdkcore.Construct, id *string, props *RosListenerProps, enableResourcePropertyConstraint *bool)

func NewRosLoadBalancer_Override

func NewRosLoadBalancer_Override(r RosLoadBalancer, scope alicloudroscdkcore.Construct, id *string, props *RosLoadBalancerProps, enableResourcePropertyConstraint *bool)

func NewRosRule_Override

func NewRosRule_Override(r RosRule, scope alicloudroscdkcore.Construct, id *string, props *RosRuleProps, enableResourcePropertyConstraint *bool)

func NewRosSecurityGroupAttachment_Override

func NewRosSecurityGroupAttachment_Override(r RosSecurityGroupAttachment, scope alicloudroscdkcore.Construct, id *string, props *RosSecurityGroupAttachmentProps, enableResourcePropertyConstraint *bool)

func NewRosSecurityPolicy_Override

func NewRosSecurityPolicy_Override(r RosSecurityPolicy, scope alicloudroscdkcore.Construct, id *string, props *RosSecurityPolicyProps, enableResourcePropertyConstraint *bool)

func NewRosServerGroup_Override

func NewRosServerGroup_Override(r RosServerGroup, scope alicloudroscdkcore.Construct, id *string, props *RosServerGroupProps, enableResourcePropertyConstraint *bool)

func NewRule_Override

func NewRule_Override(r Rule, scope alicloudroscdkcore.Construct, id *string, props *RuleProps, enableResourcePropertyConstraint *bool)

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

func NewSecurityGroupAttachment_Override

func NewSecurityGroupAttachment_Override(s SecurityGroupAttachment, scope alicloudroscdkcore.Construct, id *string, props *SecurityGroupAttachmentProps, enableResourcePropertyConstraint *bool)

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

func NewSecurityPolicy_Override

func NewSecurityPolicy_Override(s SecurityPolicy, scope alicloudroscdkcore.Construct, id *string, props *SecurityPolicyProps, enableResourcePropertyConstraint *bool)

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

func NewServerGroup_Override

func NewServerGroup_Override(s ServerGroup, scope alicloudroscdkcore.Construct, id *string, props *ServerGroupProps, enableResourcePropertyConstraint *bool)

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

func RosAScript_IsConstruct

func RosAScript_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosAScript_IsRosElement

func RosAScript_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 RosAScript_IsRosResource

func RosAScript_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosAScript_ROS_RESOURCE_TYPE_NAME

func RosAScript_ROS_RESOURCE_TYPE_NAME() *string

func RosAclAssociation_IsConstruct

func RosAclAssociation_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosAclAssociation_IsRosElement

func RosAclAssociation_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 RosAclAssociation_IsRosResource

func RosAclAssociation_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosAclAssociation_ROS_RESOURCE_TYPE_NAME

func RosAclAssociation_ROS_RESOURCE_TYPE_NAME() *string

func RosAcl_IsConstruct

func RosAcl_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosAcl_IsRosElement

func RosAcl_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 RosAcl_IsRosResource

func RosAcl_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosAcl_ROS_RESOURCE_TYPE_NAME

func RosAcl_ROS_RESOURCE_TYPE_NAME() *string

func RosAdditionalCertificateAssociation_IsConstruct

func RosAdditionalCertificateAssociation_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosAdditionalCertificateAssociation_IsRosElement

func RosAdditionalCertificateAssociation_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 RosAdditionalCertificateAssociation_IsRosResource

func RosAdditionalCertificateAssociation_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosAdditionalCertificateAssociation_ROS_RESOURCE_TYPE_NAME

func RosAdditionalCertificateAssociation_ROS_RESOURCE_TYPE_NAME() *string

func RosBackendServerAttachment_IsConstruct

func RosBackendServerAttachment_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosBackendServerAttachment_IsRosElement

func RosBackendServerAttachment_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 RosBackendServerAttachment_IsRosResource

func RosBackendServerAttachment_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosBackendServerAttachment_ROS_RESOURCE_TYPE_NAME

func RosBackendServerAttachment_ROS_RESOURCE_TYPE_NAME() *string

func RosHealthCheckTemplate_IsConstruct

func RosHealthCheckTemplate_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosHealthCheckTemplate_IsRosElement

func RosHealthCheckTemplate_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 RosHealthCheckTemplate_IsRosResource

func RosHealthCheckTemplate_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosHealthCheckTemplate_ROS_RESOURCE_TYPE_NAME

func RosHealthCheckTemplate_ROS_RESOURCE_TYPE_NAME() *string

func RosListener_IsConstruct

func RosListener_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosListener_IsRosElement

func RosListener_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 RosListener_IsRosResource

func RosListener_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosListener_ROS_RESOURCE_TYPE_NAME

func RosListener_ROS_RESOURCE_TYPE_NAME() *string

func RosLoadBalancer_IsConstruct

func RosLoadBalancer_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosLoadBalancer_IsRosElement

func RosLoadBalancer_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 RosLoadBalancer_IsRosResource

func RosLoadBalancer_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosLoadBalancer_ROS_RESOURCE_TYPE_NAME

func RosLoadBalancer_ROS_RESOURCE_TYPE_NAME() *string

func RosRule_IsConstruct

func RosRule_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosRule_IsRosElement

func RosRule_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 RosRule_IsRosResource

func RosRule_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosRule_ROS_RESOURCE_TYPE_NAME

func RosRule_ROS_RESOURCE_TYPE_NAME() *string

func RosSecurityGroupAttachment_IsConstruct

func RosSecurityGroupAttachment_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosSecurityGroupAttachment_IsRosElement

func RosSecurityGroupAttachment_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 RosSecurityGroupAttachment_IsRosResource

func RosSecurityGroupAttachment_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosSecurityGroupAttachment_ROS_RESOURCE_TYPE_NAME

func RosSecurityGroupAttachment_ROS_RESOURCE_TYPE_NAME() *string

func RosSecurityPolicy_IsConstruct

func RosSecurityPolicy_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosSecurityPolicy_IsRosElement

func RosSecurityPolicy_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 RosSecurityPolicy_IsRosResource

func RosSecurityPolicy_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosSecurityPolicy_ROS_RESOURCE_TYPE_NAME

func RosSecurityPolicy_ROS_RESOURCE_TYPE_NAME() *string

func RosServerGroup_IsConstruct

func RosServerGroup_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func RosServerGroup_IsRosElement

func RosServerGroup_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 RosServerGroup_IsRosResource

func RosServerGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool

Check whether the given construct is a RosResource.

func RosServerGroup_ROS_RESOURCE_TYPE_NAME

func RosServerGroup_ROS_RESOURCE_TYPE_NAME() *string

func Rule_IsConstruct

func Rule_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func SecurityGroupAttachment_IsConstruct

func SecurityGroupAttachment_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func SecurityPolicy_IsConstruct

func SecurityPolicy_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

func ServerGroup_IsConstruct

func ServerGroup_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

Types

type AScript

type AScript interface {
	alicloudroscdkcore.Resource
	IAScript
	// Attribute AScriptId: The AScript rule ID.
	AttrAScriptId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *AScriptProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::AScript`, which is used to create an AScript rule.

func NewAScript

func NewAScript(scope alicloudroscdkcore.Construct, id *string, props *AScriptProps, enableResourcePropertyConstraint *bool) AScript

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

type AScriptProps

type AScriptProps struct {
	// Property aScriptName: The name of the AScript rule.
	//
	// The name must be 2 to 128 character in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
	AScriptName interface{} `field:"required" json:"aScriptName" yaml:"aScriptName"`
	// Property listenerId: The listener ID.
	ListenerId interface{} `field:"required" json:"listenerId" yaml:"listenerId"`
	// Property scriptContent: The content of the AScript rule.
	ScriptContent interface{} `field:"required" json:"scriptContent" yaml:"scriptContent"`
	// Property enabled: Specifies whether to enable the AScript rule.
	//
	// Valid values:
	// true
	// false (default).
	Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
	// Property extAttributeEnabled: Specifies whether to enable the extended attributes of the AScript rule.
	//
	// Valid values:
	// true
	// false (default).
	ExtAttributeEnabled interface{} `field:"optional" json:"extAttributeEnabled" yaml:"extAttributeEnabled"`
	// Property extAttributes: The extended attributes.
	ExtAttributes interface{} `field:"optional" json:"extAttributes" yaml:"extAttributes"`
}

Properties for defining a `AScript`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-ascript

type Acl

type Acl interface {
	alicloudroscdkcore.Resource
	IAcl
	// Attribute AclId: The ID of the ACL.
	AttrAclId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *AclProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::Acl`, which is used to create an access control list (ACL).

func NewAcl

func NewAcl(scope alicloudroscdkcore.Construct, id *string, props *AclProps, enableResourcePropertyConstraint *bool) Acl

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

type AclAssociation

type AclAssociation interface {
	alicloudroscdkcore.Resource
	IAclAssociation
	// Attribute ListenerId: The ID of the listener.
	AttrListenerId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *AclAssociationProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::AclAssociation`, which is used to associate access control lists (ACLs) with a listener.

func NewAclAssociation

func NewAclAssociation(scope alicloudroscdkcore.Construct, id *string, props *AclAssociationProps, enableResourcePropertyConstraint *bool) AclAssociation

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

type AclAssociationProps

type AclAssociationProps struct {
	// Property aclIds: The IDs of the ACLs.
	//
	// You can specify up to three IDs at a time.
	AclIds interface{} `field:"required" json:"aclIds" yaml:"aclIds"`
	// Property aclType: The type of ACL.
	AclType interface{} `field:"required" json:"aclType" yaml:"aclType"`
	// Property listenerId: The ID of the listener.
	ListenerId interface{} `field:"required" json:"listenerId" yaml:"listenerId"`
}

Properties for defining a `AclAssociation`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-aclassociation

type AclProps

type AclProps struct {
	// Property aclEntries: undefined.
	AclEntries interface{} `field:"optional" json:"aclEntries" yaml:"aclEntries"`
	// Property aclName: The name of the ACL.
	//
	// The name must be 2 to 128 characters in length, and can contain
	// letters, digits, hyphens (-) and underscores (_). It must start with a letter.
	AclName interface{} `field:"optional" json:"aclName" yaml:"aclName"`
	// Property resourceGroupId: The ID of the resource group.
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
}

Properties for defining a `Acl`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-acl

type AdditionalCertificateAssociation

type AdditionalCertificateAssociation interface {
	alicloudroscdkcore.Resource
	IAdditionalCertificateAssociation
	// Attribute ListenerId: The ID of the listener.
	AttrListenerId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *AdditionalCertificateAssociationProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::AdditionalCertificateAssociation`, which is used to add additional certificates to a listener.

func NewAdditionalCertificateAssociation

func NewAdditionalCertificateAssociation(scope alicloudroscdkcore.Construct, id *string, props *AdditionalCertificateAssociationProps, enableResourcePropertyConstraint *bool) AdditionalCertificateAssociation

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

type AdditionalCertificateAssociationProps

type AdditionalCertificateAssociationProps struct {
	// Property certificates: The list of the additional certificates.
	Certificates interface{} `field:"required" json:"certificates" yaml:"certificates"`
	// Property listenerId: The ID of the listener.
	ListenerId interface{} `field:"required" json:"listenerId" yaml:"listenerId"`
}

Properties for defining a `AdditionalCertificateAssociation`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-additionalcertificateassociation

type BackendServerAttachment

type BackendServerAttachment interface {
	alicloudroscdkcore.Resource
	IBackendServerAttachment
	// Attribute ServerGroupId: The ID of the server group.
	AttrServerGroupId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *BackendServerAttachmentProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::BackendServerAttachment`, which is used to add backend servers to a server group.

func NewBackendServerAttachment

func NewBackendServerAttachment(scope alicloudroscdkcore.Construct, id *string, props *BackendServerAttachmentProps, enableResourcePropertyConstraint *bool) BackendServerAttachment

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

type BackendServerAttachmentProps

type BackendServerAttachmentProps struct {
	// Property serverGroupId: The ID of the server group.
	ServerGroupId interface{} `field:"required" json:"serverGroupId" yaml:"serverGroupId"`
	// Property servers: The backend servers that you want to add to the server group.
	//
	// You can specify up to
	// 40 servers in each call.
	Servers interface{} `field:"required" json:"servers" yaml:"servers"`
}

Properties for defining a `BackendServerAttachment`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-backendserverattachment

type HealthCheckTemplate

type HealthCheckTemplate interface {
	alicloudroscdkcore.Resource
	IHealthCheckTemplate
	// Attribute HealthCheckTemplateId: The ID of the health check template.
	AttrHealthCheckTemplateId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *HealthCheckTemplateProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::HealthCheckTemplate`, which is used to create a health check template.

func NewHealthCheckTemplate

func NewHealthCheckTemplate(scope alicloudroscdkcore.Construct, id *string, props *HealthCheckTemplateProps, enableResourcePropertyConstraint *bool) HealthCheckTemplate

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

type HealthCheckTemplateProps

type HealthCheckTemplateProps struct {
	// Property healthCheckTemplateName: The name of the health check template.
	//
	// The name must be 2 to 128 characters in length, and can contain letters, digits, periods
	// (.), underscores (_), and hyphens (-). The name must start with a letter.
	HealthCheckTemplateName interface{} `field:"required" json:"healthCheckTemplateName" yaml:"healthCheckTemplateName"`
	// Property healthCheckCodes: The HTTP status code for a successful health check.
	//
	// If HealthCheckProtocol is set to HTTP, HealthCheckCodes can be set to http_2xx (default), http_3xx, http_4xx, and http_5xx. Separate multiple HTTP status codes with commas (,).
	// If HealthCheckProtocol is set to gRPC, HealthCheckCodes can be set to 0 to 99. Default value: 0. Value ranges are supported. You can enter at most 20 value ranges and must separate
	// them with commas (,).
	// Note This parameter is required only if the HealthCheckProtocol parameter is set to HTTP.
	HealthCheckCodes interface{} `field:"optional" json:"healthCheckCodes" yaml:"healthCheckCodes"`
	// Property healthCheckConnectPort: The port that is used for health checks.
	//
	// Valid values: 0 to 65535.
	// Default value: 0. This value indicates that the port on a backend server is used for health checks.
	HealthCheckConnectPort interface{} `field:"optional" json:"healthCheckConnectPort" yaml:"healthCheckConnectPort"`
	// Property healthCheckHost: The domain name that is used for health checks.
	//
	// Default value: $SERVER_IP. The domain name is 1 to 80 characters in length. Make sure that the destination
	// CIDR block meets the following requirements:
	// The domain name can contain lowercase letters, digits, hyphens (-), and periods (.).
	// The domain name contains at least one period (.) but does not start or end with a
	// period (.).
	// The rightmost domain label can contain only letters, and cannot contain digits or
	// hyphens (-).
	// Other domain labels cannot start or end with a hyphen (-).
	// This parameter is required only if the HealthCheckProtocol parameter is set to HTTP.
	HealthCheckHost interface{} `field:"optional" json:"healthCheckHost" yaml:"healthCheckHost"`
	// Property healthCheckInterval: The interval between two consecutive health checks.
	//
	// Unit: seconds.
	// Valid values: 1 to 50.
	// Default value: 2.
	HealthCheckInterval interface{} `field:"optional" json:"healthCheckInterval" yaml:"healthCheckInterval"`
	// Property healthCheckMethod: The HTTP method that is used for health checks.
	//
	// Valid values:
	// HEAD: By default, the ALB instance sends HEAD requests to a backend server to perform
	// HTTP health checks.
	// POST: By default, gRPC health checks use the POST method.
	// GET: If the length of a response exceeds 8 KB, the response is truncated. However, the
	// health check result is not affected.
	// Note This parameter is required only if the HealthCheckProtocol parameter is set to HTTP.
	HealthCheckMethod interface{} `field:"optional" json:"healthCheckMethod" yaml:"healthCheckMethod"`
	// Property healthCheckPath: The URL path that is used for health checks.
	//
	// It must be 1 to 80 characters in length, and can contain letters, digits, hyphens
	// (-), forward slashes (\/), periods (.), percent signs (%), question marks (?), number
	// signs (#), and ampersands (&). It can also contain the following extended characters:
	// _ ; ~ ! ( ) * [ ] @ $ ^ : ' , +. The URL path must start with a forward slash (\/).
	// Note This parameter is required only if the HealthCheckProtocol parameter is set to HTTP.
	HealthCheckPath interface{} `field:"optional" json:"healthCheckPath" yaml:"healthCheckPath"`
	// Property healthCheckProtocol: The protocol that is used for health checks.
	//
	// Valid values:
	// HTTP: The ALB instance sends HEAD or GET requests to a backend server to simulate access
	// from a browser and check whether the backend server is healthy. This is the default
	// protocol.
	// TCP: To perform TCP health checks, ALB sends SYN packets to a backend server to check
	// whether the port of the backend server is available to receive requests.
	// GRPC: To perform gRPC health checks, ALB sends POST or GET requests to a backend server
	// to check whether the backend server is healthy.
	HealthCheckProtocol interface{} `field:"optional" json:"healthCheckProtocol" yaml:"healthCheckProtocol"`
	// Property healthCheckTimeout: The timeout period of a health check.
	//
	// Unit: seconds. If a backend server does not
	// respond within the specified timeout period, the backend server fails the health check.
	// Valid values: 1 to 300.
	// Default value: 5.
	// Note If the value of the HealthCheckTimeout parameter is smaller than that of the HealthCheckInterval parameter, the timeout period specified by the HealthCheckTimeout parameter is ignored and the value of the HealthCheckInterval parameter is used as the timeout period.
	HealthCheckTimeout interface{} `field:"optional" json:"healthCheckTimeout" yaml:"healthCheckTimeout"`
	// Property healthyThreshold: The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy.
	//
	// In this case, the health status is changed from
	// fail to success.
	// Valid values: 2 to 10.
	// Default value: 3.
	HealthyThreshold interface{} `field:"optional" json:"healthyThreshold" yaml:"healthyThreshold"`
	// Property unhealthyThreshold: The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy.
	//
	// In this case, the health status is changed from success to fail.
	// Valid values: 2 to 10.
	// Default value: 3.
	UnhealthyThreshold interface{} `field:"optional" json:"unhealthyThreshold" yaml:"unhealthyThreshold"`
}

Properties for defining a `HealthCheckTemplate`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-healthchecktemplate

type IAScript added in v1.6.0

type IAScript interface {
	alicloudroscdkcore.IResource
	// Attribute AScriptId: The AScript rule ID.
	AttrAScriptId() interface{}
	Props() *AScriptProps
}

Represents a `AScript`.

type IAcl added in v1.6.0

type IAcl interface {
	alicloudroscdkcore.IResource
	// Attribute AclId: The ID of the ACL.
	AttrAclId() interface{}
	Props() *AclProps
}

Represents a `Acl`.

type IAclAssociation added in v1.6.0

type IAclAssociation interface {
	alicloudroscdkcore.IResource
	// Attribute ListenerId: The ID of the listener.
	AttrListenerId() interface{}
	Props() *AclAssociationProps
}

Represents a `AclAssociation`.

type IAdditionalCertificateAssociation added in v1.6.0

type IAdditionalCertificateAssociation interface {
	alicloudroscdkcore.IResource
	// Attribute ListenerId: The ID of the listener.
	AttrListenerId() interface{}
	Props() *AdditionalCertificateAssociationProps
}

Represents a `AdditionalCertificateAssociation`.

type IBackendServerAttachment added in v1.6.0

type IBackendServerAttachment interface {
	alicloudroscdkcore.IResource
	// Attribute ServerGroupId: The ID of the server group.
	AttrServerGroupId() interface{}
	Props() *BackendServerAttachmentProps
}

Represents a `BackendServerAttachment`.

type IHealthCheckTemplate added in v1.6.0

type IHealthCheckTemplate interface {
	alicloudroscdkcore.IResource
	// Attribute HealthCheckTemplateId: The ID of the health check template.
	AttrHealthCheckTemplateId() interface{}
	Props() *HealthCheckTemplateProps
}

Represents a `HealthCheckTemplate`.

type IListener added in v1.6.0

type IListener interface {
	alicloudroscdkcore.IResource
	// Attribute ListenerId: The ID of the listener.
	AttrListenerId() interface{}
	Props() *ListenerProps
}

Represents a `Listener`.

type ILoadBalancer added in v1.6.0

type ILoadBalancer interface {
	alicloudroscdkcore.IResource
	// Attribute AddressType: The type of IP address that the ALB instance uses to provide services.
	AttrAddressType() interface{}
	// Attribute DNSName: The domain name of the ALB instance.
	AttrDnsName() interface{}
	// Attribute LoadBalancerEdition: The edition of the ALB instance.
	AttrLoadBalancerEdition() interface{}
	// Attribute LoadBalancerId: The ID of the ALB instance.
	AttrLoadBalancerId() interface{}
	// Attribute VpcId: The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
	AttrVpcId() interface{}
	// Attribute ZoneMappings: The zones, vSwitches and addresses which are mapped to the zones.
	AttrZoneMappings() interface{}
	Props() *LoadBalancerProps
}

Represents a `LoadBalancer`.

type IRule added in v1.6.0

type IRule interface {
	alicloudroscdkcore.IResource
	// Attribute RuleId: The ID of the forwarding rules.
	AttrRuleId() interface{}
	Props() *RuleProps
}

Represents a `Rule`.

type ISecurityGroupAttachment added in v1.6.0

type ISecurityGroupAttachment interface {
	alicloudroscdkcore.IResource
	Props() *SecurityGroupAttachmentProps
}

Represents a `SecurityGroupAttachment`.

type ISecurityPolicy added in v1.6.0

type ISecurityPolicy interface {
	alicloudroscdkcore.IResource
	// Attribute SecurityPolicyId: The ID of the security policy.
	AttrSecurityPolicyId() interface{}
	Props() *SecurityPolicyProps
}

Represents a `SecurityPolicy`.

type IServerGroup added in v1.6.0

type IServerGroup interface {
	alicloudroscdkcore.IResource
	// Attribute ServerGroupId: The ID of the server group.
	AttrServerGroupId() interface{}
	Props() *ServerGroupProps
}

Represents a `ServerGroup`.

type Listener

type Listener interface {
	alicloudroscdkcore.Resource
	IListener
	// Attribute ListenerId: The ID of the listener.
	AttrListenerId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *ListenerProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::Listener`, which is used to create an HTTP, HTTPS, or Quick UDP Internet Connections (QUIC) listener.

func NewListener

func NewListener(scope alicloudroscdkcore.Construct, id *string, props *ListenerProps, enableResourcePropertyConstraint *bool) Listener

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

type ListenerProps

type ListenerProps struct {
	// Property defaultActions: The actions of the rule.
	DefaultActions interface{} `field:"required" json:"defaultActions" yaml:"defaultActions"`
	// Property listenerPort: The frontend port that is used by the ALB instance.
	//
	// Valid values: 1 to 65535.
	ListenerPort interface{} `field:"required" json:"listenerPort" yaml:"listenerPort"`
	// Property listenerProtocol: The listener protocol.
	//
	// Valid values: HTTP, HTTPS, and QUIC.
	ListenerProtocol interface{} `field:"required" json:"listenerProtocol" yaml:"listenerProtocol"`
	// Property loadBalancerId: The ID of the ALB instance.
	LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"`
	// Property caCertificates: List of configured CA certificates for listener.
	CaCertificates interface{} `field:"optional" json:"caCertificates" yaml:"caCertificates"`
	// Property caEnabled: Specifies whether to enable mutual authentication.
	//
	// Default false.
	CaEnabled interface{} `field:"optional" json:"caEnabled" yaml:"caEnabled"`
	// Property certificates: The list of SSL certificates for listener.
	Certificates interface{} `field:"optional" json:"certificates" yaml:"certificates"`
	// Property gzipEnabled: Specifies whether to enable gzip compression to compress files of a specific type.
	//
	// Valid values: true and false.
	// Default value: true.
	GzipEnabled interface{} `field:"optional" json:"gzipEnabled" yaml:"gzipEnabled"`
	// Property http2Enabled: Specifies whether to enable HTTP\/2.
	//
	// Default value: on.
	// Valid values: true and false.
	// Default value: true.
	// Note Only HTTPS listeners support this parameter.
	Http2Enabled interface{} `field:"optional" json:"http2Enabled" yaml:"http2Enabled"`
	// Property idleTimeout: The timeout period of idle connections.
	//
	// Valid values: 1 to 180. Unit: seconds.
	// Default value: 15.
	// If no request is received within the specified timeout period, ALB closes the connection.
	// ALB recreates the connection when a new connection request is received.
	IdleTimeout interface{} `field:"optional" json:"idleTimeout" yaml:"idleTimeout"`
	// Property listenerDescription: The description of the listener.
	//
	// The description must be 2 to 256 characters in length.
	ListenerDescription interface{} `field:"optional" json:"listenerDescription" yaml:"listenerDescription"`
	// Property listenerStatus: The status of the listener.
	ListenerStatus interface{} `field:"optional" json:"listenerStatus" yaml:"listenerStatus"`
	// Property quicConfig: Select a QUIC listener and associate it with the ALB instance.
	QuicConfig interface{} `field:"optional" json:"quicConfig" yaml:"quicConfig"`
	// Property requestTimeout: The timeout period of the request.
	//
	// Valid values: 1 to 180. Unit: seconds.
	// Default value: 60.
	// If no response is received from the backend server during the request timeout period,
	// ALB sends an HTTP 504 error code to the client.
	RequestTimeout interface{} `field:"optional" json:"requestTimeout" yaml:"requestTimeout"`
	// Property securityPolicyId: The ID of the security policy.
	//
	// System security policies and custom security policies
	// are supported.
	// Default value: tls_cipher_policy_1_0. This value indicates a system security policy.
	// Note Only HTTPS listeners support this parameter.
	SecurityPolicyId interface{} `field:"optional" json:"securityPolicyId" yaml:"securityPolicyId"`
	// Property xForwardedForConfig: The configuration of the XForward field.
	XForwardedForConfig interface{} `field:"optional" json:"xForwardedForConfig" yaml:"xForwardedForConfig"`
}

Properties for defining a `Listener`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-listener

type LoadBalancer

type LoadBalancer interface {
	alicloudroscdkcore.Resource
	ILoadBalancer
	// Attribute AddressType: The type of IP address that the ALB instance uses to provide services.
	AttrAddressType() interface{}
	// Attribute DNSName: The domain name of the ALB instance.
	AttrDnsName() interface{}
	// Attribute LoadBalancerEdition: The edition of the ALB instance.
	AttrLoadBalancerEdition() interface{}
	// Attribute LoadBalancerId: The ID of the ALB instance.
	AttrLoadBalancerId() interface{}
	// Attribute VpcId: The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
	AttrVpcId() interface{}
	// Attribute ZoneMappings: The zones, vSwitches and addresses which are mapped to the zones.
	AttrZoneMappings() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *LoadBalancerProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::LoadBalancer`, which is used to create an Application Load Balancer (ALB) instance.

func NewLoadBalancer

func NewLoadBalancer(scope alicloudroscdkcore.Construct, id *string, props *LoadBalancerProps, enableResourcePropertyConstraint *bool) LoadBalancer

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

type LoadBalancerProps

type LoadBalancerProps struct {
	// Property addressType: The type of IP address that the ALB instance uses to provide services.
	//
	// Valid values:
	// Internet: The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. Therefore, the ALB instance can be accessed over the Internet.
	// Intranet: The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. Therefore, the ALB instance can be accessed over the VPC where the ALB instance is deployed.
	AddressType interface{} `field:"required" json:"addressType" yaml:"addressType"`
	// Property loadBalancerBillingConfig: The configuration of the billing method.
	LoadBalancerBillingConfig interface{} `field:"required" json:"loadBalancerBillingConfig" yaml:"loadBalancerBillingConfig"`
	// Property loadBalancerEdition: The edition of the ALB instance.
	//
	// Different editions have different limits and billing methods. Valid values:
	// Basic: Basic Edition
	// Standard: Standard Edition
	// StandardWithWaf: Standard Edition with WAF.
	LoadBalancerEdition interface{} `field:"required" json:"loadBalancerEdition" yaml:"loadBalancerEdition"`
	// Property loadBalancerName: The name of the ALB instance.
	//
	// The name must be 2 to 128 characters in length, and can contain letters, digits, periods(.), underscores (_), and hyphens (-). The name must start with a letter.
	LoadBalancerName interface{} `field:"required" json:"loadBalancerName" yaml:"loadBalancerName"`
	// Property vpcId: The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
	VpcId interface{} `field:"required" json:"vpcId" yaml:"vpcId"`
	// Property zoneMappings: The zones and the vSwitches in the zones.
	//
	// You must specify at least two zones.
	ZoneMappings interface{} `field:"required" json:"zoneMappings" yaml:"zoneMappings"`
	// Property accessLogConfig:.
	AccessLogConfig interface{} `field:"optional" json:"accessLogConfig" yaml:"accessLogConfig"`
	// Property addressAllocatedMode: The mode in which IP addresses are assigned.
	//
	// Valid values:
	// Fixed: The ALB instance uses a static IP address.
	// Dynamic: An IP address is dynamically assigned to the ALB instance in each zone. This is the default value.
	AddressAllocatedMode interface{} `field:"optional" json:"addressAllocatedMode" yaml:"addressAllocatedMode"`
	// Property addressIpVersion: The protocol version.
	//
	// Valid values:
	// IPv4: IPv4
	// DualStack: dual stack.
	AddressIpVersion interface{} `field:"optional" json:"addressIpVersion" yaml:"addressIpVersion"`
	// Property bandwidthPackageId: Attach common bandwidth package to load balancer.
	//
	// It only takes effect when AddressType=Internet.
	BandwidthPackageId interface{} `field:"optional" json:"bandwidthPackageId" yaml:"bandwidthPackageId"`
	// Property deletionProtectionEnabled: Specifies whether to enable deletion protection.
	//
	// Default value: false.
	DeletionProtectionEnabled interface{} `field:"optional" json:"deletionProtectionEnabled" yaml:"deletionProtectionEnabled"`
	// Property modificationProtectionConfig: The configuration of modification protection.
	ModificationProtectionConfig interface{} `field:"optional" json:"modificationProtectionConfig" yaml:"modificationProtectionConfig"`
	// Property resourceGroupId: The ID of the resource group.
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	// Property securityGroupIds: The IDs of the security group to which the ALB instance join.
	SecurityGroupIds interface{} `field:"optional" json:"securityGroupIds" yaml:"securityGroupIds"`
	// Property tags: Tags to attach to instance.
	//
	// Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
	Tags *[]*RosLoadBalancer_TagsProperty `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `LoadBalancer`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-loadbalancer

type RosAScript

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

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::AScript`, which is used to create an AScript rule.

func NewRosAScript

func NewRosAScript(scope alicloudroscdkcore.Construct, id *string, props *RosAScriptProps, enableResourcePropertyConstraint *bool) RosAScript

type RosAScriptProps

type RosAScriptProps struct {
	AScriptName         interface{} `field:"required" json:"aScriptName" yaml:"aScriptName"`
	ListenerId          interface{} `field:"required" json:"listenerId" yaml:"listenerId"`
	ScriptContent       interface{} `field:"required" json:"scriptContent" yaml:"scriptContent"`
	Enabled             interface{} `field:"optional" json:"enabled" yaml:"enabled"`
	ExtAttributeEnabled interface{} `field:"optional" json:"extAttributeEnabled" yaml:"extAttributeEnabled"`
	ExtAttributes       interface{} `field:"optional" json:"extAttributes" yaml:"extAttributes"`
}

Properties for defining a `RosAScript`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-ascript

type RosAScript_ExtAttributesProperty

type RosAScript_ExtAttributesProperty struct {
	AttributeKey   interface{} `field:"optional" json:"attributeKey" yaml:"attributeKey"`
	AttributeValue interface{} `field:"optional" json:"attributeValue" yaml:"attributeValue"`
}

type RosAcl

type RosAcl interface {
	alicloudroscdkcore.RosResource
	AclEntries() interface{}
	SetAclEntries(val interface{})
	AclName() interface{}
	SetAclName(val interface{})
	AttrAclId() alicloudroscdkcore.IResolvable
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aliyun:ros:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// 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
	ResourceGroupId() interface{}
	SetResourceGroupId(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{}
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::Acl`, which is used to create an access control list (ACL).

func NewRosAcl

func NewRosAcl(scope alicloudroscdkcore.Construct, id *string, props *RosAclProps, enableResourcePropertyConstraint *bool) RosAcl

type RosAclAssociation

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

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::AclAssociation`, which is used to associate access control lists (ACLs) with a listener.

func NewRosAclAssociation

func NewRosAclAssociation(scope alicloudroscdkcore.Construct, id *string, props *RosAclAssociationProps, enableResourcePropertyConstraint *bool) RosAclAssociation

type RosAclAssociationProps

type RosAclAssociationProps struct {
	AclIds     interface{} `field:"required" json:"aclIds" yaml:"aclIds"`
	AclType    interface{} `field:"required" json:"aclType" yaml:"aclType"`
	ListenerId interface{} `field:"required" json:"listenerId" yaml:"listenerId"`
}

Properties for defining a `RosAclAssociation`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-aclassociation

type RosAclProps

type RosAclProps struct {
	AclEntries      interface{} `field:"optional" json:"aclEntries" yaml:"aclEntries"`
	AclName         interface{} `field:"optional" json:"aclName" yaml:"aclName"`
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
}

Properties for defining a `RosAcl`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-acl

type RosAcl_AclEntriesProperty

type RosAcl_AclEntriesProperty struct {
	Entry       interface{} `field:"required" json:"entry" yaml:"entry"`
	Description interface{} `field:"optional" json:"description" yaml:"description"`
}

type RosAdditionalCertificateAssociation

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

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::AdditionalCertificateAssociation`, which is used to add additional certificates to a listener.

func NewRosAdditionalCertificateAssociation

func NewRosAdditionalCertificateAssociation(scope alicloudroscdkcore.Construct, id *string, props *RosAdditionalCertificateAssociationProps, enableResourcePropertyConstraint *bool) RosAdditionalCertificateAssociation

type RosAdditionalCertificateAssociationProps

type RosAdditionalCertificateAssociationProps struct {
	Certificates interface{} `field:"required" json:"certificates" yaml:"certificates"`
	ListenerId   interface{} `field:"required" json:"listenerId" yaml:"listenerId"`
}

Properties for defining a `RosAdditionalCertificateAssociation`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-additionalcertificateassociation

type RosAdditionalCertificateAssociation_CertificatesProperty

type RosAdditionalCertificateAssociation_CertificatesProperty struct {
	CertificateId interface{} `field:"required" json:"certificateId" yaml:"certificateId"`
}

type RosBackendServerAttachment

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

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::BackendServerAttachment`, which is used to add backend servers to a server group.

func NewRosBackendServerAttachment

func NewRosBackendServerAttachment(scope alicloudroscdkcore.Construct, id *string, props *RosBackendServerAttachmentProps, enableResourcePropertyConstraint *bool) RosBackendServerAttachment

type RosBackendServerAttachmentProps

type RosBackendServerAttachmentProps struct {
	ServerGroupId interface{} `field:"required" json:"serverGroupId" yaml:"serverGroupId"`
	Servers       interface{} `field:"required" json:"servers" yaml:"servers"`
}

Properties for defining a `RosBackendServerAttachment`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-backendserverattachment

type RosBackendServerAttachment_ServersProperty

type RosBackendServerAttachment_ServersProperty struct {
	ServerId        interface{} `field:"required" json:"serverId" yaml:"serverId"`
	ServerType      interface{} `field:"required" json:"serverType" yaml:"serverType"`
	Description     interface{} `field:"optional" json:"description" yaml:"description"`
	Port            interface{} `field:"optional" json:"port" yaml:"port"`
	RemoteIpEnabled interface{} `field:"optional" json:"remoteIpEnabled" yaml:"remoteIpEnabled"`
	ServerIp        interface{} `field:"optional" json:"serverIp" yaml:"serverIp"`
	Weight          interface{} `field:"optional" json:"weight" yaml:"weight"`
}

type RosHealthCheckTemplate

type RosHealthCheckTemplate interface {
	alicloudroscdkcore.RosResource
	AttrHealthCheckTemplateId() 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)
	HealthCheckCodes() interface{}
	SetHealthCheckCodes(val interface{})
	HealthCheckConnectPort() interface{}
	SetHealthCheckConnectPort(val interface{})
	HealthCheckHost() interface{}
	SetHealthCheckHost(val interface{})
	HealthCheckInterval() interface{}
	SetHealthCheckInterval(val interface{})
	HealthCheckMethod() interface{}
	SetHealthCheckMethod(val interface{})
	HealthCheckPath() interface{}
	SetHealthCheckPath(val interface{})
	HealthCheckProtocol() interface{}
	SetHealthCheckProtocol(val interface{})
	HealthCheckTemplateName() interface{}
	SetHealthCheckTemplateName(val interface{})
	HealthCheckTimeout() interface{}
	SetHealthCheckTimeout(val interface{})
	HealthyThreshold() interface{}
	SetHealthyThreshold(val interface{})
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	UnhealthyThreshold() interface{}
	SetUnhealthyThreshold(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)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::HealthCheckTemplate`, which is used to create a health check template.

func NewRosHealthCheckTemplate

func NewRosHealthCheckTemplate(scope alicloudroscdkcore.Construct, id *string, props *RosHealthCheckTemplateProps, enableResourcePropertyConstraint *bool) RosHealthCheckTemplate

type RosHealthCheckTemplateProps

type RosHealthCheckTemplateProps struct {
	HealthCheckTemplateName interface{} `field:"required" json:"healthCheckTemplateName" yaml:"healthCheckTemplateName"`
	HealthCheckCodes        interface{} `field:"optional" json:"healthCheckCodes" yaml:"healthCheckCodes"`
	HealthCheckConnectPort  interface{} `field:"optional" json:"healthCheckConnectPort" yaml:"healthCheckConnectPort"`
	HealthCheckHost         interface{} `field:"optional" json:"healthCheckHost" yaml:"healthCheckHost"`
	HealthCheckInterval     interface{} `field:"optional" json:"healthCheckInterval" yaml:"healthCheckInterval"`
	HealthCheckMethod       interface{} `field:"optional" json:"healthCheckMethod" yaml:"healthCheckMethod"`
	HealthCheckPath         interface{} `field:"optional" json:"healthCheckPath" yaml:"healthCheckPath"`
	HealthCheckProtocol     interface{} `field:"optional" json:"healthCheckProtocol" yaml:"healthCheckProtocol"`
	HealthCheckTimeout      interface{} `field:"optional" json:"healthCheckTimeout" yaml:"healthCheckTimeout"`
	HealthyThreshold        interface{} `field:"optional" json:"healthyThreshold" yaml:"healthyThreshold"`
	UnhealthyThreshold      interface{} `field:"optional" json:"unhealthyThreshold" yaml:"unhealthyThreshold"`
}

Properties for defining a `RosHealthCheckTemplate`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-healthchecktemplate

type RosListener

type RosListener interface {
	alicloudroscdkcore.RosResource
	AttrListenerId() alicloudroscdkcore.IResolvable
	CaCertificates() interface{}
	SetCaCertificates(val interface{})
	CaEnabled() interface{}
	SetCaEnabled(val interface{})
	Certificates() interface{}
	SetCertificates(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
	DefaultActions() interface{}
	SetDefaultActions(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	GzipEnabled() interface{}
	SetGzipEnabled(val interface{})
	Http2Enabled() interface{}
	SetHttp2Enabled(val interface{})
	IdleTimeout() interface{}
	SetIdleTimeout(val interface{})
	ListenerDescription() interface{}
	SetListenerDescription(val interface{})
	ListenerPort() interface{}
	SetListenerPort(val interface{})
	ListenerProtocol() interface{}
	SetListenerProtocol(val interface{})
	ListenerStatus() interface{}
	SetListenerStatus(val interface{})
	LoadBalancerId() interface{}
	SetLoadBalancerId(val interface{})
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	QuicConfig() interface{}
	SetQuicConfig(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
	RequestTimeout() interface{}
	SetRequestTimeout(val interface{})
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	SecurityPolicyId() interface{}
	SetSecurityPolicyId(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{}
	XForwardedForConfig() interface{}
	SetXForwardedForConfig(val interface{})
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::Listener`, which is used to create an HTTP, HTTPS, or Quick UDP Internet Connections (QUIC) listener.

func NewRosListener

func NewRosListener(scope alicloudroscdkcore.Construct, id *string, props *RosListenerProps, enableResourcePropertyConstraint *bool) RosListener

type RosListenerProps

type RosListenerProps struct {
	DefaultActions      interface{} `field:"required" json:"defaultActions" yaml:"defaultActions"`
	ListenerPort        interface{} `field:"required" json:"listenerPort" yaml:"listenerPort"`
	ListenerProtocol    interface{} `field:"required" json:"listenerProtocol" yaml:"listenerProtocol"`
	LoadBalancerId      interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"`
	CaCertificates      interface{} `field:"optional" json:"caCertificates" yaml:"caCertificates"`
	CaEnabled           interface{} `field:"optional" json:"caEnabled" yaml:"caEnabled"`
	Certificates        interface{} `field:"optional" json:"certificates" yaml:"certificates"`
	GzipEnabled         interface{} `field:"optional" json:"gzipEnabled" yaml:"gzipEnabled"`
	Http2Enabled        interface{} `field:"optional" json:"http2Enabled" yaml:"http2Enabled"`
	IdleTimeout         interface{} `field:"optional" json:"idleTimeout" yaml:"idleTimeout"`
	ListenerDescription interface{} `field:"optional" json:"listenerDescription" yaml:"listenerDescription"`
	ListenerStatus      interface{} `field:"optional" json:"listenerStatus" yaml:"listenerStatus"`
	QuicConfig          interface{} `field:"optional" json:"quicConfig" yaml:"quicConfig"`
	RequestTimeout      interface{} `field:"optional" json:"requestTimeout" yaml:"requestTimeout"`
	SecurityPolicyId    interface{} `field:"optional" json:"securityPolicyId" yaml:"securityPolicyId"`
	XForwardedForConfig interface{} `field:"optional" json:"xForwardedForConfig" yaml:"xForwardedForConfig"`
}

Properties for defining a `RosListener`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-listener

type RosListener_CaCertificatesProperty

type RosListener_CaCertificatesProperty struct {
	CertificateId interface{} `field:"optional" json:"certificateId" yaml:"certificateId"`
}

type RosListener_CertificatesProperty

type RosListener_CertificatesProperty struct {
	CertificateId interface{} `field:"optional" json:"certificateId" yaml:"certificateId"`
}

type RosListener_DefaultActionsProperty

type RosListener_DefaultActionsProperty struct {
	ForwardGroupConfig interface{} `field:"required" json:"forwardGroupConfig" yaml:"forwardGroupConfig"`
	Type               interface{} `field:"required" json:"type" yaml:"type"`
}

type RosListener_ForwardGroupConfigProperty

type RosListener_ForwardGroupConfigProperty struct {
	ServerGroupTuples interface{} `field:"required" json:"serverGroupTuples" yaml:"serverGroupTuples"`
}

type RosListener_QuicConfigProperty

type RosListener_QuicConfigProperty struct {
	QuicListenerId     interface{} `field:"optional" json:"quicListenerId" yaml:"quicListenerId"`
	QuicUpgradeEnabled interface{} `field:"optional" json:"quicUpgradeEnabled" yaml:"quicUpgradeEnabled"`
}

type RosListener_ServerGroupTuplesProperty

type RosListener_ServerGroupTuplesProperty struct {
	ServerGroupId interface{} `field:"required" json:"serverGroupId" yaml:"serverGroupId"`
}

type RosListener_XForwardedForConfigProperty

type RosListener_XForwardedForConfigProperty struct {
	XForwardedForClientCertClientVerifyAlias   interface{} `field:"optional" json:"xForwardedForClientCertClientVerifyAlias" yaml:"xForwardedForClientCertClientVerifyAlias"`
	XForwardedForClientCertClientVerifyEnabled interface{} `field:"optional" json:"xForwardedForClientCertClientVerifyEnabled" yaml:"xForwardedForClientCertClientVerifyEnabled"`
	XForwardedForClientCertFingerprintAlias    interface{} `field:"optional" json:"xForwardedForClientCertFingerprintAlias" yaml:"xForwardedForClientCertFingerprintAlias"`
	XForwardedForClientCertFingerprintEnabled  interface{} `field:"optional" json:"xForwardedForClientCertFingerprintEnabled" yaml:"xForwardedForClientCertFingerprintEnabled"`
	XForwardedForClientCertIssuerDnAlias       interface{} `field:"optional" json:"xForwardedForClientCertIssuerDnAlias" yaml:"xForwardedForClientCertIssuerDnAlias"`
	XForwardedForClientCertIssuerDnEnabled     interface{} `field:"optional" json:"xForwardedForClientCertIssuerDnEnabled" yaml:"xForwardedForClientCertIssuerDnEnabled"`
	XForwardedForClientCertSubjectDnAlias      interface{} `field:"optional" json:"xForwardedForClientCertSubjectDnAlias" yaml:"xForwardedForClientCertSubjectDnAlias"`
	XForwardedForClientCertSubjectDnEnabled    interface{} `field:"optional" json:"xForwardedForClientCertSubjectDnEnabled" yaml:"xForwardedForClientCertSubjectDnEnabled"`
	XForwardedForClientSourceIpsEnabled        interface{} `field:"optional" json:"xForwardedForClientSourceIpsEnabled" yaml:"xForwardedForClientSourceIpsEnabled"`
	XForwardedForClientSourceIpsTrusted        interface{} `field:"optional" json:"xForwardedForClientSourceIpsTrusted" yaml:"xForwardedForClientSourceIpsTrusted"`
	XForwardedForClientSrcPortEnabled          interface{} `field:"optional" json:"xForwardedForClientSrcPortEnabled" yaml:"xForwardedForClientSrcPortEnabled"`
	XForwardedForEnabled                       interface{} `field:"optional" json:"xForwardedForEnabled" yaml:"xForwardedForEnabled"`
	XForwardedForProtoEnabled                  interface{} `field:"optional" json:"xForwardedForProtoEnabled" yaml:"xForwardedForProtoEnabled"`
	XForwardedForSlbIdEnabled                  interface{} `field:"optional" json:"xForwardedForSlbIdEnabled" yaml:"xForwardedForSlbIdEnabled"`
	XForwardedForSlbPortEnabled                interface{} `field:"optional" json:"xForwardedForSlbPortEnabled" yaml:"xForwardedForSlbPortEnabled"`
}

type RosLoadBalancer

type RosLoadBalancer interface {
	alicloudroscdkcore.RosResource
	AccessLogConfig() interface{}
	SetAccessLogConfig(val interface{})
	AddressAllocatedMode() interface{}
	SetAddressAllocatedMode(val interface{})
	AddressIpVersion() interface{}
	SetAddressIpVersion(val interface{})
	AddressType() interface{}
	SetAddressType(val interface{})
	AttrAddressType() alicloudroscdkcore.IResolvable
	AttrDnsName() alicloudroscdkcore.IResolvable
	AttrLoadBalancerEdition() alicloudroscdkcore.IResolvable
	AttrLoadBalancerId() alicloudroscdkcore.IResolvable
	AttrVpcId() alicloudroscdkcore.IResolvable
	AttrZoneMappings() alicloudroscdkcore.IResolvable
	BandwidthPackageId() interface{}
	SetBandwidthPackageId(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
	DeletionProtectionEnabled() interface{}
	SetDeletionProtectionEnabled(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	LoadBalancerBillingConfig() interface{}
	SetLoadBalancerBillingConfig(val interface{})
	LoadBalancerEdition() interface{}
	SetLoadBalancerEdition(val interface{})
	LoadBalancerName() interface{}
	SetLoadBalancerName(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
	ModificationProtectionConfig() interface{}
	SetModificationProtectionConfig(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
	ResourceGroupId() interface{}
	SetResourceGroupId(val interface{})
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	SecurityGroupIds() interface{}
	SetSecurityGroupIds(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	Tags() *[]*RosLoadBalancer_TagsProperty
	SetTags(val *[]*RosLoadBalancer_TagsProperty)
	// 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{})
	ZoneMappings() interface{}
	SetZoneMappings(val interface{})
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::LoadBalancer`, which is used to create an Application Load Balancer (ALB) instance.

func NewRosLoadBalancer

func NewRosLoadBalancer(scope alicloudroscdkcore.Construct, id *string, props *RosLoadBalancerProps, enableResourcePropertyConstraint *bool) RosLoadBalancer

type RosLoadBalancerProps

type RosLoadBalancerProps struct {
	AddressType                  interface{}                      `field:"required" json:"addressType" yaml:"addressType"`
	LoadBalancerBillingConfig    interface{}                      `field:"required" json:"loadBalancerBillingConfig" yaml:"loadBalancerBillingConfig"`
	LoadBalancerEdition          interface{}                      `field:"required" json:"loadBalancerEdition" yaml:"loadBalancerEdition"`
	LoadBalancerName             interface{}                      `field:"required" json:"loadBalancerName" yaml:"loadBalancerName"`
	VpcId                        interface{}                      `field:"required" json:"vpcId" yaml:"vpcId"`
	ZoneMappings                 interface{}                      `field:"required" json:"zoneMappings" yaml:"zoneMappings"`
	AccessLogConfig              interface{}                      `field:"optional" json:"accessLogConfig" yaml:"accessLogConfig"`
	AddressAllocatedMode         interface{}                      `field:"optional" json:"addressAllocatedMode" yaml:"addressAllocatedMode"`
	AddressIpVersion             interface{}                      `field:"optional" json:"addressIpVersion" yaml:"addressIpVersion"`
	BandwidthPackageId           interface{}                      `field:"optional" json:"bandwidthPackageId" yaml:"bandwidthPackageId"`
	DeletionProtectionEnabled    interface{}                      `field:"optional" json:"deletionProtectionEnabled" yaml:"deletionProtectionEnabled"`
	ModificationProtectionConfig interface{}                      `field:"optional" json:"modificationProtectionConfig" yaml:"modificationProtectionConfig"`
	ResourceGroupId              interface{}                      `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	SecurityGroupIds             interface{}                      `field:"optional" json:"securityGroupIds" yaml:"securityGroupIds"`
	Tags                         *[]*RosLoadBalancer_TagsProperty `field:"optional" json:"tags" yaml:"tags"`
}

Properties for defining a `RosLoadBalancer`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-loadbalancer

type RosLoadBalancer_AccessLogConfigProperty

type RosLoadBalancer_AccessLogConfigProperty struct {
	LogProject interface{} `field:"required" json:"logProject" yaml:"logProject"`
	LogStore   interface{} `field:"required" json:"logStore" yaml:"logStore"`
	Enable     interface{} `field:"optional" json:"enable" yaml:"enable"`
}

type RosLoadBalancer_LoadBalancerAddressesProperty

type RosLoadBalancer_LoadBalancerAddressesProperty struct {
	AllocationId    interface{} `field:"required" json:"allocationId" yaml:"allocationId"`
	EipType         interface{} `field:"optional" json:"eipType" yaml:"eipType"`
	IntranetAddress interface{} `field:"optional" json:"intranetAddress" yaml:"intranetAddress"`
}

type RosLoadBalancer_LoadBalancerBillingConfigProperty

type RosLoadBalancer_LoadBalancerBillingConfigProperty struct {
	PayType interface{} `field:"required" json:"payType" yaml:"payType"`
}

type RosLoadBalancer_ModificationProtectionConfigProperty

type RosLoadBalancer_ModificationProtectionConfigProperty struct {
	Status interface{} `field:"required" json:"status" yaml:"status"`
	Reason interface{} `field:"optional" json:"reason" yaml:"reason"`
}

type RosLoadBalancer_TagsProperty

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

type RosLoadBalancer_ZoneMappingsProperty

type RosLoadBalancer_ZoneMappingsProperty struct {
	VSwitchId             interface{} `field:"required" json:"vSwitchId" yaml:"vSwitchId"`
	ZoneId                interface{} `field:"required" json:"zoneId" yaml:"zoneId"`
	AllocationId          interface{} `field:"optional" json:"allocationId" yaml:"allocationId"`
	EipType               interface{} `field:"optional" json:"eipType" yaml:"eipType"`
	IntranetAddress       interface{} `field:"optional" json:"intranetAddress" yaml:"intranetAddress"`
	LoadBalancerAddresses interface{} `field:"optional" json:"loadBalancerAddresses" yaml:"loadBalancerAddresses"`
}

type RosRule

type RosRule interface {
	alicloudroscdkcore.RosResource
	AttrRuleId() 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
	Direction() interface{}
	SetDirection(val interface{})
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	ListenerId() interface{}
	SetListenerId(val interface{})
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	Priority() interface{}
	SetPriority(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
	RuleActions() interface{}
	SetRuleActions(val interface{})
	RuleConditions() interface{}
	SetRuleConditions(val interface{})
	RuleName() interface{}
	SetRuleName(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::Rule`ALIYUN::Config::Rule is used to create a forwarding rule.

func NewRosRule

func NewRosRule(scope alicloudroscdkcore.Construct, id *string, props *RosRuleProps, enableResourcePropertyConstraint *bool) RosRule

type RosRuleProps

type RosRuleProps struct {
	ListenerId     interface{} `field:"required" json:"listenerId" yaml:"listenerId"`
	Priority       interface{} `field:"required" json:"priority" yaml:"priority"`
	RuleActions    interface{} `field:"required" json:"ruleActions" yaml:"ruleActions"`
	RuleConditions interface{} `field:"required" json:"ruleConditions" yaml:"ruleConditions"`
	RuleName       interface{} `field:"required" json:"ruleName" yaml:"ruleName"`
	Direction      interface{} `field:"optional" json:"direction" yaml:"direction"`
}

Properties for defining a `RosRule`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-rule

type RosRule_CookieConfigProperty

type RosRule_CookieConfigProperty struct {
	Values interface{} `field:"optional" json:"values" yaml:"values"`
}

type RosRule_CorsConfigProperty

type RosRule_CorsConfigProperty struct {
	AllowCredentials interface{} `field:"optional" json:"allowCredentials" yaml:"allowCredentials"`
	AllowHeaders     interface{} `field:"optional" json:"allowHeaders" yaml:"allowHeaders"`
	AllowMethods     interface{} `field:"optional" json:"allowMethods" yaml:"allowMethods"`
	AllowOrigin      interface{} `field:"optional" json:"allowOrigin" yaml:"allowOrigin"`
	ExposeHeaders    interface{} `field:"optional" json:"exposeHeaders" yaml:"exposeHeaders"`
	MaxAge           interface{} `field:"optional" json:"maxAge" yaml:"maxAge"`
}

type RosRule_FixedResponseConfigProperty

type RosRule_FixedResponseConfigProperty struct {
	Content     interface{} `field:"optional" json:"content" yaml:"content"`
	ContentType interface{} `field:"optional" json:"contentType" yaml:"contentType"`
	HttpCode    interface{} `field:"optional" json:"httpCode" yaml:"httpCode"`
}

type RosRule_ForwardGroupConfigProperty

type RosRule_ForwardGroupConfigProperty struct {
	ServerGroupStickySession interface{} `field:"optional" json:"serverGroupStickySession" yaml:"serverGroupStickySession"`
	ServerGroupTuples        interface{} `field:"optional" json:"serverGroupTuples" yaml:"serverGroupTuples"`
}

type RosRule_HeaderConfigProperty

type RosRule_HeaderConfigProperty struct {
	Key    interface{} `field:"optional" json:"key" yaml:"key"`
	Values interface{} `field:"optional" json:"values" yaml:"values"`
}

type RosRule_HostConfigProperty

type RosRule_HostConfigProperty struct {
	Values interface{} `field:"optional" json:"values" yaml:"values"`
}

type RosRule_InsertHeaderConfigProperty

type RosRule_InsertHeaderConfigProperty struct {
	Key       interface{} `field:"optional" json:"key" yaml:"key"`
	Value     interface{} `field:"optional" json:"value" yaml:"value"`
	ValueType interface{} `field:"optional" json:"valueType" yaml:"valueType"`
}

type RosRule_MethodConfigProperty

type RosRule_MethodConfigProperty struct {
	Values interface{} `field:"optional" json:"values" yaml:"values"`
}

type RosRule_MirrorGroupConfigProperty

type RosRule_MirrorGroupConfigProperty struct {
	ServerGroupTuples interface{} `field:"required" json:"serverGroupTuples" yaml:"serverGroupTuples"`
}

type RosRule_MirrorGroupConfigServerGroupTuplesProperty

type RosRule_MirrorGroupConfigServerGroupTuplesProperty struct {
	ServerGroupId interface{} `field:"required" json:"serverGroupId" yaml:"serverGroupId"`
}

type RosRule_PathConfigProperty

type RosRule_PathConfigProperty struct {
	Values interface{} `field:"optional" json:"values" yaml:"values"`
}

type RosRule_QueryStringConfigProperty

type RosRule_QueryStringConfigProperty struct {
	Values interface{} `field:"optional" json:"values" yaml:"values"`
}

type RosRule_QueryStringConfigValuesProperty

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

type RosRule_RedirectConfigProperty

type RosRule_RedirectConfigProperty struct {
	Host     interface{} `field:"optional" json:"host" yaml:"host"`
	HttpCode interface{} `field:"optional" json:"httpCode" yaml:"httpCode"`
	Path     interface{} `field:"optional" json:"path" yaml:"path"`
	Port     interface{} `field:"optional" json:"port" yaml:"port"`
	Protocol interface{} `field:"optional" json:"protocol" yaml:"protocol"`
	Query    interface{} `field:"optional" json:"query" yaml:"query"`
}

type RosRule_RemoveHeaderConfigProperty

type RosRule_RemoveHeaderConfigProperty struct {
	Key interface{} `field:"optional" json:"key" yaml:"key"`
}

type RosRule_ResponseHeaderConfigProperty

type RosRule_ResponseHeaderConfigProperty struct {
	Key    interface{} `field:"optional" json:"key" yaml:"key"`
	Values interface{} `field:"optional" json:"values" yaml:"values"`
}

type RosRule_ResponseStatusCodeConfigProperty

type RosRule_ResponseStatusCodeConfigProperty struct {
	Values interface{} `field:"optional" json:"values" yaml:"values"`
}

type RosRule_RewriteConfigProperty

type RosRule_RewriteConfigProperty struct {
	Host  interface{} `field:"optional" json:"host" yaml:"host"`
	Path  interface{} `field:"optional" json:"path" yaml:"path"`
	Query interface{} `field:"optional" json:"query" yaml:"query"`
}

type RosRule_RuleActionsProperty

type RosRule_RuleActionsProperty struct {
	Order               interface{} `field:"required" json:"order" yaml:"order"`
	Type                interface{} `field:"required" json:"type" yaml:"type"`
	CorsConfig          interface{} `field:"optional" json:"corsConfig" yaml:"corsConfig"`
	FixedResponseConfig interface{} `field:"optional" json:"fixedResponseConfig" yaml:"fixedResponseConfig"`
	ForwardGroupConfig  interface{} `field:"optional" json:"forwardGroupConfig" yaml:"forwardGroupConfig"`
	InsertHeaderConfig  interface{} `field:"optional" json:"insertHeaderConfig" yaml:"insertHeaderConfig"`
	RedirectConfig      interface{} `field:"optional" json:"redirectConfig" yaml:"redirectConfig"`
	RemoveHeaderConfig  interface{} `field:"optional" json:"removeHeaderConfig" yaml:"removeHeaderConfig"`
	RewriteConfig       interface{} `field:"optional" json:"rewriteConfig" yaml:"rewriteConfig"`
	TrafficLimitConfig  interface{} `field:"optional" json:"trafficLimitConfig" yaml:"trafficLimitConfig"`
	TrafficMirrorConfig interface{} `field:"optional" json:"trafficMirrorConfig" yaml:"trafficMirrorConfig"`
}

type RosRule_RuleConditionsProperty

type RosRule_RuleConditionsProperty struct {
	Type                     interface{} `field:"required" json:"type" yaml:"type"`
	CookieConfig             interface{} `field:"optional" json:"cookieConfig" yaml:"cookieConfig"`
	HeaderConfig             interface{} `field:"optional" json:"headerConfig" yaml:"headerConfig"`
	HostConfig               interface{} `field:"optional" json:"hostConfig" yaml:"hostConfig"`
	MethodConfig             interface{} `field:"optional" json:"methodConfig" yaml:"methodConfig"`
	PathConfig               interface{} `field:"optional" json:"pathConfig" yaml:"pathConfig"`
	QueryStringConfig        interface{} `field:"optional" json:"queryStringConfig" yaml:"queryStringConfig"`
	ResponseHeaderConfig     interface{} `field:"optional" json:"responseHeaderConfig" yaml:"responseHeaderConfig"`
	ResponseStatusCodeConfig interface{} `field:"optional" json:"responseStatusCodeConfig" yaml:"responseStatusCodeConfig"`
	SourceIpConfig           interface{} `field:"optional" json:"sourceIpConfig" yaml:"sourceIpConfig"`
}

type RosRule_ServerGroupStickySessionProperty

type RosRule_ServerGroupStickySessionProperty struct {
	Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
	Timeout interface{} `field:"optional" json:"timeout" yaml:"timeout"`
}

type RosRule_ServerGroupTuplesProperty

type RosRule_ServerGroupTuplesProperty struct {
	ServerGroupId interface{} `field:"optional" json:"serverGroupId" yaml:"serverGroupId"`
	Weight        interface{} `field:"optional" json:"weight" yaml:"weight"`
}

type RosRule_SourceIpConfigProperty

type RosRule_SourceIpConfigProperty struct {
	Values interface{} `field:"optional" json:"values" yaml:"values"`
}

type RosRule_TrafficLimitConfigProperty

type RosRule_TrafficLimitConfigProperty struct {
	Qps      interface{} `field:"required" json:"qps" yaml:"qps"`
	PerIpQps interface{} `field:"optional" json:"perIpQps" yaml:"perIpQps"`
}

type RosRule_TrafficMirrorConfigProperty

type RosRule_TrafficMirrorConfigProperty struct {
	MirrorGroupConfig interface{} `field:"required" json:"mirrorGroupConfig" yaml:"mirrorGroupConfig"`
	TargetType        interface{} `field:"required" json:"targetType" yaml:"targetType"`
}

type RosRule_ValuesProperty

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

type RosSecurityGroupAttachment

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

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::SecurityGroupAttachment`, which is used to associate created security groups with an Application Load Balancer (ALB) instance.

func NewRosSecurityGroupAttachment

func NewRosSecurityGroupAttachment(scope alicloudroscdkcore.Construct, id *string, props *RosSecurityGroupAttachmentProps, enableResourcePropertyConstraint *bool) RosSecurityGroupAttachment

type RosSecurityGroupAttachmentProps

type RosSecurityGroupAttachmentProps struct {
	LoadBalancerId   interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"`
	SecurityGroupIds interface{} `field:"optional" json:"securityGroupIds" yaml:"securityGroupIds"`
}

Properties for defining a `RosSecurityGroupAttachment`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-securitygroupattachment

type RosSecurityPolicy

type RosSecurityPolicy interface {
	alicloudroscdkcore.RosResource
	AttrSecurityPolicyId() alicloudroscdkcore.IResolvable
	Ciphers() interface{}
	SetCiphers(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)
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Return a string that will be resolved to a RosTemplate `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	ResourceGroupId() interface{}
	SetResourceGroupId(val interface{})
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	SecurityPolicyName() interface{}
	SetSecurityPolicyName(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	TlsVersions() interface{}
	SetTlsVersions(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)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::SecurityPolicy`, which is used to create a custom security policy.

func NewRosSecurityPolicy

func NewRosSecurityPolicy(scope alicloudroscdkcore.Construct, id *string, props *RosSecurityPolicyProps, enableResourcePropertyConstraint *bool) RosSecurityPolicy

type RosSecurityPolicyProps

type RosSecurityPolicyProps struct {
	Ciphers            interface{} `field:"required" json:"ciphers" yaml:"ciphers"`
	SecurityPolicyName interface{} `field:"required" json:"securityPolicyName" yaml:"securityPolicyName"`
	TlsVersions        interface{} `field:"required" json:"tlsVersions" yaml:"tlsVersions"`
	ResourceGroupId    interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
}

Properties for defining a `RosSecurityPolicy`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-securitypolicy

type RosServerGroup

type RosServerGroup interface {
	alicloudroscdkcore.RosResource
	AttrServerGroupId() alicloudroscdkcore.IResolvable
	ConnectionDrainConfig() interface{}
	SetConnectionDrainConfig(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)
	HealthCheckConfig() interface{}
	SetHealthCheckConfig(val interface{})
	// The logical ID for this stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	Protocol() interface{}
	SetProtocol(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
	ResourceGroupId() interface{}
	SetResourceGroupId(val interface{})
	// Options for this resource, such as condition, update policy etc.
	RosOptions() alicloudroscdkcore.IRosResourceOptions
	RosProperties() *map[string]interface{}
	// ROS resource type.
	RosResourceType() *string
	Scheduler() interface{}
	SetScheduler(val interface{})
	ServerGroupName() interface{}
	SetServerGroupName(val interface{})
	ServerGroupType() interface{}
	SetServerGroupType(val interface{})
	ServiceName() interface{}
	SetServiceName(val interface{})
	SlowStartConfig() interface{}
	SetSlowStartConfig(val interface{})
	// The stack in which this element is defined.
	//
	// RosElements must be defined within a stack scope (directly or indirectly).
	Stack() alicloudroscdkcore.Stack
	StickySessionConfig() interface{}
	SetStickySessionConfig(val interface{})
	Tags() *[]*RosServerGroup_TagsProperty
	SetTags(val *[]*RosServerGroup_TagsProperty)
	UchConfig() interface{}
	SetUchConfig(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{}
	UpstreamKeepaliveEnabled() interface{}
	SetUpstreamKeepaliveEnabled(val interface{})
	VpcId() interface{}
	SetVpcId(val interface{})
	AddCondition(con alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependsOn(target alicloudroscdkcore.RosResource)
	AddDesc(desc *string)
	AddMetaData(key *string, value interface{})
	// Adds an override to the synthesized ROS resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// For example,
	// “`typescript
	// addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
	// addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//    "GlobalSecondaryIndexes": [
	//      {
	//        "Projection": {
	//          "NonKeyAttributes": [ "myattribute" ]
	//          ...
	//        }
	//        ...
	//      },
	//      {
	//        "ProjectionType": "INCLUDE"
	//        ...
	//      },
	//    ]
	//    ...
	// }
	// “`.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	AddRosDependency(target *string)
	// Sets the deletion policy of the resource based on the removal policy specified.
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy, options *alicloudroscdkcore.RemovalPolicyOptions)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDesc() *string
	FetchRosDependency() *[]*string
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string) alicloudroscdkcore.Reference
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
	ValidateProperties(_properties interface{})
}

This class is a base encapsulation around the ROS resource type `ALIYUN::ALB::ServerGroup`, which is used to create a server group.

func NewRosServerGroup

func NewRosServerGroup(scope alicloudroscdkcore.Construct, id *string, props *RosServerGroupProps, enableResourcePropertyConstraint *bool) RosServerGroup

type RosServerGroupProps

type RosServerGroupProps struct {
	HealthCheckConfig        interface{}                     `field:"required" json:"healthCheckConfig" yaml:"healthCheckConfig"`
	ServerGroupName          interface{}                     `field:"required" json:"serverGroupName" yaml:"serverGroupName"`
	VpcId                    interface{}                     `field:"required" json:"vpcId" yaml:"vpcId"`
	ConnectionDrainConfig    interface{}                     `field:"optional" json:"connectionDrainConfig" yaml:"connectionDrainConfig"`
	Protocol                 interface{}                     `field:"optional" json:"protocol" yaml:"protocol"`
	ResourceGroupId          interface{}                     `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	Scheduler                interface{}                     `field:"optional" json:"scheduler" yaml:"scheduler"`
	ServerGroupType          interface{}                     `field:"optional" json:"serverGroupType" yaml:"serverGroupType"`
	ServiceName              interface{}                     `field:"optional" json:"serviceName" yaml:"serviceName"`
	SlowStartConfig          interface{}                     `field:"optional" json:"slowStartConfig" yaml:"slowStartConfig"`
	StickySessionConfig      interface{}                     `field:"optional" json:"stickySessionConfig" yaml:"stickySessionConfig"`
	Tags                     *[]*RosServerGroup_TagsProperty `field:"optional" json:"tags" yaml:"tags"`
	UchConfig                interface{}                     `field:"optional" json:"uchConfig" yaml:"uchConfig"`
	UpstreamKeepaliveEnabled interface{}                     `field:"optional" json:"upstreamKeepaliveEnabled" yaml:"upstreamKeepaliveEnabled"`
}

Properties for defining a `RosServerGroup`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-servergroup

type RosServerGroup_ConnectionDrainConfigProperty added in v1.3.0

type RosServerGroup_ConnectionDrainConfigProperty struct {
	ConnectionDrainEnabled interface{} `field:"required" json:"connectionDrainEnabled" yaml:"connectionDrainEnabled"`
	ConnectionDrainTimeout interface{} `field:"required" json:"connectionDrainTimeout" yaml:"connectionDrainTimeout"`
}

type RosServerGroup_HealthCheckConfigProperty

type RosServerGroup_HealthCheckConfigProperty struct {
	HealthCheckEnabled     interface{} `field:"required" json:"healthCheckEnabled" yaml:"healthCheckEnabled"`
	HealthCheckCodes       interface{} `field:"optional" json:"healthCheckCodes" yaml:"healthCheckCodes"`
	HealthCheckConnectPort interface{} `field:"optional" json:"healthCheckConnectPort" yaml:"healthCheckConnectPort"`
	HealthCheckHost        interface{} `field:"optional" json:"healthCheckHost" yaml:"healthCheckHost"`
	HealthCheckHttpVersion interface{} `field:"optional" json:"healthCheckHttpVersion" yaml:"healthCheckHttpVersion"`
	HealthCheckInterval    interface{} `field:"optional" json:"healthCheckInterval" yaml:"healthCheckInterval"`
	HealthCheckMethod      interface{} `field:"optional" json:"healthCheckMethod" yaml:"healthCheckMethod"`
	HealthCheckPath        interface{} `field:"optional" json:"healthCheckPath" yaml:"healthCheckPath"`
	HealthCheckProtocol    interface{} `field:"optional" json:"healthCheckProtocol" yaml:"healthCheckProtocol"`
	HealthCheckTimeout     interface{} `field:"optional" json:"healthCheckTimeout" yaml:"healthCheckTimeout"`
	HealthyThreshold       interface{} `field:"optional" json:"healthyThreshold" yaml:"healthyThreshold"`
	UnhealthyThreshold     interface{} `field:"optional" json:"unhealthyThreshold" yaml:"unhealthyThreshold"`
}

type RosServerGroup_SlowStartConfigProperty added in v1.3.0

type RosServerGroup_SlowStartConfigProperty struct {
	SlowStartDuration interface{} `field:"required" json:"slowStartDuration" yaml:"slowStartDuration"`
	SlowStartEnabled  interface{} `field:"required" json:"slowStartEnabled" yaml:"slowStartEnabled"`
}

type RosServerGroup_StickySessionConfigProperty

type RosServerGroup_StickySessionConfigProperty struct {
	Cookie               interface{} `field:"optional" json:"cookie" yaml:"cookie"`
	CookieTimeout        interface{} `field:"optional" json:"cookieTimeout" yaml:"cookieTimeout"`
	StickySessionEnabled interface{} `field:"optional" json:"stickySessionEnabled" yaml:"stickySessionEnabled"`
	StickySessionType    interface{} `field:"optional" json:"stickySessionType" yaml:"stickySessionType"`
}

type RosServerGroup_TagsProperty

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

type RosServerGroup_UchConfigProperty added in v1.3.0

type RosServerGroup_UchConfigProperty struct {
	Type  interface{} `field:"required" json:"type" yaml:"type"`
	Value interface{} `field:"required" json:"value" yaml:"value"`
}

type Rule

type Rule interface {
	alicloudroscdkcore.Resource
	IRule
	// Attribute RuleId: The ID of the forwarding rules.
	AttrRuleId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *RuleProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::Rule`ALIYUN::Config::Rule is used to create a forwarding rule.

func NewRule

func NewRule(scope alicloudroscdkcore.Construct, id *string, props *RuleProps, enableResourcePropertyConstraint *bool) Rule

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

type RuleProps

type RuleProps struct {
	// Property listenerId: The ID of the listener that is configured for the Application Load Balancer (ALB) instance.
	ListenerId interface{} `field:"required" json:"listenerId" yaml:"listenerId"`
	// Property priority: The priority of the forwarding rule.
	//
	// Valid values: 1 to 10000. A lower value specifies a higher priority.
	// Note The priority of each forwarding rule within a listener must be unique.
	Priority interface{} `field:"required" json:"priority" yaml:"priority"`
	// Property ruleActions: The actions of the forwarding rule.
	RuleActions interface{} `field:"required" json:"ruleActions" yaml:"ruleActions"`
	// Property ruleConditions: The conditions of the forwarding rule.
	RuleConditions interface{} `field:"required" json:"ruleConditions" yaml:"ruleConditions"`
	// Property ruleName: The name of the forwarding rule.
	//
	// The name must be 2 to 128 characters in length.
	// It can contain letters, digits, periods (.), underscores (_), and hyphens (-). It
	// must start with a letter.
	RuleName interface{} `field:"required" json:"ruleName" yaml:"ruleName"`
	// Property direction: Rule direction.
	//
	// Valid values: Request or Response.
	Direction interface{} `field:"optional" json:"direction" yaml:"direction"`
}

Properties for defining a `Rule`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-rule

type SecurityGroupAttachment

type SecurityGroupAttachment interface {
	alicloudroscdkcore.Resource
	ISecurityGroupAttachment
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *SecurityGroupAttachmentProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::SecurityGroupAttachment`, which is used to associate created security groups with an Application Load Balancer (ALB) instance.

func NewSecurityGroupAttachment

func NewSecurityGroupAttachment(scope alicloudroscdkcore.Construct, id *string, props *SecurityGroupAttachmentProps, enableResourcePropertyConstraint *bool) SecurityGroupAttachment

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

type SecurityGroupAttachmentProps

type SecurityGroupAttachmentProps struct {
	// Property loadBalancerId: The ID of ALB instance.
	LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"`
	// Property securityGroupIds: The IDs of the security group to which the ALB instance join.
	SecurityGroupIds interface{} `field:"optional" json:"securityGroupIds" yaml:"securityGroupIds"`
}

Properties for defining a `SecurityGroupAttachment`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-securitygroupattachment

type SecurityPolicy

type SecurityPolicy interface {
	alicloudroscdkcore.Resource
	ISecurityPolicy
	// Attribute SecurityPolicyId: The ID of the security policy.
	AttrSecurityPolicyId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *SecurityPolicyProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::SecurityPolicy`, which is used to create a custom security policy.

func NewSecurityPolicy

func NewSecurityPolicy(scope alicloudroscdkcore.Construct, id *string, props *SecurityPolicyProps, enableResourcePropertyConstraint *bool) SecurityPolicy

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

type SecurityPolicyProps

type SecurityPolicyProps struct {
	// Property ciphers: The supported cipher suites, which are determined by the TLS protocol version.
	//
	// The specified cipher suites must be supported by at least one TLS protocol version that you specify.
	// Note For example, if you set the TLSVersions parameter to TLSv1.3, you must specify cipher suites that are supported by TLS 1.3.
	Ciphers interface{} `field:"required" json:"ciphers" yaml:"ciphers"`
	// Property securityPolicyName: The name of the security policy.
	//
	// The name must be 2 to 128 characters in length, and can contain letters, digits, periods
	// (.), underscores (_), and hyphens (-). The name must start with a letter.
	SecurityPolicyName interface{} `field:"required" json:"securityPolicyName" yaml:"securityPolicyName"`
	// Property tlsVersions: The supported versions of the Transport Layer Security (TLS) protocol.
	//
	// Valid values: TLSv1.0, TLSv1.1, TLSv1.2, and TLSv1.3 and so on.
	TlsVersions interface{} `field:"required" json:"tlsVersions" yaml:"tlsVersions"`
	// Property resourceGroupId: The ID of the resource group.
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
}

Properties for defining a `SecurityPolicy`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-securitypolicy

type ServerGroup

type ServerGroup interface {
	alicloudroscdkcore.Resource
	IServerGroup
	// Attribute ServerGroupId: The ID of the server group.
	AttrServerGroupId() interface{}
	EnableResourcePropertyConstraint() *bool
	SetEnableResourcePropertyConstraint(val *bool)
	// The environment this resource belongs to.
	//
	// For resources that are created and managed by the CDK
	// (generally, those created by creating new class instances like Role, Bucket, etc.),
	// this is always the same as the environment of the stack they belong to;
	// however, for imported resources
	// (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
	// that might be different than the stack they were imported into.
	Env() *alicloudroscdkcore.ResourceEnvironment
	Id() *string
	SetId(val *string)
	// The construct tree node associated with this construct.
	Node() alicloudroscdkcore.ConstructNode
	// Returns a string-encoded token that resolves to the physical name that should be passed to the ROS resource.
	//
	// This value will resolve to one of the following:
	// - a concrete value (e.g. `"my-awesome-bucket"`)
	// - `undefined`, when a name should be generated by ROS
	// - a concrete name generated automatically during synthesis, in
	//    cross-environment scenarios.
	// Experimental.
	PhysicalName() *string
	Props() *ServerGroupProps
	Ref() *string
	Resource() alicloudroscdkcore.RosResource
	SetResource(val alicloudroscdkcore.RosResource)
	Scope() alicloudroscdkcore.Construct
	SetScope(val alicloudroscdkcore.Construct)
	// The stack in which this resource is defined.
	Stack() alicloudroscdkcore.Stack
	AddCondition(condition alicloudroscdkcore.RosCondition)
	AddCount(count interface{})
	AddDependency(resource alicloudroscdkcore.Resource)
	AddResourceDesc(desc *string)
	ApplyRemovalPolicy(policy alicloudroscdkcore.RemovalPolicy)
	FetchCondition() alicloudroscdkcore.RosCondition
	FetchDependency() *[]*string
	FetchResourceDesc() *string
	GeneratePhysicalName() *string
	GetAtt(name *string) alicloudroscdkcore.IResolvable
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	OnPrepare()
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	OnSynthesize(session constructs.ISynthesisSession)
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	OnValidate() *[]*string
	// Perform final modifications before synthesis.
	//
	// This method can be implemented by derived constructs in order to perform
	// final changes before synthesis. prepare() will be called after child
	// constructs have been prepared.
	//
	// This is an advanced framework feature. Only use this if you
	// understand the implications.
	Prepare()
	SetMetadata(key *string, value interface{})
	// Allows this construct to emit artifacts into the cloud assembly during synthesis.
	//
	// This method is usually implemented by framework-level constructs such as `Stack` and `Asset`
	// as they participate in synthesizing the cloud assembly.
	Synthesize(session alicloudroscdkcore.ISynthesisSession)
	// Returns a string representation of this construct.
	ToString() *string
	// Validate the current construct.
	//
	// This method can be implemented by derived constructs in order to perform
	// validation logic. It is called on all constructs before synthesis.
	//
	// Returns: An array of validation error messages, or an empty array if the construct is valid.
	Validate() *[]*string
}

This class encapsulates and extends the ROS resource type `ALIYUN::ALB::ServerGroup`, which is used to create a server group.

func NewServerGroup

func NewServerGroup(scope alicloudroscdkcore.Construct, id *string, props *ServerGroupProps, enableResourcePropertyConstraint *bool) ServerGroup

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

type ServerGroupProps

type ServerGroupProps struct {
	// Property healthCheckConfig: The configuration of health checks.
	HealthCheckConfig interface{} `field:"required" json:"healthCheckConfig" yaml:"healthCheckConfig"`
	// Property serverGroupName: The name of the server group.
	//
	// The name must be 2 to 128 characters in length, and
	// can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name
	// must start with a letter.
	ServerGroupName interface{} `field:"required" json:"serverGroupName" yaml:"serverGroupName"`
	// Property vpcId: The ID of the virtual private cloud (VPC).
	//
	// You can add only servers that are deployed
	// in the specified VPC to the server group.
	// Note: This parameter is required if the ServerGroupType parameter is set to Instance or Ip.
	// Note: This parameter takes effect when the ServerGroupType parameter is set to Instance or Ip.
	VpcId interface{} `field:"required" json:"vpcId" yaml:"vpcId"`
	// Property connectionDrainConfig: Configuration related to graceful connection interruption.Enable graceful connection interruption. After the backend server is removed or the health check fails, the load balancing allows the existing connection to be transmitted normally within a certain period of time.Note:  Basic Edition instances do not support enabling graceful connection interruption. Only Standard Edition and WAF Enhanced Edition instances support it.Server type and IP type server group support graceful connection interruption. Function Compute type does not support it.
	ConnectionDrainConfig interface{} `field:"optional" json:"connectionDrainConfig" yaml:"connectionDrainConfig"`
	// Property protocol: The backend protocol.
	//
	// Valid values:
	// HTTP (default): The server group can be associated with HTTPS, HTTP, and QUIC listeners.
	// HTTPS: The server group can be associated with HTTPS listeners.
	// gRPC: The server group can be associated with HTTPS and QUIC listeners.
	// Note: If the ServerGroupType parameter is set to Fc, you can set Protocol only to HTTP.
	Protocol interface{} `field:"optional" json:"protocol" yaml:"protocol"`
	// Property resourceGroupId: The ID of the resource group.
	ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"`
	// Property scheduler: The scheduling algorithm.
	//
	// Valid values:
	// Wrr (default): The weighted round-robin algorithm is used. Backend servers that have higher weights receive more requests than those that have lower weights.
	// Wlc: The weighted least connections algorithm is used. Requests are distributed based on the weights and the number of connections to backend servers. If two backend servers have the same weight, the backend server that has fewer connections is expected to receive more requests.
	// Sch: The consistent hashing algorithm is used. Requests from the same source IP address are distributed to the same backend server.
	// Note: This parameter takes effect when the ServerGroupType parameter is set to Instance or Ip.
	Scheduler interface{} `field:"optional" json:"scheduler" yaml:"scheduler"`
	// Property serverGroupType: The type of the server group.
	//
	// Valid values:
	// Instance (default): allows you add servers by specifying Ecs, Ens, or Eci.
	// Ip: allows you to add servers by specifying IP addresses.
	// Fc: allows you to add servers by specifying functions of Function Compute.
	ServerGroupType interface{} `field:"optional" json:"serverGroupType" yaml:"serverGroupType"`
	// Property serviceName: This parameter is available only if the ALB Ingress controller is used.
	//
	// In this case, set the parameter to the name of the Kubernetes Service that is associated with the server group.
	ServiceName interface{} `field:"optional" json:"serviceName" yaml:"serviceName"`
	// Property slowStartConfig: Slow start related configuration.After slow start is enabled, the backend server newly added to the backend server group will be preheated within the set time period, and the number of requests forwarded to the server will increase linearly.Note: Basic Edition instances do not support slow start, only Standard Edition and WAF Enhanced Edition instances support it.Server type and IP type server groups support slow start configuration, but Function Compute type does not.Slow start can only be enabled when the backend scheduling algorithm is the weighted polling algorithm.
	SlowStartConfig interface{} `field:"optional" json:"slowStartConfig" yaml:"slowStartConfig"`
	// Property stickySessionConfig: The configuration of session persistence.
	//
	// Note: This parameter is required if the ServerGroupType parameter is set to Instance or Ip.
	StickySessionConfig interface{} `field:"optional" json:"stickySessionConfig" yaml:"stickySessionConfig"`
	// Property tags: Tags to attach to instance.
	//
	// Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
	Tags *[]*RosServerGroup_TagsProperty `field:"optional" json:"tags" yaml:"tags"`
	// Property uchConfig: URL consistency hash parameter configuration.
	UchConfig interface{} `field:"optional" json:"uchConfig" yaml:"uchConfig"`
	// Property upstreamKeepaliveEnabled: Whether to enable upstream keepalive.
	UpstreamKeepaliveEnabled interface{} `field:"optional" json:"upstreamKeepaliveEnabled" yaml:"upstreamKeepaliveEnabled"`
}

Properties for defining a `ServerGroup`.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-servergroup

Source Files

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