Skip to content

GatewayProps

Properties for defining a Gateway.

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

Initializer

import { GatewayProps } from '@alicloud/ros-cdk-apig'
const gatewayProps: GatewayProps = { ... }

Properties

Name Type Description
paymentType string | @alicloud/ros-cdk-core.IResolvable Property paymentType: The payment type of the gateway.
spec string | @alicloud/ros-cdk-core.IResolvable Property spec: Gateway instance specifications.
zoneConfig @alicloud/ros-cdk-core.IResolvable | ZoneConfigProperty Property zoneConfig: Availability Zone Configuration.
gatewayName string | @alicloud/ros-cdk-core.IResolvable Property gatewayName: The name of the Gateway.
logConfig @alicloud/ros-cdk-core.IResolvable | LogConfigProperty Property logConfig: Log Configuration.
networkAccessConfig @alicloud/ros-cdk-core.IResolvable | NetworkAccessConfigProperty Property networkAccessConfig: Network Access Configuration.
vpc @alicloud/ros-cdk-core.IResolvable | VpcProperty Property vpc: The VPC associated with the Gateway.
vSwitch @alicloud/ros-cdk-core.IResolvable | VSwitchProperty Property vSwitch: The virtual switch associated with the Gateway.

paymentTypeRequired

public readonly paymentType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property paymentType: The payment type of the gateway.

Valid values: * PayAsYouGo * Subscription


specRequired

public readonly spec: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property spec: Gateway instance specifications.


zoneConfigRequired

public readonly zoneConfig: IResolvable | ZoneConfigProperty;

Property zoneConfig: Availability Zone Configuration.


gatewayNameOptional

public readonly gatewayName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property gatewayName: The name of the Gateway.


logConfigOptional

public readonly logConfig: IResolvable | LogConfigProperty;

Property logConfig: Log Configuration.


networkAccessConfigOptional

public readonly networkAccessConfig: IResolvable | NetworkAccessConfigProperty;

Property networkAccessConfig: Network Access Configuration.


vpcOptional

public readonly vpc: IResolvable | VpcProperty;
  • Type: @alicloud/ros-cdk-core.IResolvable | VpcProperty

Property vpc: The VPC associated with the Gateway.


vSwitchOptional

public readonly vSwitch: IResolvable | VSwitchProperty;

Property vSwitch: The virtual switch associated with the Gateway.