AccessStrategyProps
Properties for defining a AccessStrategy.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-accessstrategy
Initializer
import ros_cdk_dns
ros_cdk_dns.AccessStrategyProps(
default_addr_pool: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DefaultAddrPoolProperty]]],
default_addr_pool_type: typing.Union[str, IResolvable],
default_min_available_addr_num: typing.Union[typing.Union[int, float], IResolvable],
instance_id: typing.Union[str, IResolvable],
strategy_mode: typing.Union[str, IResolvable],
strategy_name: typing.Union[str, IResolvable],
access_mode: typing.Union[str, IResolvable] = None,
default_latency_optimization: typing.Union[str, IResolvable] = None,
default_lba_strategy: typing.Union[str, IResolvable] = None,
default_max_return_addr_num: typing.Union[typing.Union[int, float], IResolvable] = None,
failover_addr_pool: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, FailoverAddrPoolProperty]]] = None,
failover_addr_pool_type: typing.Union[str, IResolvable] = None,
failover_latency_optimization: typing.Union[str, IResolvable] = None,
failover_lba_strategy: typing.Union[str, IResolvable] = None,
failover_max_return_addr_num: typing.Union[typing.Union[int, float], IResolvable] = None,
failover_min_available_addr_num: typing.Union[typing.Union[int, float], IResolvable] = None,
lines: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None
)
Properties
| Name | Type | Description |
|---|---|---|
default_addr_pool | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DefaultAddrPoolProperty]]] | Property defaultAddrPool: The default address pool of the access strategy. |
default_addr_pool_type | typing.Union[str, ros_cdk_core.IResolvable] | Property defaultAddrPoolType: The type of the default address pool. |
default_min_available_addr_num | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property defaultMinAvailableAddrNum: The minimum available address number of the default address pool. |
instance_id | typing.Union[str, ros_cdk_core.IResolvable] | Property instanceId: The ID of the Dns instance. |
strategy_mode | typing.Union[str, ros_cdk_core.IResolvable] | Property strategyMode: The mode of the access strategy. |
strategy_name | typing.Union[str, ros_cdk_core.IResolvable] | Property strategyName: The name of the access strategy. |
access_mode | typing.Union[str, ros_cdk_core.IResolvable] | Property accessMode: The access mode of the access strategy. |
default_latency_optimization | typing.Union[str, ros_cdk_core.IResolvable] | Property defaultLatencyOptimization: Whether to enable latency optimization for the default address pool. |
default_lba_strategy | typing.Union[str, ros_cdk_core.IResolvable] | Property defaultLbaStrategy: The load balancing strategy of the default address pool. |
default_max_return_addr_num | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property defaultMaxReturnAddrNum: The maximum return address number of the default address pool. |
failover_addr_pool | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, FailoverAddrPoolProperty]]] | Property failoverAddrPool: The failover address pool of the access strategy. |
failover_addr_pool_type | typing.Union[str, ros_cdk_core.IResolvable] | Property failoverAddrPoolType: The type of the failover address pool. |
failover_latency_optimization | typing.Union[str, ros_cdk_core.IResolvable] | Property failoverLatencyOptimization: Whether to enable latency optimization for the failover address pool. |
failover_lba_strategy | typing.Union[str, ros_cdk_core.IResolvable] | Property failoverLbaStrategy: The load balancing strategy of the failover address pool. |
failover_max_return_addr_num | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property failoverMaxReturnAddrNum: The maximum return address number of the failover address pool. |
failover_min_available_addr_num | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property failoverMinAvailableAddrNum: The minimum available address number of the failover address pool. |
lines | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] | Property lines: The lines of the access strategy. |
default_addr_poolRequired
default_addr_pool: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DefaultAddrPoolProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DefaultAddrPoolProperty]]]
Property defaultAddrPool: The default address pool of the access strategy.
default_addr_pool_typeRequired
default_addr_pool_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property defaultAddrPoolType: The type of the default address pool.
default_min_available_addr_numRequired
default_min_available_addr_num: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property defaultMinAvailableAddrNum: The minimum available address number of the default address pool.
instance_idRequired
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: The ID of the Dns instance.
strategy_modeRequired
strategy_mode: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property strategyMode: The mode of the access strategy.
strategy_nameRequired
strategy_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property strategyName: The name of the access strategy.
access_modeOptional
access_mode: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accessMode: The access mode of the access strategy.
default_latency_optimizationOptional
default_latency_optimization: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property defaultLatencyOptimization: Whether to enable latency optimization for the default address pool.
default_lba_strategyOptional
default_lba_strategy: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property defaultLbaStrategy: The load balancing strategy of the default address pool.
default_max_return_addr_numOptional
default_max_return_addr_num: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property defaultMaxReturnAddrNum: The maximum return address number of the default address pool.
failover_addr_poolOptional
failover_addr_pool: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, FailoverAddrPoolProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, FailoverAddrPoolProperty]]]
Property failoverAddrPool: The failover address pool of the access strategy.
failover_addr_pool_typeOptional
failover_addr_pool_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property failoverAddrPoolType: The type of the failover address pool.
failover_latency_optimizationOptional
failover_latency_optimization: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property failoverLatencyOptimization: Whether to enable latency optimization for the failover address pool.
failover_lba_strategyOptional
failover_lba_strategy: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property failoverLbaStrategy: The load balancing strategy of the failover address pool.
failover_max_return_addr_numOptional
failover_max_return_addr_num: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property failoverMaxReturnAddrNum: The maximum return address number of the failover address pool.
failover_min_available_addr_numOptional
failover_min_available_addr_num: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property failoverMinAvailableAddrNum: The minimum available address number of the failover address pool.
linesOptional
lines: 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 lines: The lines of the access strategy.