Skip to content

GatewayProps

Properties for defining a Gateway.

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

Initializer

import ros_cdk_apig
ros_cdk_apig.GatewayProps(
  payment_type: typing.Union[str, IResolvable],
  spec: typing.Union[str, IResolvable],
  zone_config: typing.Union[IResolvable, ZoneConfigProperty],
  gateway_name: typing.Union[str, IResolvable] = None,
  log_config: typing.Union[IResolvable, LogConfigProperty] = None,
  network_access_config: typing.Union[IResolvable, NetworkAccessConfigProperty] = None,
  vpc: typing.Union[IResolvable, VpcProperty] = None,
  v_switch: typing.Union[IResolvable, VSwitchProperty] = None
)

Properties

Name Type Description
payment_type typing.Union[str, ros_cdk_core.IResolvable] Property paymentType: The payment type of the gateway.
spec typing.Union[str, ros_cdk_core.IResolvable] Property spec: Gateway instance specifications.
zone_config typing.Union[ros_cdk_core.IResolvable, ZoneConfigProperty] Property zoneConfig: Availability Zone Configuration.
gateway_name typing.Union[str, ros_cdk_core.IResolvable] Property gatewayName: The name of the Gateway.
log_config typing.Union[ros_cdk_core.IResolvable, LogConfigProperty] Property logConfig: Log Configuration.
network_access_config typing.Union[ros_cdk_core.IResolvable, NetworkAccessConfigProperty] Property networkAccessConfig: Network Access Configuration.
vpc typing.Union[ros_cdk_core.IResolvable, VpcProperty] Property vpc: The VPC associated with the Gateway.
v_switch typing.Union[ros_cdk_core.IResolvable, VSwitchProperty] Property vSwitch: The virtual switch associated with the Gateway.

payment_typeRequired

payment_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property paymentType: The payment type of the gateway.

Valid values:

  • PayAsYouGo
  • Subscription

specRequired

spec: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property spec: Gateway instance specifications.


zone_configRequired

zone_config: typing.Union[IResolvable, ZoneConfigProperty]

Property zoneConfig: Availability Zone Configuration.


gateway_nameOptional

gateway_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property gatewayName: The name of the Gateway.


log_configOptional

log_config: typing.Union[IResolvable, LogConfigProperty]

Property logConfig: Log Configuration.


network_access_configOptional

network_access_config: typing.Union[IResolvable, NetworkAccessConfigProperty]

Property networkAccessConfig: Network Access Configuration.


vpcOptional

vpc: typing.Union[IResolvable, VpcProperty]
  • Type: typing.Union[ros_cdk_core.IResolvable, VpcProperty]

Property vpc: The VPC associated with the Gateway.


v_switchOptional

v_switch: typing.Union[IResolvable, VSwitchProperty]

Property vSwitch: The virtual switch associated with the Gateway.