Documentation ¶
Index ¶
- func AccessControl_IsConstruct(x interface{}) *bool
- func AccessControls_IsConstruct(x interface{}) *bool
- func DomainExtension_IsConstruct(x interface{}) *bool
- func DomainExtensions_IsConstruct(x interface{}) *bool
- func LoadBalancerTCPListener_IsConstruct(x interface{}) *bool
- func LoadBalancerTCPListeners_IsConstruct(x interface{}) *bool
- func LoadBalancer_IsConstruct(x interface{}) *bool
- func LoadBalancers_IsConstruct(x interface{}) *bool
- func NewAccessControl_Override(a AccessControl, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewAccessControls_Override(a AccessControls, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewDomainExtension_Override(d DomainExtension, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewDomainExtensions_Override(d DomainExtensions, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewLoadBalancerTCPListener_Override(l LoadBalancerTCPListener, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewLoadBalancerTCPListeners_Override(l LoadBalancerTCPListeners, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewLoadBalancer_Override(l LoadBalancer, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewLoadBalancers_Override(l LoadBalancers, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosAccessControl_Override(r RosAccessControl, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosAccessControls_Override(r RosAccessControls, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosDomainExtension_Override(r RosDomainExtension, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosDomainExtensions_Override(r RosDomainExtensions, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosLoadBalancerTCPListener_Override(r RosLoadBalancerTCPListener, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosLoadBalancerTCPListeners_Override(r RosLoadBalancerTCPListeners, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosLoadBalancer_Override(r RosLoadBalancer, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosLoadBalancers_Override(r RosLoadBalancers, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosRule_Override(r RosRule, scope alicloudroscdkcore.Construct, id *string, props *RosRuleProps, ...)
- func NewRosRules_Override(r RosRules, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosTLSPolicies_Override(r RosTLSPolicies, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosTLSPolicy_Override(r RosTLSPolicy, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosVServerGroup_Override(r RosVServerGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosVServerGroups_Override(r RosVServerGroups, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRosZones_Override(r RosZones, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewRule_Override(r Rule, scope alicloudroscdkcore.Construct, id *string, props *RuleProps, ...)
- func NewRules_Override(r Rules, scope alicloudroscdkcore.Construct, id *string, props *RulesProps, ...)
- func NewTLSPolicies_Override(t TLSPolicies, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewTLSPolicy_Override(t TLSPolicy, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewVServerGroup_Override(v VServerGroup, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewVServerGroups_Override(v VServerGroups, scope alicloudroscdkcore.Construct, id *string, ...)
- func NewZones_Override(z Zones, scope alicloudroscdkcore.Construct, id *string, props *ZonesProps, ...)
- func RosAccessControl_IsConstruct(x interface{}) *bool
- func RosAccessControl_IsRosElement(x interface{}) *bool
- func RosAccessControl_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosAccessControl_ROS_RESOURCE_TYPE_NAME() *string
- func RosAccessControls_IsConstruct(x interface{}) *bool
- func RosAccessControls_IsRosElement(x interface{}) *bool
- func RosAccessControls_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosAccessControls_ROS_RESOURCE_TYPE_NAME() *string
- func RosDomainExtension_IsConstruct(x interface{}) *bool
- func RosDomainExtension_IsRosElement(x interface{}) *bool
- func RosDomainExtension_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosDomainExtension_ROS_RESOURCE_TYPE_NAME() *string
- func RosDomainExtensions_IsConstruct(x interface{}) *bool
- func RosDomainExtensions_IsRosElement(x interface{}) *bool
- func RosDomainExtensions_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosDomainExtensions_ROS_RESOURCE_TYPE_NAME() *string
- func RosLoadBalancerTCPListener_IsConstruct(x interface{}) *bool
- func RosLoadBalancerTCPListener_IsRosElement(x interface{}) *bool
- func RosLoadBalancerTCPListener_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosLoadBalancerTCPListener_ROS_RESOURCE_TYPE_NAME() *string
- func RosLoadBalancerTCPListeners_IsConstruct(x interface{}) *bool
- func RosLoadBalancerTCPListeners_IsRosElement(x interface{}) *bool
- func RosLoadBalancerTCPListeners_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosLoadBalancerTCPListeners_ROS_RESOURCE_TYPE_NAME() *string
- func RosLoadBalancer_IsConstruct(x interface{}) *bool
- func RosLoadBalancer_IsRosElement(x interface{}) *bool
- func RosLoadBalancer_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosLoadBalancer_ROS_RESOURCE_TYPE_NAME() *string
- func RosLoadBalancers_IsConstruct(x interface{}) *bool
- func RosLoadBalancers_IsRosElement(x interface{}) *bool
- func RosLoadBalancers_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosLoadBalancers_ROS_RESOURCE_TYPE_NAME() *string
- func RosRule_IsConstruct(x interface{}) *bool
- func RosRule_IsRosElement(x interface{}) *bool
- func RosRule_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosRule_ROS_RESOURCE_TYPE_NAME() *string
- func RosRules_IsConstruct(x interface{}) *bool
- func RosRules_IsRosElement(x interface{}) *bool
- func RosRules_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosRules_ROS_RESOURCE_TYPE_NAME() *string
- func RosTLSPolicies_IsConstruct(x interface{}) *bool
- func RosTLSPolicies_IsRosElement(x interface{}) *bool
- func RosTLSPolicies_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosTLSPolicies_ROS_RESOURCE_TYPE_NAME() *string
- func RosTLSPolicy_IsConstruct(x interface{}) *bool
- func RosTLSPolicy_IsRosElement(x interface{}) *bool
- func RosTLSPolicy_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosTLSPolicy_ROS_RESOURCE_TYPE_NAME() *string
- func RosVServerGroup_IsConstruct(x interface{}) *bool
- func RosVServerGroup_IsRosElement(x interface{}) *bool
- func RosVServerGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosVServerGroup_ROS_RESOURCE_TYPE_NAME() *string
- func RosVServerGroups_IsConstruct(x interface{}) *bool
- func RosVServerGroups_IsRosElement(x interface{}) *bool
- func RosVServerGroups_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosVServerGroups_ROS_RESOURCE_TYPE_NAME() *string
- func RosZones_IsConstruct(x interface{}) *bool
- func RosZones_IsRosElement(x interface{}) *bool
- func RosZones_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
- func RosZones_ROS_RESOURCE_TYPE_NAME() *string
- func Rule_IsConstruct(x interface{}) *bool
- func Rules_IsConstruct(x interface{}) *bool
- func TLSPolicies_IsConstruct(x interface{}) *bool
- func TLSPolicy_IsConstruct(x interface{}) *bool
- func VServerGroup_IsConstruct(x interface{}) *bool
- func VServerGroups_IsConstruct(x interface{}) *bool
- func Zones_IsConstruct(x interface{}) *bool
- type AccessControl
- type AccessControlProps
- type AccessControls
- type AccessControlsProps
- type DomainExtension
- type DomainExtensionProps
- type DomainExtensions
- type DomainExtensionsProps
- type IAccessControl
- type IAccessControls
- type IDomainExtension
- type IDomainExtensions
- type ILoadBalancer
- type ILoadBalancerTCPListener
- type ILoadBalancerTCPListeners
- type ILoadBalancers
- type IRule
- type IRules
- type ITLSPolicies
- type ITLSPolicy
- type IVServerGroup
- type IVServerGroups
- type IZones
- type LoadBalancer
- type LoadBalancerProps
- type LoadBalancerTCPListener
- type LoadBalancerTCPListenerProps
- type LoadBalancerTCPListeners
- type LoadBalancerTCPListenersProps
- type LoadBalancers
- type LoadBalancersProps
- type RosAccessControl
- type RosAccessControlProps
- type RosAccessControls
- type RosAccessControlsProps
- type RosDomainExtension
- type RosDomainExtensionProps
- type RosDomainExtensions
- type RosDomainExtensionsProps
- type RosLoadBalancer
- type RosLoadBalancerProps
- type RosLoadBalancerTCPListener
- type RosLoadBalancerTCPListenerProps
- type RosLoadBalancerTCPListeners
- type RosLoadBalancerTCPListenersProps
- type RosLoadBalancers
- type RosLoadBalancersProps
- type RosRule
- type RosRuleProps
- type RosRules
- type RosRulesProps
- type RosTLSPolicies
- type RosTLSPoliciesProps
- type RosTLSPolicy
- type RosTLSPolicyProps
- type RosVServerGroup
- type RosVServerGroupProps
- type RosVServerGroups
- type RosVServerGroupsProps
- type RosZones
- type RosZonesProps
- type Rule
- type RuleProps
- type Rules
- type RulesProps
- type TLSPolicies
- type TLSPoliciesProps
- type TLSPolicy
- type TLSPolicyProps
- type VServerGroup
- type VServerGroupProps
- type VServerGroups
- type VServerGroupsProps
- type Zones
- type ZonesProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessControl_IsConstruct ¶ added in v1.4.0
func AccessControl_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func AccessControls_IsConstruct ¶
func AccessControls_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func DomainExtension_IsConstruct ¶ added in v1.4.0
func DomainExtension_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func DomainExtensions_IsConstruct ¶
func DomainExtensions_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func LoadBalancerTCPListener_IsConstruct ¶ added in v1.4.0
func LoadBalancerTCPListener_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func LoadBalancerTCPListeners_IsConstruct ¶ added in v1.4.0
func LoadBalancerTCPListeners_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func LoadBalancer_IsConstruct ¶ added in v1.4.0
func LoadBalancer_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func LoadBalancers_IsConstruct ¶
func LoadBalancers_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func NewAccessControl_Override ¶ added in v1.4.0
func NewAccessControl_Override(a AccessControl, scope alicloudroscdkcore.Construct, id *string, props *AccessControlProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewAccessControls_Override ¶
func NewAccessControls_Override(a AccessControls, scope alicloudroscdkcore.Construct, id *string, props *AccessControlsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewDomainExtension_Override ¶ added in v1.4.0
func NewDomainExtension_Override(d DomainExtension, scope alicloudroscdkcore.Construct, id *string, props *DomainExtensionProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewDomainExtensions_Override ¶
func NewDomainExtensions_Override(d DomainExtensions, scope alicloudroscdkcore.Construct, id *string, props *DomainExtensionsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewLoadBalancerTCPListener_Override ¶ added in v1.4.0
func NewLoadBalancerTCPListener_Override(l LoadBalancerTCPListener, scope alicloudroscdkcore.Construct, id *string, props *LoadBalancerTCPListenerProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewLoadBalancerTCPListeners_Override ¶ added in v1.4.0
func NewLoadBalancerTCPListeners_Override(l LoadBalancerTCPListeners, scope alicloudroscdkcore.Construct, id *string, props *LoadBalancerTCPListenersProps, 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 ¶ added in v1.4.0
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 NewLoadBalancers_Override ¶
func NewLoadBalancers_Override(l LoadBalancers, scope alicloudroscdkcore.Construct, id *string, props *LoadBalancersProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewRosAccessControl_Override ¶ added in v1.4.0
func NewRosAccessControl_Override(r RosAccessControl, scope alicloudroscdkcore.Construct, id *string, props *RosAccessControlProps, enableResourcePropertyConstraint *bool)
func NewRosAccessControls_Override ¶
func NewRosAccessControls_Override(r RosAccessControls, scope alicloudroscdkcore.Construct, id *string, props *RosAccessControlsProps, enableResourcePropertyConstraint *bool)
func NewRosDomainExtension_Override ¶ added in v1.4.0
func NewRosDomainExtension_Override(r RosDomainExtension, scope alicloudroscdkcore.Construct, id *string, props *RosDomainExtensionProps, enableResourcePropertyConstraint *bool)
func NewRosDomainExtensions_Override ¶
func NewRosDomainExtensions_Override(r RosDomainExtensions, scope alicloudroscdkcore.Construct, id *string, props *RosDomainExtensionsProps, enableResourcePropertyConstraint *bool)
func NewRosLoadBalancerTCPListener_Override ¶ added in v1.4.0
func NewRosLoadBalancerTCPListener_Override(r RosLoadBalancerTCPListener, scope alicloudroscdkcore.Construct, id *string, props *RosLoadBalancerTCPListenerProps, enableResourcePropertyConstraint *bool)
func NewRosLoadBalancerTCPListeners_Override ¶ added in v1.4.0
func NewRosLoadBalancerTCPListeners_Override(r RosLoadBalancerTCPListeners, scope alicloudroscdkcore.Construct, id *string, props *RosLoadBalancerTCPListenersProps, enableResourcePropertyConstraint *bool)
func NewRosLoadBalancer_Override ¶ added in v1.4.0
func NewRosLoadBalancer_Override(r RosLoadBalancer, scope alicloudroscdkcore.Construct, id *string, props *RosLoadBalancerProps, enableResourcePropertyConstraint *bool)
func NewRosLoadBalancers_Override ¶
func NewRosLoadBalancers_Override(r RosLoadBalancers, scope alicloudroscdkcore.Construct, id *string, props *RosLoadBalancersProps, enableResourcePropertyConstraint *bool)
func NewRosRule_Override ¶ added in v1.4.0
func NewRosRule_Override(r RosRule, scope alicloudroscdkcore.Construct, id *string, props *RosRuleProps, enableResourcePropertyConstraint *bool)
func NewRosRules_Override ¶
func NewRosRules_Override(r RosRules, scope alicloudroscdkcore.Construct, id *string, props *RosRulesProps, enableResourcePropertyConstraint *bool)
func NewRosTLSPolicies_Override ¶
func NewRosTLSPolicies_Override(r RosTLSPolicies, scope alicloudroscdkcore.Construct, id *string, props *RosTLSPoliciesProps, enableResourcePropertyConstraint *bool)
func NewRosTLSPolicy_Override ¶ added in v1.4.0
func NewRosTLSPolicy_Override(r RosTLSPolicy, scope alicloudroscdkcore.Construct, id *string, props *RosTLSPolicyProps, enableResourcePropertyConstraint *bool)
func NewRosVServerGroup_Override ¶ added in v1.4.0
func NewRosVServerGroup_Override(r RosVServerGroup, scope alicloudroscdkcore.Construct, id *string, props *RosVServerGroupProps, enableResourcePropertyConstraint *bool)
func NewRosVServerGroups_Override ¶
func NewRosVServerGroups_Override(r RosVServerGroups, scope alicloudroscdkcore.Construct, id *string, props *RosVServerGroupsProps, enableResourcePropertyConstraint *bool)
func NewRosZones_Override ¶
func NewRosZones_Override(r RosZones, scope alicloudroscdkcore.Construct, id *string, props *RosZonesProps, enableResourcePropertyConstraint *bool)
func NewRule_Override ¶ added in v1.4.0
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 NewRules_Override ¶
func NewRules_Override(r Rules, scope alicloudroscdkcore.Construct, id *string, props *RulesProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewTLSPolicies_Override ¶
func NewTLSPolicies_Override(t TLSPolicies, scope alicloudroscdkcore.Construct, id *string, props *TLSPoliciesProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewTLSPolicy_Override ¶ added in v1.4.0
func NewTLSPolicy_Override(t TLSPolicy, scope alicloudroscdkcore.Construct, id *string, props *TLSPolicyProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewVServerGroup_Override ¶ added in v1.4.0
func NewVServerGroup_Override(v VServerGroup, scope alicloudroscdkcore.Construct, id *string, props *VServerGroupProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewVServerGroups_Override ¶
func NewVServerGroups_Override(v VServerGroups, scope alicloudroscdkcore.Construct, id *string, props *VServerGroupsProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func NewZones_Override ¶
func NewZones_Override(z Zones, scope alicloudroscdkcore.Construct, id *string, props *ZonesProps, enableResourcePropertyConstraint *bool)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
func RosAccessControl_IsConstruct ¶ added in v1.4.0
func RosAccessControl_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAccessControl_IsRosElement ¶ added in v1.4.0
func RosAccessControl_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 RosAccessControl_IsRosResource ¶ added in v1.4.0
func RosAccessControl_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosAccessControl_ROS_RESOURCE_TYPE_NAME ¶ added in v1.4.0
func RosAccessControl_ROS_RESOURCE_TYPE_NAME() *string
func RosAccessControls_IsConstruct ¶
func RosAccessControls_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosAccessControls_IsRosElement ¶
func RosAccessControls_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 RosAccessControls_IsRosResource ¶
func RosAccessControls_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosAccessControls_ROS_RESOURCE_TYPE_NAME ¶
func RosAccessControls_ROS_RESOURCE_TYPE_NAME() *string
func RosDomainExtension_IsConstruct ¶ added in v1.4.0
func RosDomainExtension_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosDomainExtension_IsRosElement ¶ added in v1.4.0
func RosDomainExtension_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 RosDomainExtension_IsRosResource ¶ added in v1.4.0
func RosDomainExtension_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosDomainExtension_ROS_RESOURCE_TYPE_NAME ¶ added in v1.4.0
func RosDomainExtension_ROS_RESOURCE_TYPE_NAME() *string
func RosDomainExtensions_IsConstruct ¶
func RosDomainExtensions_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosDomainExtensions_IsRosElement ¶
func RosDomainExtensions_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 RosDomainExtensions_IsRosResource ¶
func RosDomainExtensions_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosDomainExtensions_ROS_RESOURCE_TYPE_NAME ¶
func RosDomainExtensions_ROS_RESOURCE_TYPE_NAME() *string
func RosLoadBalancerTCPListener_IsConstruct ¶ added in v1.4.0
func RosLoadBalancerTCPListener_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosLoadBalancerTCPListener_IsRosElement ¶ added in v1.4.0
func RosLoadBalancerTCPListener_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 RosLoadBalancerTCPListener_IsRosResource ¶ added in v1.4.0
func RosLoadBalancerTCPListener_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosLoadBalancerTCPListener_ROS_RESOURCE_TYPE_NAME ¶ added in v1.4.0
func RosLoadBalancerTCPListener_ROS_RESOURCE_TYPE_NAME() *string
func RosLoadBalancerTCPListeners_IsConstruct ¶ added in v1.4.0
func RosLoadBalancerTCPListeners_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosLoadBalancerTCPListeners_IsRosElement ¶ added in v1.4.0
func RosLoadBalancerTCPListeners_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 RosLoadBalancerTCPListeners_IsRosResource ¶ added in v1.4.0
func RosLoadBalancerTCPListeners_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosLoadBalancerTCPListeners_ROS_RESOURCE_TYPE_NAME ¶ added in v1.4.0
func RosLoadBalancerTCPListeners_ROS_RESOURCE_TYPE_NAME() *string
func RosLoadBalancer_IsConstruct ¶ added in v1.4.0
func RosLoadBalancer_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosLoadBalancer_IsRosElement ¶ added in v1.4.0
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 ¶ added in v1.4.0
func RosLoadBalancer_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosLoadBalancer_ROS_RESOURCE_TYPE_NAME ¶ added in v1.4.0
func RosLoadBalancer_ROS_RESOURCE_TYPE_NAME() *string
func RosLoadBalancers_IsConstruct ¶
func RosLoadBalancers_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosLoadBalancers_IsRosElement ¶
func RosLoadBalancers_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 RosLoadBalancers_IsRosResource ¶
func RosLoadBalancers_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosLoadBalancers_ROS_RESOURCE_TYPE_NAME ¶
func RosLoadBalancers_ROS_RESOURCE_TYPE_NAME() *string
func RosRule_IsConstruct ¶ added in v1.4.0
func RosRule_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosRule_IsRosElement ¶ added in v1.4.0
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 ¶ added in v1.4.0
func RosRule_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosRule_ROS_RESOURCE_TYPE_NAME ¶ added in v1.4.0
func RosRule_ROS_RESOURCE_TYPE_NAME() *string
func RosRules_IsConstruct ¶
func RosRules_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosRules_IsRosElement ¶
func RosRules_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 RosRules_IsRosResource ¶
func RosRules_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosRules_ROS_RESOURCE_TYPE_NAME ¶
func RosRules_ROS_RESOURCE_TYPE_NAME() *string
func RosTLSPolicies_IsConstruct ¶
func RosTLSPolicies_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosTLSPolicies_IsRosElement ¶
func RosTLSPolicies_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 RosTLSPolicies_IsRosResource ¶
func RosTLSPolicies_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosTLSPolicies_ROS_RESOURCE_TYPE_NAME ¶
func RosTLSPolicies_ROS_RESOURCE_TYPE_NAME() *string
func RosTLSPolicy_IsConstruct ¶ added in v1.4.0
func RosTLSPolicy_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosTLSPolicy_IsRosElement ¶ added in v1.4.0
func RosTLSPolicy_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 RosTLSPolicy_IsRosResource ¶ added in v1.4.0
func RosTLSPolicy_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosTLSPolicy_ROS_RESOURCE_TYPE_NAME ¶ added in v1.4.0
func RosTLSPolicy_ROS_RESOURCE_TYPE_NAME() *string
func RosVServerGroup_IsConstruct ¶ added in v1.4.0
func RosVServerGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosVServerGroup_IsRosElement ¶ added in v1.4.0
func RosVServerGroup_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 RosVServerGroup_IsRosResource ¶ added in v1.4.0
func RosVServerGroup_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosVServerGroup_ROS_RESOURCE_TYPE_NAME ¶ added in v1.4.0
func RosVServerGroup_ROS_RESOURCE_TYPE_NAME() *string
func RosVServerGroups_IsConstruct ¶
func RosVServerGroups_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosVServerGroups_IsRosElement ¶
func RosVServerGroups_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 RosVServerGroups_IsRosResource ¶
func RosVServerGroups_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosVServerGroups_ROS_RESOURCE_TYPE_NAME ¶
func RosVServerGroups_ROS_RESOURCE_TYPE_NAME() *string
func RosZones_IsConstruct ¶
func RosZones_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func RosZones_IsRosElement ¶
func RosZones_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 RosZones_IsRosResource ¶
func RosZones_IsRosResource(construct alicloudroscdkcore.IConstruct) *bool
Check whether the given construct is a RosResource.
func RosZones_ROS_RESOURCE_TYPE_NAME ¶
func RosZones_ROS_RESOURCE_TYPE_NAME() *string
func Rule_IsConstruct ¶ added in v1.4.0
func Rule_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Rules_IsConstruct ¶
func Rules_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func TLSPolicies_IsConstruct ¶
func TLSPolicies_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func TLSPolicy_IsConstruct ¶ added in v1.4.0
func TLSPolicy_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func VServerGroup_IsConstruct ¶ added in v1.4.0
func VServerGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func VServerGroups_IsConstruct ¶
func VServerGroups_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
func Zones_IsConstruct ¶
func Zones_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
Types ¶
type AccessControl ¶ added in v1.4.0
type AccessControl interface { alicloudroscdkcore.Resource IAccessControl // Attribute AclEntries: The IP entries that you want to remove from the network ACL. AttrAclEntries() interface{} // Attribute AclId: The ID of the ACL. AttrAclId() interface{} // Attribute AclName: The ACL name. AttrAclName() interface{} // Attribute AddressIpVersion: The IP version. // // Valid values: ipv4 and ipv6. AttrAddressIpVersion() interface{} // Attribute RelatedListeners: The listeners that are associated with the network ACL. AttrRelatedListeners() interface{} // Attribute ResourceGroupId: The resource group ID. AttrResourceGroupId() interface{} // Attribute Tags: The tags of the resource. AttrTags() 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() *AccessControlProps 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 `DATASOURCE::SLB::AccessControl`.
func NewAccessControl ¶ added in v1.4.0
func NewAccessControl(scope alicloudroscdkcore.Construct, id *string, props *AccessControlProps, enableResourcePropertyConstraint *bool) AccessControl
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type AccessControlProps ¶ added in v1.4.0
type AccessControlProps struct { // Property aclId: The ID of the ACL. AclId interface{} `field:"required" json:"aclId" yaml:"aclId"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `AccessControl`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-accesscontrol
type AccessControls ¶
type AccessControls interface { alicloudroscdkcore.Resource IAccessControls // Attribute AccessControls: The list of access controls. AttrAccessControls() interface{} // Attribute AclIds: The list of acl IDs. AttrAclIds() 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() *AccessControlsProps 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 `DATASOURCE::SLB::AccessControls`, which is used to query created access control lists (ACLs).
func NewAccessControls ¶
func NewAccessControls(scope alicloudroscdkcore.Construct, id *string, props *AccessControlsProps, enableResourcePropertyConstraint *bool) AccessControls
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type AccessControlsProps ¶
type AccessControlsProps struct { // Property aclName: The name of the network ACL. AclName interface{} `field:"optional" json:"aclName" yaml:"aclName"` // Property addressIpVersion: The IP version. // // Valid values: ipv4 and ipv6. AddressIpVersion interface{} `field:"optional" json:"addressIpVersion" yaml:"addressIpVersion"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: The ID of the resource group to which the network ACL belongs. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `AccessControls`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-accesscontrols
type DomainExtension ¶ added in v1.4.0
type DomainExtension interface { alicloudroscdkcore.Resource IDomainExtension // Attribute Domain: The domain name. AttrDomain() interface{} // Attribute DomainExtensionId: The ID of the additional certificate. AttrDomainExtensionId() interface{} // Attribute ListenerPort: The frontend port of the HTTPS listener that is configured for the SLB instance. // // Valid values: 1 to 65535. AttrListenerPort() interface{} // Attribute LoadBalancerId: The ID of the SLB instance. AttrLoadBalancerId() interface{} // Attribute ServerCertificateId: The ID of the server certificate that is used by the domain name. AttrServerCertificateId() 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() *DomainExtensionProps 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 `DATASOURCE::SLB::DomainExtension`.
func NewDomainExtension ¶ added in v1.4.0
func NewDomainExtension(scope alicloudroscdkcore.Construct, id *string, props *DomainExtensionProps, enableResourcePropertyConstraint *bool) DomainExtension
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type DomainExtensionProps ¶ added in v1.4.0
type DomainExtensionProps struct { // Property domainExtensionId: The ID of the additional certificate. DomainExtensionId interface{} `field:"required" json:"domainExtensionId" yaml:"domainExtensionId"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `DomainExtension`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-domainextension
type DomainExtensions ¶
type DomainExtensions interface { alicloudroscdkcore.Resource IDomainExtensions // Attribute DomainExtensionIds: The list of domain extension IDs. AttrDomainExtensionIds() interface{} // Attribute DomainExtensions: The list of domain extensions. AttrDomainExtensions() 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() *DomainExtensionsProps 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 `DATASOURCE::SLB::DomainExtensions`, which is used to query the domain name extensions that are added to a listener of a Server Load Balancer (SLB) instance.
func NewDomainExtensions ¶
func NewDomainExtensions(scope alicloudroscdkcore.Construct, id *string, props *DomainExtensionsProps, enableResourcePropertyConstraint *bool) DomainExtensions
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type DomainExtensionsProps ¶
type DomainExtensionsProps struct { // Property listenerPort: The frontend port of the HTTPS listener that is configured for the Classic Load Balancer (CLB) instance. // // Valid values: 1 to 65535. ListenerPort interface{} `field:"required" json:"listenerPort" yaml:"listenerPort"` // Property loadBalancerId: The ID of the CLB instance. LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` // Property domainExtensionId: The ID of the additional certificate. DomainExtensionId interface{} `field:"optional" json:"domainExtensionId" yaml:"domainExtensionId"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `DomainExtensions`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-domainextensions
type IAccessControl ¶ added in v1.6.0
type IAccessControl interface { alicloudroscdkcore.IResource // Attribute AclEntries: The IP entries that you want to remove from the network ACL. AttrAclEntries() interface{} // Attribute AclId: The ID of the ACL. AttrAclId() interface{} // Attribute AclName: The ACL name. AttrAclName() interface{} // Attribute AddressIpVersion: The IP version. // // Valid values: ipv4 and ipv6. AttrAddressIpVersion() interface{} // Attribute RelatedListeners: The listeners that are associated with the network ACL. AttrRelatedListeners() interface{} // Attribute ResourceGroupId: The resource group ID. AttrResourceGroupId() interface{} // Attribute Tags: The tags of the resource. AttrTags() interface{} Props() *AccessControlProps }
Represents a `AccessControl`.
type IAccessControls ¶ added in v1.6.0
type IAccessControls interface { alicloudroscdkcore.IResource // Attribute AccessControls: The list of access controls. AttrAccessControls() interface{} // Attribute AclIds: The list of acl IDs. AttrAclIds() interface{} Props() *AccessControlsProps }
Represents a `AccessControls`.
type IDomainExtension ¶ added in v1.6.0
type IDomainExtension interface { alicloudroscdkcore.IResource // Attribute Domain: The domain name. AttrDomain() interface{} // Attribute DomainExtensionId: The ID of the additional certificate. AttrDomainExtensionId() interface{} // Attribute ListenerPort: The frontend port of the HTTPS listener that is configured for the SLB instance. // // Valid values: 1 to 65535. AttrListenerPort() interface{} // Attribute LoadBalancerId: The ID of the SLB instance. AttrLoadBalancerId() interface{} // Attribute ServerCertificateId: The ID of the server certificate that is used by the domain name. AttrServerCertificateId() interface{} Props() *DomainExtensionProps }
Represents a `DomainExtension`.
type IDomainExtensions ¶ added in v1.6.0
type IDomainExtensions interface { alicloudroscdkcore.IResource // Attribute DomainExtensionIds: The list of domain extension IDs. AttrDomainExtensionIds() interface{} // Attribute DomainExtensions: The list of domain extensions. AttrDomainExtensions() interface{} Props() *DomainExtensionsProps }
Represents a `DomainExtensions`.
type ILoadBalancer ¶ added in v1.6.0
type ILoadBalancer interface { alicloudroscdkcore.IResource // Attribute Address: The service IP address of the CLB instance. AttrAddress() interface{} // Attribute AddressIpVersion: The version of the IP address. // // Valid values: ipv4 and ipv6. AttrAddressIpVersion() interface{} // Attribute AddressType: The address type of the CLB instance. AttrAddressType() interface{} // Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released. AttrAutoReleaseTime() interface{} // Attribute BackendServers: The backend servers of the CLB instance. AttrBackendServers() interface{} // Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis. AttrBandwidth() interface{} // Attribute CreateTime: The time when the CLB instance was created. AttrCreateTime() interface{} // Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded. AttrCreateTimeStamp() interface{} // Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance. AttrDeleteProtection() interface{} // Attribute EndTime: The time when the CLB instance expires. AttrEndTime() interface{} // Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance. AttrEndTimeStamp() interface{} // Attribute InstanceChargeType: Instance billing method. AttrInstanceChargeType() interface{} // Attribute InternetChargeType: The metering method of the Internet-facing CLB instance. AttrInternetChargeType() interface{} // Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners. AttrListenerPortsAndProtocal() interface{} // Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners. AttrListenerPortsAndProtocol() interface{} // Attribute LoadBalancerId: The CLB instance ID. AttrLoadBalancerId() interface{} // Attribute LoadBalancerName: The name of the CLB instance. AttrLoadBalancerName() interface{} // Attribute LoadBalancerSpec: The specification of the CLB instance. AttrLoadBalancerSpec() interface{} // Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs. AttrMasterZoneId() interface{} // Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled. AttrModificationProtectionReason() interface{} // Attribute ModificationProtectionStatus: Load balancing modifies the protection state. AttrModificationProtectionStatus() interface{} // Attribute NetworkType: The network type of the CLB instance. AttrNetworkType() interface{} // Attribute PaymentType: Load balancing instance payment type. AttrPaymentType() interface{} // Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs. AttrRegionIdAlias() interface{} // Attribute RenewalCycUnit: The auto-renewal cycle. // // Valid values: Year and Month. Default value: Month. AttrRenewalCycUnit() interface{} // Attribute RenewalDuration: The auto-renewal duration. // // This parameter is valid only if RenewalStatus is set to AutoRenewal. AttrRenewalDuration() interface{} // Attribute RenewalStatus: Indicates whether auto-renewal is enabled. AttrRenewalStatus() interface{} // Attribute ResourceGroupId: The resource group ID. AttrResourceGroupId() interface{} // Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs. AttrSlaveZoneId() interface{} // Attribute Tags: The tags of the CLB instance. AttrTags() interface{} // Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed. AttrVpcId() interface{} // Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs. AttrVSwitchId() interface{} Props() *LoadBalancerProps }
Represents a `LoadBalancer`.
type ILoadBalancerTCPListener ¶ added in v1.6.0
type ILoadBalancerTCPListener interface { alicloudroscdkcore.IResource // Attribute AclId: The ID of the network ACL that is associated with the listener. AttrAclId() interface{} // Attribute AclIds: The ID list of the network ACL that is associated with the listener. AttrAclIds() interface{} // Attribute AclStatus: Indicates whether access control is enabled. AttrAclStatus() interface{} // Attribute AclType: The type of the ACL. AttrAclType() interface{} // Attribute BackendServerPort: The backend port used by the CLB instance. AttrBackendServerPort() interface{} // Attribute Bandwidth: The maximum bandwidth of the listener. // // Unit: Mbit/s. AttrBandwidth() interface{} // Attribute ConnectionDrain: Indicates whether connection draining is enabled. // // If ConnectionDrain is set to on, the parameter is returned. AttrConnectionDrain() interface{} // Attribute ConnectionDrainTimeout: The timeout period of connection draining. // // If ConnectionDrain is set to on, the parameter is returned. AttrConnectionDrainTimeout() interface{} // Attribute Description: The description of the listener. AttrDescription() interface{} // Attribute EstablishedTimeout: The timeout period of a connection. AttrEstablishedTimeout() interface{} // Attribute HealthCheck: Indicates whether the health check feature is enabled. AttrHealthCheck() interface{} // Attribute HealthCheckConnectPort: The port that is used for health checks. AttrHealthCheckConnectPort() interface{} // Attribute HealthCheckConnectTimeout: The timeout period. // // Unit: seconds. AttrHealthCheckConnectTimeout() interface{} // Attribute HealthCheckDomain: The domain name that is used for health checks. AttrHealthCheckDomain() interface{} // Attribute HealthCheckHttpCode: The HTTP status code for a successful health check. AttrHealthCheckHttpCode() interface{} // Attribute HealthCheckInterval: The interval between two consecutive health checks. // // Valid values: 1 to 50. Unit: seconds. AttrHealthCheckInterval() interface{} // Attribute HealthCheckMethod: The health check method. AttrHealthCheckMethod() interface{} // Attribute HealthCheckType: The health check method that is used by the TCP listener. AttrHealthCheckType() interface{} // Attribute HealthCheckUri: The URL that is used for health checks. AttrHealthCheckUri() interface{} // Attribute HealthyThreshold: The healthy threshold. // // 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. AttrHealthyThreshold() interface{} // Attribute ListenerPort: The frontend port used by the CLB instance. AttrListenerPort() interface{} // Attribute LoadBalancerId: The ID of the CLB instance. AttrLoadBalancerId() interface{} // Attribute MasterSlaveServerGroupId: The ID of the primary/secondary server group that is associated with the listener. AttrMasterSlaveServerGroupId() interface{} // Attribute PersistenceTimeout: The timeout period of session persistence. AttrPersistenceTimeout() interface{} // Attribute ProxyProtocolV2Enabled: Indicates whether the Proxy protocol is used to pass client IP addresses to backend servers. AttrProxyProtocolV2Enabled() interface{} // Attribute Scheduler: The scheduling algorithm. AttrScheduler() interface{} // Attribute SynProxy: Indicates whether the SynProxy feature of CLB is enabled for protection. AttrSynProxy() interface{} // Attribute UnhealthyThreshold: The unhealthy threshold. // // 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. AttrUnhealthyThreshold() interface{} // Attribute VServerGroupId: The ID of the associated server group. AttrVServerGroupId() interface{} Props() *LoadBalancerTCPListenerProps }
Represents a `LoadBalancerTCPListener`.
type ILoadBalancerTCPListeners ¶ added in v1.6.0
type ILoadBalancerTCPListeners interface { alicloudroscdkcore.IResource // Attribute ListenerPorts: The list of listener ports. AttrListenerPorts() interface{} // Attribute LoadBalancerTCPListeners: The list of load balancer tcp listeners. AttrLoadBalancerTcpListeners() interface{} Props() *LoadBalancerTCPListenersProps }
Represents a `LoadBalancerTCPListeners`.
type ILoadBalancers ¶ added in v1.6.0
type ILoadBalancers interface { alicloudroscdkcore.IResource // Attribute LoadBalancerIds: The list of load balancer IDs. AttrLoadBalancerIds() interface{} // Attribute LoadBalancers: The list of load balancers. AttrLoadBalancers() interface{} Props() *LoadBalancersProps }
Represents a `LoadBalancers`.
type IRule ¶ added in v1.6.0
type IRule interface { alicloudroscdkcore.IResource // Attribute Cookie: The cookie to be configured on the backend server. AttrCookie() interface{} // Attribute CookieTimeout: The timeout period of a cookie. AttrCookieTimeout() interface{} // Attribute Domain: The domain name that is configured in the forwarding rule. AttrDomain() interface{} // Attribute HealthCheck: Specifies whether to enable health checks. AttrHealthCheck() interface{} // Attribute HealthCheckConnectPort: The port of the backend server that is used for health checks. // // Valid values: 1 to 65535. AttrHealthCheckConnectPort() interface{} // Attribute HealthCheckDomain: The domain name that is used for health checks. // // Valid values: $_ip: The private IP address of the backend server. If the $_ip parameter is set or the HealthCheckDomain parameter is not set, SLB uses the private IP addresses of backend servers as the domain names for health checks. domain: The domain name must be 1 to 80 characters in length. It can contain only letters, digits, periods (.),and hyphens (-). AttrHealthCheckDomain() interface{} // Attribute HealthCheckHttpCode: The HTTP status code that indicates a successful health check. // // Separate multiple HTTP status codes with commas (,). Default value: http_2xx. AttrHealthCheckHttpCode() interface{} // Attribute HealthCheckInterval: The time interval between two consecutive health checks. AttrHealthCheckInterval() interface{} // Attribute HealthCheckTimeout: The timeout period of a health check response. // // If a backend ECS instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy. AttrHealthCheckTimeout() interface{} // Attribute HealthCheckUri: The URI that is used for health checks. AttrHealthCheckUri() interface{} // Attribute HealthyThreshold: The number of consecutive successful health checks that must occur before an unhealthy backend server is declared healthy. // // In this case, the health check state is changed from fail to success. AttrHealthyThreshold() interface{} // Attribute ListenerPort: The listener port that is used by the SLB instance. AttrListenerPort() interface{} // Attribute ListenerSync: Indicates whether the forwarding rule uses the scheduling algorithm, session persistence, and health check configurations of the listener. AttrListenerSync() interface{} // Attribute LoadBalancerId: The ID of the SLB instance. AttrLoadBalancerId() interface{} // Attribute RuleId: The ID of the forwarding rule. AttrRuleId() interface{} // Attribute RuleName: The name of the forwarding rule. AttrRuleName() interface{} // Attribute Scheduler: The scheduling algorithm. AttrScheduler() interface{} // Attribute StickySession: Indicates whether session persistence is enabled. // // Valid values: on and off. AttrStickySession() interface{} // Attribute StickySessionType: The method that is used to handle a cookie. AttrStickySessionType() interface{} // Attribute UnhealthyThreshold: The number of consecutive failed health checks that must occur before a healthy backend server is declared unhealthy. // // In this case, the health check state is changed from success to fail. AttrUnhealthyThreshold() interface{} // Attribute Url: The URL that is configured in the forwarding rule. AttrUrl() interface{} // Attribute VserverGroupId: The ID of the vServer group that is associated with the forwarding rule. AttrVserverGroupId() interface{} Props() *RuleProps }
Represents a `Rule`.
type IRules ¶ added in v1.6.0
type IRules interface { alicloudroscdkcore.IResource // Attribute RuleIds: The list of rule IDs. AttrRuleIds() interface{} // Attribute Rules: The list of rules. AttrRules() interface{} Props() *RulesProps }
Represents a `Rules`.
type ITLSPolicies ¶ added in v1.6.0
type ITLSPolicies interface { alicloudroscdkcore.IResource // Attribute InstanceIds: The list of instance IDs. AttrInstanceIds() interface{} // Attribute TLSPolicies: The list of tls policies. AttrTlsPolicies() interface{} Props() *TLSPoliciesProps }
Represents a `TLSPolicies`.
type ITLSPolicy ¶ added in v1.6.0
type ITLSPolicy interface { alicloudroscdkcore.IResource // Attribute Ciphers: The cipher suites supported by the TLS version. AttrCiphers() interface{} // Attribute CreateTime: The timestamp generated when the TLS policy is created. AttrCreateTime() interface{} // Attribute InstanceId: The ID of the TLS policy. AttrInstanceId() interface{} // Attribute TLSPolicyName: The name of the TLS policy. AttrTlsPolicyName() interface{} // Attribute TlsVersions: The version of the TLS protocol. AttrTlsVersions() interface{} Props() *TLSPolicyProps }
Represents a `TLSPolicy`.
type IVServerGroup ¶ added in v1.6.0
type IVServerGroup interface { alicloudroscdkcore.IResource // Attribute BackendServers: The list of backend servers. AttrBackendServers() interface{} // Attribute CreateTime: The time when the CLB instance was created. // // The time follows the YYYY-MM-DDThh:mm:ssZ format. AttrCreateTime() interface{} // Attribute LoadBalancerId: The ID of the CLB instance. AttrLoadBalancerId() interface{} // Attribute VServerGroupId: The ID of the vServer group. AttrVServerGroupId() interface{} // Attribute VServerGroupName: The name of the vServer group. AttrVServerGroupName() interface{} Props() *VServerGroupProps }
Represents a `VServerGroup`.
type IVServerGroups ¶ added in v1.6.0
type IVServerGroups interface { alicloudroscdkcore.IResource // Attribute VServerGroupIds: The list of VServer group IDs. AttrVServerGroupIds() interface{} // Attribute VServerGroups: The list of VServer groups. AttrVServerGroups() interface{} Props() *VServerGroupsProps }
Represents a `VServerGroups`.
type IZones ¶ added in v1.6.0
type IZones interface { alicloudroscdkcore.IResource // Attribute ZoneIds: The list of The primary zone Ids. AttrZoneIds() interface{} // Attribute Zones: The list of The Zones. AttrZones() interface{} Props() *ZonesProps }
Represents a `Zones`.
type LoadBalancer ¶ added in v1.4.0
type LoadBalancer interface { alicloudroscdkcore.Resource ILoadBalancer // Attribute Address: The service IP address of the CLB instance. AttrAddress() interface{} // Attribute AddressIpVersion: The version of the IP address. // // Valid values: ipv4 and ipv6. AttrAddressIpVersion() interface{} // Attribute AddressType: The address type of the CLB instance. AttrAddressType() interface{} // Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released. AttrAutoReleaseTime() interface{} // Attribute BackendServers: The backend servers of the CLB instance. AttrBackendServers() interface{} // Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis. AttrBandwidth() interface{} // Attribute CreateTime: The time when the CLB instance was created. AttrCreateTime() interface{} // Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded. AttrCreateTimeStamp() interface{} // Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance. AttrDeleteProtection() interface{} // Attribute EndTime: The time when the CLB instance expires. AttrEndTime() interface{} // Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance. AttrEndTimeStamp() interface{} // Attribute InstanceChargeType: Instance billing method. AttrInstanceChargeType() interface{} // Attribute InternetChargeType: The metering method of the Internet-facing CLB instance. AttrInternetChargeType() interface{} // Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners. AttrListenerPortsAndProtocal() interface{} // Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners. AttrListenerPortsAndProtocol() interface{} // Attribute LoadBalancerId: The CLB instance ID. AttrLoadBalancerId() interface{} // Attribute LoadBalancerName: The name of the CLB instance. AttrLoadBalancerName() interface{} // Attribute LoadBalancerSpec: The specification of the CLB instance. AttrLoadBalancerSpec() interface{} // Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs. AttrMasterZoneId() interface{} // Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled. AttrModificationProtectionReason() interface{} // Attribute ModificationProtectionStatus: Load balancing modifies the protection state. AttrModificationProtectionStatus() interface{} // Attribute NetworkType: The network type of the CLB instance. AttrNetworkType() interface{} // Attribute PaymentType: Load balancing instance payment type. AttrPaymentType() interface{} // Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs. AttrRegionIdAlias() interface{} // Attribute RenewalCycUnit: The auto-renewal cycle. // // Valid values: Year and Month. Default value: Month. AttrRenewalCycUnit() interface{} // Attribute RenewalDuration: The auto-renewal duration. // // This parameter is valid only if RenewalStatus is set to AutoRenewal. AttrRenewalDuration() interface{} // Attribute RenewalStatus: Indicates whether auto-renewal is enabled. AttrRenewalStatus() interface{} // Attribute ResourceGroupId: The resource group ID. AttrResourceGroupId() interface{} // Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs. AttrSlaveZoneId() interface{} // Attribute Tags: The tags of the CLB instance. AttrTags() interface{} // Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed. AttrVpcId() interface{} // Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs. AttrVSwitchId() 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 `DATASOURCE::SLB::LoadBalancer`.
func NewLoadBalancer ¶ added in v1.4.0
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 ¶ added in v1.4.0
type LoadBalancerProps struct { // Property loadBalancerId: The CLB instance ID. LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `LoadBalancer`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-loadbalancer
type LoadBalancerTCPListener ¶ added in v1.4.0
type LoadBalancerTCPListener interface { alicloudroscdkcore.Resource ILoadBalancerTCPListener // Attribute AclId: The ID of the network ACL that is associated with the listener. AttrAclId() interface{} // Attribute AclIds: The ID list of the network ACL that is associated with the listener. AttrAclIds() interface{} // Attribute AclStatus: Indicates whether access control is enabled. AttrAclStatus() interface{} // Attribute AclType: The type of the ACL. AttrAclType() interface{} // Attribute BackendServerPort: The backend port used by the CLB instance. AttrBackendServerPort() interface{} // Attribute Bandwidth: The maximum bandwidth of the listener. // // Unit: Mbit/s. AttrBandwidth() interface{} // Attribute ConnectionDrain: Indicates whether connection draining is enabled. // // If ConnectionDrain is set to on, the parameter is returned. AttrConnectionDrain() interface{} // Attribute ConnectionDrainTimeout: The timeout period of connection draining. // // If ConnectionDrain is set to on, the parameter is returned. AttrConnectionDrainTimeout() interface{} // Attribute Description: The description of the listener. AttrDescription() interface{} // Attribute EstablishedTimeout: The timeout period of a connection. AttrEstablishedTimeout() interface{} // Attribute HealthCheck: Indicates whether the health check feature is enabled. AttrHealthCheck() interface{} // Attribute HealthCheckConnectPort: The port that is used for health checks. AttrHealthCheckConnectPort() interface{} // Attribute HealthCheckConnectTimeout: The timeout period. // // Unit: seconds. AttrHealthCheckConnectTimeout() interface{} // Attribute HealthCheckDomain: The domain name that is used for health checks. AttrHealthCheckDomain() interface{} // Attribute HealthCheckHttpCode: The HTTP status code for a successful health check. AttrHealthCheckHttpCode() interface{} // Attribute HealthCheckInterval: The interval between two consecutive health checks. // // Valid values: 1 to 50. Unit: seconds. AttrHealthCheckInterval() interface{} // Attribute HealthCheckMethod: The health check method. AttrHealthCheckMethod() interface{} // Attribute HealthCheckType: The health check method that is used by the TCP listener. AttrHealthCheckType() interface{} // Attribute HealthCheckUri: The URL that is used for health checks. AttrHealthCheckUri() interface{} // Attribute HealthyThreshold: The healthy threshold. // // 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. AttrHealthyThreshold() interface{} // Attribute ListenerPort: The frontend port used by the CLB instance. AttrListenerPort() interface{} // Attribute LoadBalancerId: The ID of the CLB instance. AttrLoadBalancerId() interface{} // Attribute MasterSlaveServerGroupId: The ID of the primary/secondary server group that is associated with the listener. AttrMasterSlaveServerGroupId() interface{} // Attribute PersistenceTimeout: The timeout period of session persistence. AttrPersistenceTimeout() interface{} // Attribute ProxyProtocolV2Enabled: Indicates whether the Proxy protocol is used to pass client IP addresses to backend servers. AttrProxyProtocolV2Enabled() interface{} // Attribute Scheduler: The scheduling algorithm. AttrScheduler() interface{} // Attribute SynProxy: Indicates whether the SynProxy feature of CLB is enabled for protection. AttrSynProxy() interface{} // Attribute UnhealthyThreshold: The unhealthy threshold. // // 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. AttrUnhealthyThreshold() interface{} // Attribute VServerGroupId: The ID of the associated server group. AttrVServerGroupId() 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() *LoadBalancerTCPListenerProps 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 `DATASOURCE::SLB::LoadBalancerTCPListener`.
func NewLoadBalancerTCPListener ¶ added in v1.4.0
func NewLoadBalancerTCPListener(scope alicloudroscdkcore.Construct, id *string, props *LoadBalancerTCPListenerProps, enableResourcePropertyConstraint *bool) LoadBalancerTCPListener
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type LoadBalancerTCPListenerProps ¶ added in v1.4.0
type LoadBalancerTCPListenerProps struct { // Property listenerPort: The frontend port used by the CLB instance.Valid values: 1 to 65535. ListenerPort interface{} `field:"required" json:"listenerPort" yaml:"listenerPort"` // Property loadBalancerId: The ID of the CLB instance. LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `LoadBalancerTCPListener`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-loadbalancertcplistener
type LoadBalancerTCPListeners ¶ added in v1.4.0
type LoadBalancerTCPListeners interface { alicloudroscdkcore.Resource ILoadBalancerTCPListeners // Attribute ListenerPorts: The list of listener ports. AttrListenerPorts() interface{} // Attribute LoadBalancerTCPListeners: The list of load balancer tcp listeners. AttrLoadBalancerTcpListeners() 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() *LoadBalancerTCPListenersProps 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 `DATASOURCE::SLB::LoadBalancerTCPListeners`.
func NewLoadBalancerTCPListeners ¶ added in v1.4.0
func NewLoadBalancerTCPListeners(scope alicloudroscdkcore.Construct, id *string, props *LoadBalancerTCPListenersProps, enableResourcePropertyConstraint *bool) LoadBalancerTCPListeners
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type LoadBalancerTCPListenersProps ¶ added in v1.4.0
type LoadBalancerTCPListenersProps struct { // Property loadBalancerId: The ID of the CLB instance. LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `LoadBalancerTCPListeners`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-loadbalancertcplisteners
type LoadBalancers ¶
type LoadBalancers interface { alicloudroscdkcore.Resource ILoadBalancers // Attribute LoadBalancerIds: The list of load balancer IDs. AttrLoadBalancerIds() interface{} // Attribute LoadBalancers: The list of load balancers. AttrLoadBalancers() 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() *LoadBalancersProps 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 `DATASOURCE::SLB::LoadBalancers`, which is used to query created Classic Load Balancer (CLB) instances.
func NewLoadBalancers ¶
func NewLoadBalancers(scope alicloudroscdkcore.Construct, id *string, props *LoadBalancersProps, enableResourcePropertyConstraint *bool) LoadBalancers
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type LoadBalancersProps ¶
type LoadBalancersProps struct { // Property address: The service address of the load balancing instance. Address interface{} `field:"optional" json:"address" yaml:"address"` // Property addressIpVersion: IP version. AddressIpVersion interface{} `field:"optional" json:"addressIpVersion" yaml:"addressIpVersion"` // Property addressType: The address type of the load balancing instance. AddressType interface{} `field:"optional" json:"addressType" yaml:"addressType"` // Property internetChargeType: Public network type instance payment method. InternetChargeType interface{} `field:"optional" json:"internetChargeType" yaml:"internetChargeType"` // Property loadBalancerId: ID of the load balancing instance. LoadBalancerId interface{} `field:"optional" json:"loadBalancerId" yaml:"loadBalancerId"` // Property loadBalancerName: Name of the load balancing instance. LoadBalancerName interface{} `field:"optional" json:"loadBalancerName" yaml:"loadBalancerName"` // Property masterZoneId: ID of the primary available area of the load balancing instance. MasterZoneId interface{} `field:"optional" json:"masterZoneId" yaml:"masterZoneId"` // Property networkType: The network type of the private network load balancing instance. NetworkType interface{} `field:"optional" json:"networkType" yaml:"networkType"` // Property paymentType: Load balancing instance payment type. PaymentType interface{} `field:"optional" json:"paymentType" yaml:"paymentType"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property resourceGroupId: Resource group id. ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` // Property slaveZoneId: ID of the ready-to-use zone of the load balancing instance. SlaveZoneId interface{} `field:"optional" json:"slaveZoneId" yaml:"slaveZoneId"` // Property status: The status of SLB. Status interface{} `field:"optional" json:"status" yaml:"status"` // Property vpcId: VPC ID. VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` // Property vSwitchId: The ID of the switch. VSwitchId interface{} `field:"optional" json:"vSwitchId" yaml:"vSwitchId"` }
Properties for defining a `LoadBalancers`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-loadbalancers
type RosAccessControl ¶ added in v1.4.0
type RosAccessControl interface { alicloudroscdkcore.RosResource AclId() interface{} SetAclId(val interface{}) AttrAclEntries() alicloudroscdkcore.IResolvable AttrAclId() alicloudroscdkcore.IResolvable AttrAclName() alicloudroscdkcore.IResolvable AttrAddressIpVersion() alicloudroscdkcore.IResolvable AttrRelatedListeners() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrTags() 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 RefreshOptions() interface{} SetRefreshOptions(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 `DATASOURCE::SLB::AccessControl`.
func NewRosAccessControl ¶ added in v1.4.0
func NewRosAccessControl(scope alicloudroscdkcore.Construct, id *string, props *RosAccessControlProps, enableResourcePropertyConstraint *bool) RosAccessControl
type RosAccessControlProps ¶ added in v1.4.0
type RosAccessControlProps struct { AclId interface{} `field:"required" json:"aclId" yaml:"aclId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosAccessControl`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-accesscontrol
type RosAccessControls ¶
type RosAccessControls interface { alicloudroscdkcore.RosResource AclName() interface{} SetAclName(val interface{}) AddressIpVersion() interface{} SetAddressIpVersion(val interface{}) AttrAccessControls() alicloudroscdkcore.IResolvable AttrAclIds() 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 RefreshOptions() interface{} SetRefreshOptions(val interface{}) 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 `DATASOURCE::SLB::AccessControls`, which is used to query created access control lists (ACLs).
func NewRosAccessControls ¶
func NewRosAccessControls(scope alicloudroscdkcore.Construct, id *string, props *RosAccessControlsProps, enableResourcePropertyConstraint *bool) RosAccessControls
type RosAccessControlsProps ¶
type RosAccessControlsProps struct { AclName interface{} `field:"optional" json:"aclName" yaml:"aclName"` AddressIpVersion interface{} `field:"optional" json:"addressIpVersion" yaml:"addressIpVersion"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` }
Properties for defining a `RosAccessControls`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-accesscontrols
type RosDomainExtension ¶ added in v1.4.0
type RosDomainExtension interface { alicloudroscdkcore.RosResource AttrDomain() alicloudroscdkcore.IResolvable AttrDomainExtensionId() alicloudroscdkcore.IResolvable AttrListenerPort() alicloudroscdkcore.IResolvable AttrLoadBalancerId() alicloudroscdkcore.IResolvable AttrServerCertificateId() 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 DomainExtensionId() interface{} SetDomainExtensionId(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // 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 RefreshOptions() interface{} SetRefreshOptions(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 `DATASOURCE::SLB::DomainExtension`.
func NewRosDomainExtension ¶ added in v1.4.0
func NewRosDomainExtension(scope alicloudroscdkcore.Construct, id *string, props *RosDomainExtensionProps, enableResourcePropertyConstraint *bool) RosDomainExtension
type RosDomainExtensionProps ¶ added in v1.4.0
type RosDomainExtensionProps struct { DomainExtensionId interface{} `field:"required" json:"domainExtensionId" yaml:"domainExtensionId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosDomainExtension`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-domainextension
type RosDomainExtensions ¶
type RosDomainExtensions interface { alicloudroscdkcore.RosResource AttrDomainExtensionIds() alicloudroscdkcore.IResolvable AttrDomainExtensions() 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 DomainExtensionId() interface{} SetDomainExtensionId(val interface{}) EnableResourcePropertyConstraint() *bool SetEnableResourcePropertyConstraint(val *bool) ListenerPort() interface{} SetListenerPort(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 // 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 RefreshOptions() interface{} SetRefreshOptions(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 `DATASOURCE::SLB::DomainExtensions`, which is used to query the domain name extensions that are added to a listener of a Server Load Balancer (SLB) instance.
func NewRosDomainExtensions ¶
func NewRosDomainExtensions(scope alicloudroscdkcore.Construct, id *string, props *RosDomainExtensionsProps, enableResourcePropertyConstraint *bool) RosDomainExtensions
type RosDomainExtensionsProps ¶
type RosDomainExtensionsProps struct { ListenerPort interface{} `field:"required" json:"listenerPort" yaml:"listenerPort"` LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` DomainExtensionId interface{} `field:"optional" json:"domainExtensionId" yaml:"domainExtensionId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosDomainExtensions`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-domainextensions
type RosLoadBalancer ¶ added in v1.4.0
type RosLoadBalancer interface { alicloudroscdkcore.RosResource AttrAddress() alicloudroscdkcore.IResolvable AttrAddressIpVersion() alicloudroscdkcore.IResolvable AttrAddressType() alicloudroscdkcore.IResolvable AttrAutoReleaseTime() alicloudroscdkcore.IResolvable AttrBackendServers() alicloudroscdkcore.IResolvable AttrBandwidth() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrCreateTimeStamp() alicloudroscdkcore.IResolvable AttrDeleteProtection() alicloudroscdkcore.IResolvable AttrEndTime() alicloudroscdkcore.IResolvable AttrEndTimeStamp() alicloudroscdkcore.IResolvable AttrInstanceChargeType() alicloudroscdkcore.IResolvable AttrInternetChargeType() alicloudroscdkcore.IResolvable AttrListenerPortsAndProtocal() alicloudroscdkcore.IResolvable AttrListenerPortsAndProtocol() alicloudroscdkcore.IResolvable AttrLoadBalancerId() alicloudroscdkcore.IResolvable AttrLoadBalancerName() alicloudroscdkcore.IResolvable AttrLoadBalancerSpec() alicloudroscdkcore.IResolvable AttrMasterZoneId() alicloudroscdkcore.IResolvable AttrModificationProtectionReason() alicloudroscdkcore.IResolvable AttrModificationProtectionStatus() alicloudroscdkcore.IResolvable AttrNetworkType() alicloudroscdkcore.IResolvable AttrPaymentType() alicloudroscdkcore.IResolvable AttrRegionIdAlias() alicloudroscdkcore.IResolvable AttrRenewalCycUnit() alicloudroscdkcore.IResolvable AttrRenewalDuration() alicloudroscdkcore.IResolvable AttrRenewalStatus() alicloudroscdkcore.IResolvable AttrResourceGroupId() alicloudroscdkcore.IResolvable AttrSlaveZoneId() alicloudroscdkcore.IResolvable AttrTags() alicloudroscdkcore.IResolvable AttrVpcId() alicloudroscdkcore.IResolvable AttrVSwitchId() 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) 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 RefreshOptions() interface{} SetRefreshOptions(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 `DATASOURCE::SLB::LoadBalancer`.
func NewRosLoadBalancer ¶ added in v1.4.0
func NewRosLoadBalancer(scope alicloudroscdkcore.Construct, id *string, props *RosLoadBalancerProps, enableResourcePropertyConstraint *bool) RosLoadBalancer
type RosLoadBalancerProps ¶ added in v1.4.0
type RosLoadBalancerProps struct { LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosLoadBalancer`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-loadbalancer
type RosLoadBalancerTCPListener ¶ added in v1.4.0
type RosLoadBalancerTCPListener interface { alicloudroscdkcore.RosResource AttrAclId() alicloudroscdkcore.IResolvable AttrAclIds() alicloudroscdkcore.IResolvable AttrAclStatus() alicloudroscdkcore.IResolvable AttrAclType() alicloudroscdkcore.IResolvable AttrBackendServerPort() alicloudroscdkcore.IResolvable AttrBandwidth() alicloudroscdkcore.IResolvable AttrConnectionDrain() alicloudroscdkcore.IResolvable AttrConnectionDrainTimeout() alicloudroscdkcore.IResolvable AttrDescription() alicloudroscdkcore.IResolvable AttrEstablishedTimeout() alicloudroscdkcore.IResolvable AttrHealthCheck() alicloudroscdkcore.IResolvable AttrHealthCheckConnectPort() alicloudroscdkcore.IResolvable AttrHealthCheckConnectTimeout() alicloudroscdkcore.IResolvable AttrHealthCheckDomain() alicloudroscdkcore.IResolvable AttrHealthCheckHttpCode() alicloudroscdkcore.IResolvable AttrHealthCheckInterval() alicloudroscdkcore.IResolvable AttrHealthCheckMethod() alicloudroscdkcore.IResolvable AttrHealthCheckType() alicloudroscdkcore.IResolvable AttrHealthCheckUri() alicloudroscdkcore.IResolvable AttrHealthyThreshold() alicloudroscdkcore.IResolvable AttrListenerPort() alicloudroscdkcore.IResolvable AttrLoadBalancerId() alicloudroscdkcore.IResolvable AttrMasterSlaveServerGroupId() alicloudroscdkcore.IResolvable AttrPersistenceTimeout() alicloudroscdkcore.IResolvable AttrProxyProtocolV2Enabled() alicloudroscdkcore.IResolvable AttrScheduler() alicloudroscdkcore.IResolvable AttrSynProxy() alicloudroscdkcore.IResolvable AttrUnhealthyThreshold() alicloudroscdkcore.IResolvable AttrVServerGroupId() 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) ListenerPort() interface{} SetListenerPort(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 // 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 RefreshOptions() interface{} SetRefreshOptions(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 `DATASOURCE::SLB::LoadBalancerTCPListener`.
func NewRosLoadBalancerTCPListener ¶ added in v1.4.0
func NewRosLoadBalancerTCPListener(scope alicloudroscdkcore.Construct, id *string, props *RosLoadBalancerTCPListenerProps, enableResourcePropertyConstraint *bool) RosLoadBalancerTCPListener
type RosLoadBalancerTCPListenerProps ¶ added in v1.4.0
type RosLoadBalancerTCPListenerProps struct { ListenerPort interface{} `field:"required" json:"listenerPort" yaml:"listenerPort"` LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosLoadBalancerTCPListener`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-loadbalancertcplistener
type RosLoadBalancerTCPListeners ¶ added in v1.4.0
type RosLoadBalancerTCPListeners interface { alicloudroscdkcore.RosResource AttrListenerPorts() alicloudroscdkcore.IResolvable AttrLoadBalancerTcpListeners() 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) 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 RefreshOptions() interface{} SetRefreshOptions(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 `DATASOURCE::SLB::LoadBalancerTCPListeners`.
func NewRosLoadBalancerTCPListeners ¶ added in v1.4.0
func NewRosLoadBalancerTCPListeners(scope alicloudroscdkcore.Construct, id *string, props *RosLoadBalancerTCPListenersProps, enableResourcePropertyConstraint *bool) RosLoadBalancerTCPListeners
type RosLoadBalancerTCPListenersProps ¶ added in v1.4.0
type RosLoadBalancerTCPListenersProps struct { LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosLoadBalancerTCPListeners`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-loadbalancertcplisteners
type RosLoadBalancers ¶
type RosLoadBalancers interface { alicloudroscdkcore.RosResource Address() interface{} SetAddress(val interface{}) AddressIpVersion() interface{} SetAddressIpVersion(val interface{}) AddressType() interface{} SetAddressType(val interface{}) AttrLoadBalancerIds() alicloudroscdkcore.IResolvable AttrLoadBalancers() 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) InternetChargeType() interface{} SetInternetChargeType(val interface{}) LoadBalancerId() interface{} SetLoadBalancerId(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 MasterZoneId() interface{} SetMasterZoneId(val interface{}) NetworkType() interface{} SetNetworkType(val interface{}) // The construct tree node associated with this construct. Node() alicloudroscdkcore.ConstructNode PaymentType() interface{} SetPaymentType(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 RefreshOptions() interface{} SetRefreshOptions(val interface{}) 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 SlaveZoneId() interface{} SetSlaveZoneId(val interface{}) // The stack in which this element is defined. // // RosElements must be defined within a stack scope (directly or indirectly). Stack() alicloudroscdkcore.Stack Status() interface{} SetStatus(val interface{}) // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} VpcId() interface{} SetVpcId(val interface{}) VSwitchId() interface{} SetVSwitchId(val interface{}) 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 `DATASOURCE::SLB::LoadBalancers`, which is used to query created Classic Load Balancer (CLB) instances.
func NewRosLoadBalancers ¶
func NewRosLoadBalancers(scope alicloudroscdkcore.Construct, id *string, props *RosLoadBalancersProps, enableResourcePropertyConstraint *bool) RosLoadBalancers
type RosLoadBalancersProps ¶
type RosLoadBalancersProps struct { Address interface{} `field:"optional" json:"address" yaml:"address"` AddressIpVersion interface{} `field:"optional" json:"addressIpVersion" yaml:"addressIpVersion"` AddressType interface{} `field:"optional" json:"addressType" yaml:"addressType"` InternetChargeType interface{} `field:"optional" json:"internetChargeType" yaml:"internetChargeType"` LoadBalancerId interface{} `field:"optional" json:"loadBalancerId" yaml:"loadBalancerId"` LoadBalancerName interface{} `field:"optional" json:"loadBalancerName" yaml:"loadBalancerName"` MasterZoneId interface{} `field:"optional" json:"masterZoneId" yaml:"masterZoneId"` NetworkType interface{} `field:"optional" json:"networkType" yaml:"networkType"` PaymentType interface{} `field:"optional" json:"paymentType" yaml:"paymentType"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` ResourceGroupId interface{} `field:"optional" json:"resourceGroupId" yaml:"resourceGroupId"` SlaveZoneId interface{} `field:"optional" json:"slaveZoneId" yaml:"slaveZoneId"` Status interface{} `field:"optional" json:"status" yaml:"status"` VpcId interface{} `field:"optional" json:"vpcId" yaml:"vpcId"` VSwitchId interface{} `field:"optional" json:"vSwitchId" yaml:"vSwitchId"` }
Properties for defining a `RosLoadBalancers`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-loadbalancers
type RosRule ¶ added in v1.4.0
type RosRule interface { alicloudroscdkcore.RosResource AttrCookie() alicloudroscdkcore.IResolvable AttrCookieTimeout() alicloudroscdkcore.IResolvable AttrDomain() alicloudroscdkcore.IResolvable AttrHealthCheck() alicloudroscdkcore.IResolvable AttrHealthCheckConnectPort() alicloudroscdkcore.IResolvable AttrHealthCheckDomain() alicloudroscdkcore.IResolvable AttrHealthCheckHttpCode() alicloudroscdkcore.IResolvable AttrHealthCheckInterval() alicloudroscdkcore.IResolvable AttrHealthCheckTimeout() alicloudroscdkcore.IResolvable AttrHealthCheckUri() alicloudroscdkcore.IResolvable AttrHealthyThreshold() alicloudroscdkcore.IResolvable AttrListenerPort() alicloudroscdkcore.IResolvable AttrListenerSync() alicloudroscdkcore.IResolvable AttrLoadBalancerId() alicloudroscdkcore.IResolvable AttrRuleId() alicloudroscdkcore.IResolvable AttrRuleName() alicloudroscdkcore.IResolvable AttrScheduler() alicloudroscdkcore.IResolvable AttrStickySession() alicloudroscdkcore.IResolvable AttrStickySessionType() alicloudroscdkcore.IResolvable AttrUnhealthyThreshold() alicloudroscdkcore.IResolvable AttrUrl() alicloudroscdkcore.IResolvable AttrVserverGroupId() 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 RefreshOptions() interface{} SetRefreshOptions(val interface{}) // Options for this resource, such as condition, update policy etc. RosOptions() alicloudroscdkcore.IRosResourceOptions RosProperties() *map[string]interface{} // ROS resource type. RosResourceType() *string RuleId() interface{} SetRuleId(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 `DATASOURCE::SLB::Rule`.
func NewRosRule ¶ added in v1.4.0
func NewRosRule(scope alicloudroscdkcore.Construct, id *string, props *RosRuleProps, enableResourcePropertyConstraint *bool) RosRule
type RosRuleProps ¶ added in v1.4.0
type RosRuleProps struct { RuleId interface{} `field:"required" json:"ruleId" yaml:"ruleId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosRule`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-rule
type RosRules ¶
type RosRules interface { alicloudroscdkcore.RosResource AttrRuleIds() alicloudroscdkcore.IResolvable AttrRules() 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) ListenerPort() interface{} SetListenerPort(val interface{}) ListenerProtocol() interface{} SetListenerProtocol(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 // 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 RefreshOptions() interface{} SetRefreshOptions(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 `DATASOURCE::SLB::Rules`, which is used to query the forwarding rules that are configured for a listener.
func NewRosRules ¶
func NewRosRules(scope alicloudroscdkcore.Construct, id *string, props *RosRulesProps, enableResourcePropertyConstraint *bool) RosRules
type RosRulesProps ¶
type RosRulesProps struct { ListenerPort interface{} `field:"required" json:"listenerPort" yaml:"listenerPort"` LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` ListenerProtocol interface{} `field:"optional" json:"listenerProtocol" yaml:"listenerProtocol"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosRules`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-rules
type RosTLSPolicies ¶
type RosTLSPolicies interface { alicloudroscdkcore.RosResource AttrInstanceIds() alicloudroscdkcore.IResolvable AttrTlsPolicies() 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) InstanceId() interface{} SetInstanceId(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // 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 RefreshOptions() interface{} SetRefreshOptions(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 TlsPolicyName() interface{} SetTlsPolicyName(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 `DATASOURCE::SLB::TLSPolicies`, which is used to query Transport Layer Security (TLS) policies.
func NewRosTLSPolicies ¶
func NewRosTLSPolicies(scope alicloudroscdkcore.Construct, id *string, props *RosTLSPoliciesProps, enableResourcePropertyConstraint *bool) RosTLSPolicies
type RosTLSPoliciesProps ¶
type RosTLSPoliciesProps struct { InstanceId interface{} `field:"required" json:"instanceId" yaml:"instanceId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` TlsPolicyName interface{} `field:"optional" json:"tlsPolicyName" yaml:"tlsPolicyName"` }
Properties for defining a `RosTLSPolicies`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-tlspolicies
type RosTLSPolicy ¶ added in v1.4.0
type RosTLSPolicy interface { alicloudroscdkcore.RosResource AttrCiphers() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrInstanceId() alicloudroscdkcore.IResolvable AttrTlsPolicyName() alicloudroscdkcore.IResolvable AttrTlsVersions() 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) InstanceId() interface{} SetInstanceId(val interface{}) // The logical ID for this stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // 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 RefreshOptions() interface{} SetRefreshOptions(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 `DATASOURCE::SLB::TLSPolicy`.
func NewRosTLSPolicy ¶ added in v1.4.0
func NewRosTLSPolicy(scope alicloudroscdkcore.Construct, id *string, props *RosTLSPolicyProps, enableResourcePropertyConstraint *bool) RosTLSPolicy
type RosTLSPolicyProps ¶ added in v1.4.0
type RosTLSPolicyProps struct { InstanceId interface{} `field:"required" json:"instanceId" yaml:"instanceId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosTLSPolicy`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-tlspolicy
type RosVServerGroup ¶ added in v1.4.0
type RosVServerGroup interface { alicloudroscdkcore.RosResource AttrBackendServers() alicloudroscdkcore.IResolvable AttrCreateTime() alicloudroscdkcore.IResolvable AttrLoadBalancerId() alicloudroscdkcore.IResolvable AttrVServerGroupId() alicloudroscdkcore.IResolvable AttrVServerGroupName() 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 RefreshOptions() interface{} SetRefreshOptions(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{} VServerGroupId() interface{} SetVServerGroupId(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 `DATASOURCE::SLB::VServerGroup`.
func NewRosVServerGroup ¶ added in v1.4.0
func NewRosVServerGroup(scope alicloudroscdkcore.Construct, id *string, props *RosVServerGroupProps, enableResourcePropertyConstraint *bool) RosVServerGroup
type RosVServerGroupProps ¶ added in v1.4.0
type RosVServerGroupProps struct { VServerGroupId interface{} `field:"required" json:"vServerGroupId" yaml:"vServerGroupId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosVServerGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-vservergroup
type RosVServerGroups ¶
type RosVServerGroups interface { alicloudroscdkcore.RosResource AttrVServerGroupIds() alicloudroscdkcore.IResolvable AttrVServerGroups() 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) 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 RefreshOptions() interface{} SetRefreshOptions(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 `DATASOURCE::SLB::VServerGroups`, which is used to query the server groups of a Classic Load Balancer (CLB) instance.
func NewRosVServerGroups ¶
func NewRosVServerGroups(scope alicloudroscdkcore.Construct, id *string, props *RosVServerGroupsProps, enableResourcePropertyConstraint *bool) RosVServerGroups
type RosVServerGroupsProps ¶
type RosVServerGroupsProps struct { LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosVServerGroups`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-vservergroups
type RosZones ¶
type RosZones interface { alicloudroscdkcore.RosResource AddressIpVersion() interface{} SetAddressIpVersion(val interface{}) AddressType() interface{} SetAddressType(val interface{}) AttrZoneIds() alicloudroscdkcore.IResolvable AttrZones() 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 RefreshOptions() interface{} SetRefreshOptions(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 `DATASOURCE::SLB::Zones`, which is used to query the zones of Server Load Balancer (SLB) instances.
func NewRosZones ¶
func NewRosZones(scope alicloudroscdkcore.Construct, id *string, props *RosZonesProps, enableResourcePropertyConstraint *bool) RosZones
type RosZonesProps ¶
type RosZonesProps struct { AddressIpVersion interface{} `field:"optional" json:"addressIpVersion" yaml:"addressIpVersion"` AddressType interface{} `field:"optional" json:"addressType" yaml:"addressType"` RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `RosZones`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-zones
type Rule ¶ added in v1.4.0
type Rule interface { alicloudroscdkcore.Resource IRule // Attribute Cookie: The cookie to be configured on the backend server. AttrCookie() interface{} // Attribute CookieTimeout: The timeout period of a cookie. AttrCookieTimeout() interface{} // Attribute Domain: The domain name that is configured in the forwarding rule. AttrDomain() interface{} // Attribute HealthCheck: Specifies whether to enable health checks. AttrHealthCheck() interface{} // Attribute HealthCheckConnectPort: The port of the backend server that is used for health checks. // // Valid values: 1 to 65535. AttrHealthCheckConnectPort() interface{} // Attribute HealthCheckDomain: The domain name that is used for health checks. // // Valid values: $_ip: The private IP address of the backend server. If the $_ip parameter is set or the HealthCheckDomain parameter is not set, SLB uses the private IP addresses of backend servers as the domain names for health checks. domain: The domain name must be 1 to 80 characters in length. It can contain only letters, digits, periods (.),and hyphens (-). AttrHealthCheckDomain() interface{} // Attribute HealthCheckHttpCode: The HTTP status code that indicates a successful health check. // // Separate multiple HTTP status codes with commas (,). Default value: http_2xx. AttrHealthCheckHttpCode() interface{} // Attribute HealthCheckInterval: The time interval between two consecutive health checks. AttrHealthCheckInterval() interface{} // Attribute HealthCheckTimeout: The timeout period of a health check response. // // If a backend ECS instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy. AttrHealthCheckTimeout() interface{} // Attribute HealthCheckUri: The URI that is used for health checks. AttrHealthCheckUri() interface{} // Attribute HealthyThreshold: The number of consecutive successful health checks that must occur before an unhealthy backend server is declared healthy. // // In this case, the health check state is changed from fail to success. AttrHealthyThreshold() interface{} // Attribute ListenerPort: The listener port that is used by the SLB instance. AttrListenerPort() interface{} // Attribute ListenerSync: Indicates whether the forwarding rule uses the scheduling algorithm, session persistence, and health check configurations of the listener. AttrListenerSync() interface{} // Attribute LoadBalancerId: The ID of the SLB instance. AttrLoadBalancerId() interface{} // Attribute RuleId: The ID of the forwarding rule. AttrRuleId() interface{} // Attribute RuleName: The name of the forwarding rule. AttrRuleName() interface{} // Attribute Scheduler: The scheduling algorithm. AttrScheduler() interface{} // Attribute StickySession: Indicates whether session persistence is enabled. // // Valid values: on and off. AttrStickySession() interface{} // Attribute StickySessionType: The method that is used to handle a cookie. AttrStickySessionType() interface{} // Attribute UnhealthyThreshold: The number of consecutive failed health checks that must occur before a healthy backend server is declared unhealthy. // // In this case, the health check state is changed from success to fail. AttrUnhealthyThreshold() interface{} // Attribute Url: The URL that is configured in the forwarding rule. AttrUrl() interface{} // Attribute VserverGroupId: The ID of the vServer group that is associated with the forwarding rule. AttrVserverGroupId() 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 `DATASOURCE::SLB::Rule`.
type RuleProps ¶ added in v1.4.0
type RuleProps struct { // Property ruleId: The ID of the forwarding rule. RuleId interface{} `field:"required" json:"ruleId" yaml:"ruleId"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `Rule`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-rule
type Rules ¶
type Rules interface { alicloudroscdkcore.Resource IRules // Attribute RuleIds: The list of rule IDs. AttrRuleIds() interface{} // Attribute Rules: The list of rules. AttrRules() 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() *RulesProps 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 `DATASOURCE::SLB::Rules`, which is used to query the forwarding rules that are configured for a listener.
func NewRules ¶
func NewRules(scope alicloudroscdkcore.Construct, id *string, props *RulesProps, enableResourcePropertyConstraint *bool) Rules
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type RulesProps ¶
type RulesProps struct { // Property listenerPort: The frontend listener port that is used by the Classic Load Balancer (CLB) instance. ListenerPort interface{} `field:"required" json:"listenerPort" yaml:"listenerPort"` // Property loadBalancerId: The ID of the CLB instance. LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` // Property listenerProtocol: The frontend listener protocol that is used by the SLB instance. ListenerProtocol interface{} `field:"optional" json:"listenerProtocol" yaml:"listenerProtocol"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `Rules`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-rules
type TLSPolicies ¶
type TLSPolicies interface { alicloudroscdkcore.Resource ITLSPolicies // Attribute InstanceIds: The list of instance IDs. AttrInstanceIds() interface{} // Attribute TLSPolicies: The list of tls policies. AttrTlsPolicies() 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() *TLSPoliciesProps 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 `DATASOURCE::SLB::TLSPolicies`, which is used to query Transport Layer Security (TLS) policies.
func NewTLSPolicies ¶
func NewTLSPolicies(scope alicloudroscdkcore.Construct, id *string, props *TLSPoliciesProps, enableResourcePropertyConstraint *bool) TLSPolicies
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type TLSPoliciesProps ¶
type TLSPoliciesProps struct { // Property instanceId: The ID of the TLS policy. InstanceId interface{} `field:"required" json:"instanceId" yaml:"instanceId"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` // Property tlsPolicyName: The name of the TLS 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. TlsPolicyName interface{} `field:"optional" json:"tlsPolicyName" yaml:"tlsPolicyName"` }
Properties for defining a `TLSPolicies`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-tlspolicies
type TLSPolicy ¶ added in v1.4.0
type TLSPolicy interface { alicloudroscdkcore.Resource ITLSPolicy // Attribute Ciphers: The cipher suites supported by the TLS version. AttrCiphers() interface{} // Attribute CreateTime: The timestamp generated when the TLS policy is created. AttrCreateTime() interface{} // Attribute InstanceId: The ID of the TLS policy. AttrInstanceId() interface{} // Attribute TLSPolicyName: The name of the TLS policy. AttrTlsPolicyName() interface{} // Attribute TlsVersions: The version of the TLS protocol. AttrTlsVersions() 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() *TLSPolicyProps 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 `DATASOURCE::SLB::TLSPolicy`.
func NewTLSPolicy ¶ added in v1.4.0
func NewTLSPolicy(scope alicloudroscdkcore.Construct, id *string, props *TLSPolicyProps, enableResourcePropertyConstraint *bool) TLSPolicy
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type TLSPolicyProps ¶ added in v1.4.0
type TLSPolicyProps struct { // Property instanceId: The ID of the TLS policy. InstanceId interface{} `field:"required" json:"instanceId" yaml:"instanceId"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `TLSPolicy`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-tlspolicy
type VServerGroup ¶ added in v1.4.0
type VServerGroup interface { alicloudroscdkcore.Resource IVServerGroup // Attribute BackendServers: The list of backend servers. AttrBackendServers() interface{} // Attribute CreateTime: The time when the CLB instance was created. // // The time follows the YYYY-MM-DDThh:mm:ssZ format. AttrCreateTime() interface{} // Attribute LoadBalancerId: The ID of the CLB instance. AttrLoadBalancerId() interface{} // Attribute VServerGroupId: The ID of the vServer group. AttrVServerGroupId() interface{} // Attribute VServerGroupName: The name of the vServer group. AttrVServerGroupName() 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() *VServerGroupProps 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 `DATASOURCE::SLB::VServerGroup`.
func NewVServerGroup ¶ added in v1.4.0
func NewVServerGroup(scope alicloudroscdkcore.Construct, id *string, props *VServerGroupProps, enableResourcePropertyConstraint *bool) VServerGroup
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type VServerGroupProps ¶ added in v1.4.0
type VServerGroupProps struct { // Property vServerGroupId: The ID of the vServer group. VServerGroupId interface{} `field:"required" json:"vServerGroupId" yaml:"vServerGroupId"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `VServerGroup`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-vservergroup
type VServerGroups ¶
type VServerGroups interface { alicloudroscdkcore.Resource IVServerGroups // Attribute VServerGroupIds: The list of VServer group IDs. AttrVServerGroupIds() interface{} // Attribute VServerGroups: The list of VServer groups. AttrVServerGroups() 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() *VServerGroupsProps 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 `DATASOURCE::SLB::VServerGroups`, which is used to query the server groups of a Classic Load Balancer (CLB) instance.
func NewVServerGroups ¶
func NewVServerGroups(scope alicloudroscdkcore.Construct, id *string, props *VServerGroupsProps, enableResourcePropertyConstraint *bool) VServerGroups
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type VServerGroupsProps ¶
type VServerGroupsProps struct { // Property loadBalancerId: The ID of the CLB instance. LoadBalancerId interface{} `field:"required" json:"loadBalancerId" yaml:"loadBalancerId"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `VServerGroups`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-vservergroups
type Zones ¶
type Zones interface { alicloudroscdkcore.Resource IZones // Attribute ZoneIds: The list of The primary zone Ids. AttrZoneIds() interface{} // Attribute Zones: The list of The Zones. AttrZones() 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() *ZonesProps 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 `DATASOURCE::SLB::Zones`, which is used to query the zones of Server Load Balancer (SLB) instances.
func NewZones ¶
func NewZones(scope alicloudroscdkcore.Construct, id *string, props *ZonesProps, enableResourcePropertyConstraint *bool) Zones
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
type ZonesProps ¶
type ZonesProps struct { // Property addressIpVersion: The type of IP address. // // Valid values: ipv4 and ipv6. AddressIpVersion interface{} `field:"optional" json:"addressIpVersion" yaml:"addressIpVersion"` // Property addressType: The type of network.Valid values: vpc, classic_internet, and classic_intranet.. vpc: an internal SLB instance that is deployed in a virtual private cloud (VPC). classic_internet: a public-facing SLB instance. classic_intranet: an internal SLB instance that is deployed in a classic network. AddressType interface{} `field:"optional" json:"addressType" yaml:"addressType"` // Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. // // Valid values: // - Never: Never refresh the datasource resource when the stack is updated. // - Always: Always refresh the datasource resource when the stack is updated. // Default is Never. RefreshOptions interface{} `field:"optional" json:"refreshOptions" yaml:"refreshOptions"` }
Properties for defining a `Zones`.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-zones
Source Files ¶
- AccessControl.go
- AccessControlProps.go
- AccessControl__checks.go
- AccessControls.go
- AccessControlsProps.go
- AccessControls__checks.go
- DomainExtension.go
- DomainExtensionProps.go
- DomainExtension__checks.go
- DomainExtensions.go
- DomainExtensionsProps.go
- DomainExtensions__checks.go
- IAccessControl.go
- IAccessControls.go
- IDomainExtension.go
- IDomainExtensions.go
- ILoadBalancer.go
- ILoadBalancerTCPListener.go
- ILoadBalancerTCPListeners.go
- ILoadBalancers.go
- IRule.go
- IRules.go
- ITLSPolicies.go
- ITLSPolicy.go
- IVServerGroup.go
- IVServerGroups.go
- IZones.go
- LoadBalancer.go
- LoadBalancerProps.go
- LoadBalancerTCPListener.go
- LoadBalancerTCPListenerProps.go
- LoadBalancerTCPListener__checks.go
- LoadBalancerTCPListeners.go
- LoadBalancerTCPListenersProps.go
- LoadBalancerTCPListeners__checks.go
- LoadBalancer__checks.go
- LoadBalancers.go
- LoadBalancersProps.go
- LoadBalancers__checks.go
- RosAccessControl.go
- RosAccessControlProps.go
- RosAccessControl__checks.go
- RosAccessControls.go
- RosAccessControlsProps.go
- RosAccessControls__checks.go
- RosDomainExtension.go
- RosDomainExtensionProps.go
- RosDomainExtension__checks.go
- RosDomainExtensions.go
- RosDomainExtensionsProps.go
- RosDomainExtensions__checks.go
- RosLoadBalancer.go
- RosLoadBalancerProps.go
- RosLoadBalancerTCPListener.go
- RosLoadBalancerTCPListenerProps.go
- RosLoadBalancerTCPListener__checks.go
- RosLoadBalancerTCPListeners.go
- RosLoadBalancerTCPListenersProps.go
- RosLoadBalancerTCPListeners__checks.go
- RosLoadBalancer__checks.go
- RosLoadBalancers.go
- RosLoadBalancersProps.go
- RosLoadBalancers__checks.go
- RosRule.go
- RosRuleProps.go
- RosRule__checks.go
- RosRules.go
- RosRulesProps.go
- RosRules__checks.go
- RosTLSPolicies.go
- RosTLSPoliciesProps.go
- RosTLSPolicies__checks.go
- RosTLSPolicy.go
- RosTLSPolicyProps.go
- RosTLSPolicy__checks.go
- RosVServerGroup.go
- RosVServerGroupProps.go
- RosVServerGroup__checks.go
- RosVServerGroups.go
- RosVServerGroupsProps.go
- RosVServerGroups__checks.go
- RosZones.go
- RosZonesProps.go
- RosZones__checks.go
- Rule.go
- RuleProps.go
- Rule__checks.go
- Rules.go
- RulesProps.go
- Rules__checks.go
- TLSPolicies.go
- TLSPoliciesProps.go
- TLSPolicies__checks.go
- TLSPolicy.go
- TLSPolicyProps.go
- TLSPolicy__checks.go
- VServerGroup.go
- VServerGroupProps.go
- VServerGroup__checks.go
- VServerGroups.go
- VServerGroupsProps.go
- VServerGroups__checks.go
- Zones.go
- ZonesProps.go
- Zones__checks.go
- main.go