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_name
Required
function_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
handler
Required
handler: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
runtime
Required
runtime: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
service_name
Required
service_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
async_configuration
Optional
async_configuration: typing.Union[IResolvable, AsyncConfigurationProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, AsyncConfigurationProperty]
ca_port
Optional
ca_port: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
code
Optional
code: typing.Union[IResolvable, CodeProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, CodeProperty]
cpu
Optional
cpu: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
custom_container_config
Optional
custom_container_config: typing.Union[IResolvable, CustomContainerConfigProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, CustomContainerConfigProperty]
custom_dns
Optional
custom_dns: typing.Union[IResolvable, CustomDNSProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, CustomDNSProperty]
custom_health_check_config
Optional
custom_health_check_config: typing.Union[IResolvable, CustomHealthCheckConfigProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, CustomHealthCheckConfigProperty]
custom_runtime_config
Optional
custom_runtime_config: typing.Union[IResolvable, CustomRuntimeConfigProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, CustomRuntimeConfigProperty]
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
disk_size
Optional
disk_size: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
environment_variables
Optional
environment_variables: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]
gpu_memory_size
Optional
gpu_memory_size: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
initialization_timeout
Optional
initialization_timeout: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
initializer
Optional
initializer: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
instance_concurrency
Optional
instance_concurrency: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
instance_lifecycle_config
Optional
instance_lifecycle_config: typing.Union[IResolvable, InstanceLifecycleConfigProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, InstanceLifecycleConfigProperty]
instance_soft_concurrency
Optional
instance_soft_concurrency: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
instance_type
Optional
instance_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
memory_size
Optional
memory_size: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
timeout
Optional
timeout: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]