IngressProps
Properties for defining a Ingress
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-ingress
Initializer
import ros_cdk_sae
ros_cdk_sae.IngressProps(
default_rule: typing.Union[IResolvable, DefaultRuleProperty],
description: typing.Union[str, IResolvable],
listener_port: typing.Union[typing.Union[int, float], IResolvable],
namespace_id: typing.Union[str, IResolvable],
rules: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, RulesProperty]]],
slb_id: typing.Union[str, IResolvable],
cert_id: typing.Union[str, IResolvable] = None,
cert_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
listener_protocol: typing.Union[str, IResolvable] = None,
load_balance_type: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
default_rule |
typing.Union[ros_cdk_core.IResolvable, DefaultRuleProperty] |
Property defaultRule: The default forwarding rule. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: The name of the routing rule. |
listener_port |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property listenerPort: The listener port of the SLB instance. |
namespace_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property namespaceId: The ID of the namespace to which the application belongs. |
rules |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, RulesProperty]]] |
Property rules: The forwarding rules. |
slb_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property slbId: The Server Load Balancer (SLB) instance that is used by the routing rule. |
cert_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property certId: The ID of the certificate that is associated with the Classic Load Balancer (CLB) instance. |
cert_ids |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property certIds: The IDs of the certificates that are associated with the Application Load Balancer (ALB) instance. |
listener_protocol |
typing.Union[str, ros_cdk_core.IResolvable] |
Property listenerProtocol: The protocol that is used to forward requests. |
load_balance_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property loadBalanceType: The type of the SLB instance based on the processing capabilities. |
default_rule
Required
default_rule: typing.Union[IResolvable, DefaultRuleProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, DefaultRuleProperty]
Property defaultRule: The default forwarding rule.
You can specify a port and an application in the default forwarding rule to forward traffic based on the IP address of the application.
description
Required
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: The name of the routing rule.
listener_port
Required
listener_port: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property listenerPort: The listener port of the SLB instance.
You must specify a vacant port.
namespace_id
Required
namespace_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property namespaceId: The ID of the namespace to which the application belongs.
You can specify only one namespace ID each time you call this operation.
rules
Required
rules: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, RulesProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, RulesProperty]]]
Property rules: The forwarding rules.
You can specify a port and an application in a forwarding rule to forward traffic based on the specified domain name and request path.
slb_id
Required
slb_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property slbId: The Server Load Balancer (SLB) instance that is used by the routing rule.
cert_id
Optional
cert_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property certId: The ID of the certificate that is associated with the Classic Load Balancer (CLB) instance.
If LoadBalanceType is set to clb, specify this parameter to configure a certificate for the HTTP listener.
cert_ids
Optional
cert_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property certIds: The IDs of the certificates that are associated with the Application Load Balancer (ALB) instance.
listener_protocol
Optional
listener_protocol: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property listenerProtocol: The protocol that is used to forward requests.
load_balance_type
Optional
load_balance_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property loadBalanceType: The type of the SLB instance based on the processing capabilities.
The instance type can be specified only when you create a routing rule. You cannot change the instance type when you update the routing rule.