Skip to content

RosFunctionProps

Properties for defining a RosFunction.

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

Initializer

import com.aliyun.ros.cdk.fc.RosFunctionProps;
RosFunctionProps.builder()
    .functionName(java.lang.String)
    .functionName(IResolvable)
    .handler(java.lang.String)
    .handler(IResolvable)
    .runtime(java.lang.String)
    .runtime(IResolvable)
    .serviceName(java.lang.String)
    .serviceName(IResolvable)
//  .asyncConfiguration(IResolvable)
//  .asyncConfiguration(AsyncConfigurationProperty)
//  .caPort(java.lang.Number)
//  .caPort(IResolvable)
//  .code(IResolvable)
//  .code(CodeProperty)
//  .cpu(java.lang.Number)
//  .cpu(IResolvable)
//  .customContainerConfig(IResolvable)
//  .customContainerConfig(CustomContainerConfigProperty)
//  .customDns(IResolvable)
//  .customDns(CustomDNSProperty)
//  .customHealthCheckConfig(IResolvable)
//  .customHealthCheckConfig(CustomHealthCheckConfigProperty)
//  .customRuntimeConfig(IResolvable)
//  .customRuntimeConfig(CustomRuntimeConfigProperty)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .diskSize(java.lang.Number)
//  .diskSize(IResolvable)
//  .environmentVariables(IResolvable)
//  .environmentVariables(java.util.Map<java.lang.String, java.lang.Object>)
//  .gpuMemorySize(java.lang.Number)
//  .gpuMemorySize(IResolvable)
//  .initializationTimeout(java.lang.Number)
//  .initializationTimeout(IResolvable)
//  .initializer(java.lang.String)
//  .initializer(IResolvable)
//  .instanceConcurrency(java.lang.Number)
//  .instanceConcurrency(IResolvable)
//  .instanceLifecycleConfig(IResolvable)
//  .instanceLifecycleConfig(InstanceLifecycleConfigProperty)
//  .instanceSoftConcurrency(java.lang.Number)
//  .instanceSoftConcurrency(IResolvable)
//  .instanceType(java.lang.String)
//  .instanceType(IResolvable)
//  .memorySize(java.lang.Number)
//  .memorySize(IResolvable)
//  .timeout(java.lang.Number)
//  .timeout(IResolvable)
    .build();

Properties

Name Type Description
functionName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
handler java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
runtime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
serviceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
asyncConfiguration com.aliyun.ros.cdk.core.IResolvable OR AsyncConfigurationProperty No description.
caPort java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
code com.aliyun.ros.cdk.core.IResolvable OR CodeProperty No description.
cpu java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
customContainerConfig com.aliyun.ros.cdk.core.IResolvable OR CustomContainerConfigProperty No description.
customDns com.aliyun.ros.cdk.core.IResolvable OR CustomDNSProperty No description.
customHealthCheckConfig com.aliyun.ros.cdk.core.IResolvable OR CustomHealthCheckConfigProperty No description.
customRuntimeConfig com.aliyun.ros.cdk.core.IResolvable OR CustomRuntimeConfigProperty No description.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
diskSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
environmentVariables com.aliyun.ros.cdk.core.IResolvable OR java.util.Map No description.
gpuMemorySize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
initializationTimeout java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
initializer java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
instanceConcurrency java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
instanceLifecycleConfig com.aliyun.ros.cdk.core.IResolvable OR InstanceLifecycleConfigProperty No description.
instanceSoftConcurrency java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
instanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
memorySize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
timeout java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.

functionNameRequired

public java.lang.Object getFunctionName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

handlerRequired

public java.lang.Object getHandler();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

runtimeRequired

public java.lang.Object getRuntime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

serviceNameRequired

public java.lang.Object getServiceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

asyncConfigurationOptional

public java.lang.Object getAsyncConfiguration();

caPortOptional

public java.lang.Object getCaPort();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

codeOptional

public java.lang.Object getCode();

cpuOptional

public java.lang.Object getCpu();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

customContainerConfigOptional

public java.lang.Object getCustomContainerConfig();

customDnsOptional

public java.lang.Object getCustomDns();

customHealthCheckConfigOptional

public java.lang.Object getCustomHealthCheckConfig();

customRuntimeConfigOptional

public java.lang.Object getCustomRuntimeConfig();

descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

diskSizeOptional

public java.lang.Object getDiskSize();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

environmentVariablesOptional

public java.lang.Object getEnvironmentVariables();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

gpuMemorySizeOptional

public java.lang.Object getGpuMemorySize();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

initializationTimeoutOptional

public java.lang.Object getInitializationTimeout();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

initializerOptional

public java.lang.Object getInitializer();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

instanceConcurrencyOptional

public java.lang.Object getInstanceConcurrency();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

instanceLifecycleConfigOptional

public java.lang.Object getInstanceLifecycleConfig();

instanceSoftConcurrencyOptional

public java.lang.Object getInstanceSoftConcurrency();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

instanceTypeOptional

public java.lang.Object getInstanceType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

memorySizeOptional

public java.lang.Object getMemorySize();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

timeoutOptional

public java.lang.Object getTimeout();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable