Skip to content

RosFunctionProps

Properties for defining a RosFunction.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-function

Initializer

import ros_cdk_fc
ros_cdk_fc.RosFunctionProps(
  function_name: typing.Union[str, IResolvable],
  handler: typing.Union[str, IResolvable],
  runtime: typing.Union[str, IResolvable],
  service_name: typing.Union[str, IResolvable],
  async_configuration: typing.Union[IResolvable, AsyncConfigurationProperty] = None,
  ca_port: typing.Union[typing.Union[int, float], IResolvable] = None,
  code: typing.Union[IResolvable, CodeProperty] = None,
  cpu: typing.Union[typing.Union[int, float], IResolvable] = None,
  custom_container_config: typing.Union[IResolvable, CustomContainerConfigProperty] = None,
  custom_dns: typing.Union[IResolvable, CustomDNSProperty] = None,
  custom_health_check_config: typing.Union[IResolvable, CustomHealthCheckConfigProperty] = None,
  custom_runtime_config: typing.Union[IResolvable, CustomRuntimeConfigProperty] = None,
  description: typing.Union[str, IResolvable] = None,
  disk_size: typing.Union[typing.Union[int, float], IResolvable] = None,
  environment_variables: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
  gpu_memory_size: typing.Union[typing.Union[int, float], IResolvable] = None,
  initialization_timeout: typing.Union[typing.Union[int, float], IResolvable] = None,
  initializer: typing.Union[str, IResolvable] = None,
  instance_concurrency: typing.Union[typing.Union[int, float], IResolvable] = None,
  instance_lifecycle_config: typing.Union[IResolvable, InstanceLifecycleConfigProperty] = None,
  instance_soft_concurrency: typing.Union[typing.Union[int, float], IResolvable] = None,
  instance_type: typing.Union[str, IResolvable] = None,
  memory_size: typing.Union[typing.Union[int, float], IResolvable] = None,
  timeout: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
function_name typing.Union[str, ros_cdk_core.IResolvable] No description.
handler typing.Union[str, ros_cdk_core.IResolvable] No description.
runtime typing.Union[str, ros_cdk_core.IResolvable] No description.
service_name typing.Union[str, ros_cdk_core.IResolvable] No description.
async_configuration typing.Union[ros_cdk_core.IResolvable, AsyncConfigurationProperty] No description.
ca_port typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
code typing.Union[ros_cdk_core.IResolvable, CodeProperty] No description.
cpu typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
custom_container_config typing.Union[ros_cdk_core.IResolvable, CustomContainerConfigProperty] No description.
custom_dns typing.Union[ros_cdk_core.IResolvable, CustomDNSProperty] No description.
custom_health_check_config typing.Union[ros_cdk_core.IResolvable, CustomHealthCheckConfigProperty] No description.
custom_runtime_config typing.Union[ros_cdk_core.IResolvable, CustomRuntimeConfigProperty] No description.
description typing.Union[str, ros_cdk_core.IResolvable] No description.
disk_size typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
environment_variables typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] No description.
gpu_memory_size typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
initialization_timeout typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
initializer typing.Union[str, ros_cdk_core.IResolvable] No description.
instance_concurrency typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
instance_lifecycle_config typing.Union[ros_cdk_core.IResolvable, InstanceLifecycleConfigProperty] No description.
instance_soft_concurrency typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
instance_type typing.Union[str, ros_cdk_core.IResolvable] No description.
memory_size typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.
timeout typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] No description.

function_nameRequired

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

handlerRequired

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

runtimeRequired

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

service_nameRequired

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

async_configurationOptional

async_configuration: typing.Union[IResolvable, AsyncConfigurationProperty]

ca_portOptional

ca_port: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

codeOptional

code: typing.Union[IResolvable, CodeProperty]
  • Type: typing.Union[ros_cdk_core.IResolvable, CodeProperty]

cpuOptional

cpu: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

custom_container_configOptional

custom_container_config: typing.Union[IResolvable, CustomContainerConfigProperty]

custom_dnsOptional

custom_dns: typing.Union[IResolvable, CustomDNSProperty]

custom_health_check_configOptional

custom_health_check_config: typing.Union[IResolvable, CustomHealthCheckConfigProperty]

custom_runtime_configOptional

custom_runtime_config: typing.Union[IResolvable, CustomRuntimeConfigProperty]

descriptionOptional

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

disk_sizeOptional

disk_size: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

environment_variablesOptional

environment_variables: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

gpu_memory_sizeOptional

gpu_memory_size: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

initialization_timeoutOptional

initialization_timeout: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

initializerOptional

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

instance_concurrencyOptional

instance_concurrency: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

instance_lifecycle_configOptional

instance_lifecycle_config: typing.Union[IResolvable, InstanceLifecycleConfigProperty]

instance_soft_concurrencyOptional

instance_soft_concurrency: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

instance_typeOptional

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

memory_sizeOptional

memory_size: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

timeoutOptional

timeout: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]