Package-level declarations

Types

Link copied to clipboard
class Alias : KotlinCustomResource

Creates a Function Compute service alias. Creates an alias that points to the specified Function Compute service version. For the detailed information, please refer to the developer guide.

Link copied to clipboard
data class AliasArgs(val aliasName: Output<String>? = null, val description: Output<String>? = null, val routingConfig: Output<AliasRoutingConfigArgs>? = null, val serviceName: Output<String>? = null, val serviceVersion: Output<String>? = null) : ConvertibleToJava<AliasArgs>

Creates a Function Compute service alias. Creates an alias that points to the specified Function Compute service version. For the detailed information, please refer to the developer guide.

Link copied to clipboard

Builder for AliasArgs.

Link copied to clipboard
object AliasMapper : ResourceMapper<Alias>
Link copied to clipboard

Builder for Alias.

Link copied to clipboard
class CustomDomain : KotlinCustomResource

Provides an Alicloud Function Compute custom domain resource. For the detailed information, please refer to the developer guide.

Link copied to clipboard
data class CustomDomainArgs(val certConfig: Output<CustomDomainCertConfigArgs>? = null, val domainName: Output<String>? = null, val protocol: Output<String>? = null, val routeConfigs: Output<List<CustomDomainRouteConfigArgs>>? = null) : ConvertibleToJava<CustomDomainArgs>

Provides an Alicloud Function Compute custom domain resource. For the detailed information, please refer to the developer guide.

Link copied to clipboard
Link copied to clipboard
object CustomDomainMapper : ResourceMapper<CustomDomain>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Function : KotlinCustomResource

Provides a Alicloud Function Compute Function resource. Function allows you to trigger execution of code in response to events in Alibaba Cloud. The Function itself includes source code and runtime configuration. For information about Service and how to use it, see What is Function Compute.

Link copied to clipboard
data class FunctionArgs(val caPort: Output<Int>? = null, val codeChecksum: Output<String>? = null, val customContainerConfig: Output<FunctionCustomContainerConfigArgs>? = null, val description: Output<String>? = null, val environmentVariables: Output<Map<String, String>>? = null, val filename: Output<String>? = null, val handler: Output<String>? = null, val initializationTimeout: Output<Int>? = null, val initializer: Output<String>? = null, val instanceConcurrency: Output<Int>? = null, val instanceType: Output<String>? = null, val layers: Output<List<String>>? = null, val memorySize: Output<Int>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val ossBucket: Output<String>? = null, val ossKey: Output<String>? = null, val runtime: Output<String>? = null, val service: Output<String>? = null, val timeout: Output<Int>? = null) : ConvertibleToJava<FunctionArgs>

Provides a Alicloud Function Compute Function resource. Function allows you to trigger execution of code in response to events in Alibaba Cloud. The Function itself includes source code and runtime configuration. For information about Service and how to use it, see What is Function Compute.

Link copied to clipboard
Link copied to clipboard
class FunctionAsyncInvokeConfig : KotlinCustomResource

Manages an asynchronous invocation configuration for a FC Function or Alias. For the detailed information, please refer to the developer guide.

Link copied to clipboard
data class FunctionAsyncInvokeConfigArgs(val destinationConfig: Output<FunctionAsyncInvokeConfigDestinationConfigArgs>? = null, val functionName: Output<String>? = null, val maximumEventAgeInSeconds: Output<Int>? = null, val maximumRetryAttempts: Output<Int>? = null, val qualifier: Output<String>? = null, val serviceName: Output<String>? = null, val statefulInvocation: Output<Boolean>? = null) : ConvertibleToJava<FunctionAsyncInvokeConfigArgs>

Manages an asynchronous invocation configuration for a FC Function or Alias. For the detailed information, please refer to the developer guide.

Link copied to clipboard
object FunctionMapper : ResourceMapper<Function>
Link copied to clipboard
Link copied to clipboard
class LayerVersion : KotlinCustomResource

Basic Usage

Link copied to clipboard
data class LayerVersionArgs(val compatibleRuntimes: Output<List<String>>? = null, val description: Output<String>? = null, val layerName: Output<String>? = null, val ossBucketName: Output<String>? = null, val ossObjectName: Output<String>? = null, val skipDestroy: Output<Boolean>? = null, val zipFile: Output<String>? = null) : ConvertibleToJava<LayerVersionArgs>

Basic Usage

Link copied to clipboard
Link copied to clipboard
object LayerVersionMapper : ResourceMapper<LayerVersion>
Link copied to clipboard
Link copied to clipboard
class Service : KotlinCustomResource
Link copied to clipboard
data class ServiceArgs(val description: Output<String>? = null, val internetAccess: Output<Boolean>? = null, val logConfig: Output<ServiceLogConfigArgs>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val nasConfig: Output<ServiceNasConfigArgs>? = null, val publish: Output<Boolean>? = null, val role: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val tracingConfig: Output<ServiceTracingConfigArgs>? = null, val vpcConfig: Output<ServiceVpcConfigArgs>? = null) : ConvertibleToJava<ServiceArgs>
Link copied to clipboard
Link copied to clipboard
object ServiceMapper : ResourceMapper<Service>
Link copied to clipboard
Link copied to clipboard
class Trigger : KotlinCustomResource

/* /* /* /* /* /* Provides an Alicloud Function Compute Trigger resource. Based on trigger, execute your code in response to events in Alibaba Cloud. For information about Service and how to use it, see What is Function Compute.

Link copied to clipboard
data class TriggerArgs(val config: Output<String>? = null, val configMns: Output<String>? = null, val function: Output<String>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val role: Output<String>? = null, val service: Output<String>? = null, val sourceArn: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<TriggerArgs>

/* /* /* /* /* /* Provides an Alicloud Function Compute Trigger resource. Based on trigger, execute your code in response to events in Alibaba Cloud. For information about Service and how to use it, see What is Function Compute.

Link copied to clipboard
Link copied to clipboard
object TriggerMapper : ResourceMapper<Trigger>
Link copied to clipboard
Link copied to clipboard
class V2Function : KotlinCustomResource
Link copied to clipboard
data class V2FunctionArgs(val caPort: Output<Int>? = null, val code: Output<V2FunctionCodeArgs>? = null, val codeChecksum: Output<String>? = null, val cpu: Output<Double>? = null, val customContainerConfig: Output<V2FunctionCustomContainerConfigArgs>? = null, val customDns: Output<V2FunctionCustomDnsArgs>? = null, val customHealthCheckConfig: Output<V2FunctionCustomHealthCheckConfigArgs>? = null, val customRuntimeConfig: Output<V2FunctionCustomRuntimeConfigArgs>? = null, val description: Output<String>? = null, val diskSize: Output<Int>? = null, val environmentVariables: Output<Map<String, String>>? = null, val functionName: Output<String>? = null, val gpuMemorySize: Output<Int>? = null, val handler: Output<String>? = null, val initializationTimeout: Output<Int>? = null, val initializer: Output<String>? = null, val instanceConcurrency: Output<Int>? = null, val instanceLifecycleConfig: Output<V2FunctionInstanceLifecycleConfigArgs>? = null, val instanceType: Output<String>? = null, val layers: Output<List<String>>? = null, val memorySize: Output<Int>? = null, val runtime: Output<String>? = null, val serviceName: Output<String>? = null, val timeout: Output<Int>? = null) : ConvertibleToJava<V2FunctionArgs>
Link copied to clipboard
Link copied to clipboard
object V2FunctionMapper : ResourceMapper<V2Function>
Link copied to clipboard
Link copied to clipboard
class V3Alias : KotlinCustomResource

Provides a FCV3 Alias resource. Alias for functions. For information about FCV3 Alias and how to use it, see What is Alias.

Link copied to clipboard
data class V3AliasArgs(val additionalVersionWeight: Output<Map<String, Double>>? = null, val aliasName: Output<String>? = null, val description: Output<String>? = null, val functionName: Output<String>? = null, val versionId: Output<String>? = null) : ConvertibleToJava<V3AliasArgs>

Provides a FCV3 Alias resource. Alias for functions. For information about FCV3 Alias and how to use it, see What is Alias.

Link copied to clipboard
Link copied to clipboard
object V3AliasMapper : ResourceMapper<V3Alias>
Link copied to clipboard
Link copied to clipboard
class V3AsyncInvokeConfig : KotlinCustomResource

Provides a FCV3 Async Invoke Config resource. Function Asynchronous Configuration. For information about FCV3 Async Invoke Config and how to use it, see What is Async Invoke Config.

Link copied to clipboard
data class V3AsyncInvokeConfigArgs(val asyncTask: Output<Boolean>? = null, val destinationConfig: Output<V3AsyncInvokeConfigDestinationConfigArgs>? = null, val functionName: Output<String>? = null, val maxAsyncEventAgeInSeconds: Output<Int>? = null, val maxAsyncRetryAttempts: Output<Int>? = null, val qualifier: Output<String>? = null) : ConvertibleToJava<V3AsyncInvokeConfigArgs>

Provides a FCV3 Async Invoke Config resource. Function Asynchronous Configuration. For information about FCV3 Async Invoke Config and how to use it, see What is Async Invoke Config.

Link copied to clipboard
Link copied to clipboard
class V3ConcurrencyConfig : KotlinCustomResource

Provides a FCV3 Concurrency Config resource. Function concurrency configuration. For information about FCV3 Concurrency Config and how to use it, see What is Concurrency Config.

Link copied to clipboard
data class V3ConcurrencyConfigArgs(val functionName: Output<String>? = null, val reservedConcurrency: Output<Int>? = null) : ConvertibleToJava<V3ConcurrencyConfigArgs>

Provides a FCV3 Concurrency Config resource. Function concurrency configuration. For information about FCV3 Concurrency Config and how to use it, see What is Concurrency Config.

Link copied to clipboard
Link copied to clipboard
class V3CustomDomain : KotlinCustomResource

Provides a FCV3 Custom Domain resource. Custom Domain names allow users to access FC functions through custom domain names, providing convenience for building Web services using function compute. You can bind a custom domain name to Function Compute and set different paths to different functions of different services. For information about FCV3 Custom Domain and how to use it, see What is Custom Domain.

Link copied to clipboard
data class V3CustomDomainArgs(val authConfig: Output<V3CustomDomainAuthConfigArgs>? = null, val certConfig: Output<V3CustomDomainCertConfigArgs>? = null, val customDomainName: Output<String>? = null, val protocol: Output<String>? = null, val routeConfig: Output<V3CustomDomainRouteConfigArgs>? = null, val tlsConfig: Output<V3CustomDomainTlsConfigArgs>? = null, val wafConfig: Output<V3CustomDomainWafConfigArgs>? = null) : ConvertibleToJava<V3CustomDomainArgs>

Provides a FCV3 Custom Domain resource. Custom Domain names allow users to access FC functions through custom domain names, providing convenience for building Web services using function compute. You can bind a custom domain name to Function Compute and set different paths to different functions of different services. For information about FCV3 Custom Domain and how to use it, see What is Custom Domain.

Link copied to clipboard
Link copied to clipboard
object V3CustomDomainMapper : ResourceMapper<V3CustomDomain>
Link copied to clipboard
class V3Function : KotlinCustomResource

Provides a Function Compute Service V3 (FCV3) Function resource. The resource scheduling and running of Function Compute is based on functions. The FC function consists of function code and function configuration. For information about Function Compute Service V3 (FCV3) Function and how to use it, see What is Function.

Link copied to clipboard
data class V3FunctionArgs(val code: Output<V3FunctionCodeArgs>? = null, val cpu: Output<Double>? = null, val customContainerConfig: Output<V3FunctionCustomContainerConfigArgs>? = null, val customDns: Output<V3FunctionCustomDnsArgs>? = null, val customRuntimeConfig: Output<V3FunctionCustomRuntimeConfigArgs>? = null, val description: Output<String>? = null, val diskSize: Output<Int>? = null, val environmentVariables: Output<Map<String, String>>? = null, val functionName: Output<String>? = null, val gpuConfig: Output<V3FunctionGpuConfigArgs>? = null, val handler: Output<String>? = null, val instanceConcurrency: Output<Int>? = null, val instanceLifecycleConfig: Output<V3FunctionInstanceLifecycleConfigArgs>? = null, val internetAccess: Output<Boolean>? = null, val layers: Output<List<String>>? = null, val logConfig: Output<V3FunctionLogConfigArgs>? = null, val memorySize: Output<Int>? = null, val nasConfig: Output<V3FunctionNasConfigArgs>? = null, val ossMountConfig: Output<V3FunctionOssMountConfigArgs>? = null, val role: Output<String>? = null, val runtime: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val timeout: Output<Int>? = null, val vpcConfig: Output<V3FunctionVpcConfigArgs>? = null) : ConvertibleToJava<V3FunctionArgs>

Provides a Function Compute Service V3 (FCV3) Function resource. The resource scheduling and running of Function Compute is based on functions. The FC function consists of function code and function configuration. For information about Function Compute Service V3 (FCV3) Function and how to use it, see What is Function.

Link copied to clipboard
Link copied to clipboard
object V3FunctionMapper : ResourceMapper<V3Function>
Link copied to clipboard
Link copied to clipboard
class V3FunctionVersion : KotlinCustomResource

Provides a FCV3 Function Version resource. Version of the function. For information about FCV3 Function Version and how to use it, see What is Function Version.

Link copied to clipboard
data class V3FunctionVersionArgs(val description: Output<String>? = null, val functionName: Output<String>? = null) : ConvertibleToJava<V3FunctionVersionArgs>

Provides a FCV3 Function Version resource. Version of the function. For information about FCV3 Function Version and how to use it, see What is Function Version.

Link copied to clipboard
object V3FunctionVersionMapper : ResourceMapper<V3FunctionVersion>
Link copied to clipboard
class V3LayerVersion : KotlinCustomResource

Provides a FCV3 Layer Version resource. Layer provides you with the ability to publish and deploy common dependency libraries, runtime environments, and function extensions. For information about FCV3 Layer Version and how to use it, see What is Layer Version.

Link copied to clipboard
data class V3LayerVersionArgs(val acl: Output<String>? = null, val code: Output<V3LayerVersionCodeArgs>? = null, val compatibleRuntimes: Output<List<String>>? = null, val description: Output<String>? = null, val layerName: Output<String>? = null, val license: Output<String>? = null, val public: Output<String>? = null) : ConvertibleToJava<V3LayerVersionArgs>

Provides a FCV3 Layer Version resource. Layer provides you with the ability to publish and deploy common dependency libraries, runtime environments, and function extensions. For information about FCV3 Layer Version and how to use it, see What is Layer Version.

Link copied to clipboard
Link copied to clipboard
object V3LayerVersionMapper : ResourceMapper<V3LayerVersion>
Link copied to clipboard
class V3ProvisionConfig : KotlinCustomResource

Provides a FCV3 Provision Config resource. Function Reservation Configuration. For information about FCV3 Provision Config and how to use it, see What is Provision Config.

Link copied to clipboard
data class V3ProvisionConfigArgs(val alwaysAllocateCpu: Output<Boolean>? = null, val alwaysAllocateGpu: Output<Boolean>? = null, val functionName: Output<String>? = null, val qualifier: Output<String>? = null, val scheduledActions: Output<List<V3ProvisionConfigScheduledActionArgs>>? = null, val target: Output<Int>? = null, val targetTrackingPolicies: Output<List<V3ProvisionConfigTargetTrackingPolicyArgs>>? = null) : ConvertibleToJava<V3ProvisionConfigArgs>

Provides a FCV3 Provision Config resource. Function Reservation Configuration. For information about FCV3 Provision Config and how to use it, see What is Provision Config.

Link copied to clipboard
object V3ProvisionConfigMapper : ResourceMapper<V3ProvisionConfig>
Link copied to clipboard
class V3Trigger : KotlinCustomResource

Provides a FCV3 Trigger resource. A trigger is a way of triggering the execution of a function. In the event-driven computing model, the event source is the producer of the event, the function is the handler of the event, and the trigger provides a centralized and unified way to manage different event sources. In the event source, when the event occurs, if the rules defined by the trigger are met,. For information about FCV3 Trigger and how to use it, see What is Trigger.

Link copied to clipboard
data class V3TriggerArgs(val description: Output<String>? = null, val functionName: Output<String>? = null, val invocationRole: Output<String>? = null, val qualifier: Output<String>? = null, val sourceArn: Output<String>? = null, val triggerConfig: Output<String>? = null, val triggerName: Output<String>? = null, val triggerType: Output<String>? = null) : ConvertibleToJava<V3TriggerArgs>

Provides a FCV3 Trigger resource. A trigger is a way of triggering the execution of a function. In the event-driven computing model, the event source is the producer of the event, the function is the handler of the event, and the trigger provides a centralized and unified way to manage different event sources. In the event source, when the event occurs, if the rules defined by the trigger are met,. For information about FCV3 Trigger and how to use it, see What is Trigger.

Link copied to clipboard
Link copied to clipboard
object V3TriggerMapper : ResourceMapper<V3Trigger>
Link copied to clipboard
Link copied to clipboard
class V3VpcBinding : KotlinCustomResource

Provides a FCV3 Vpc Binding resource. For information about FCV3 Vpc Binding and how to use it, see What is Vpc Binding.

Link copied to clipboard
data class V3VpcBindingArgs(val functionName: Output<String>? = null, val vpcId: Output<String>? = null) : ConvertibleToJava<V3VpcBindingArgs>

Provides a FCV3 Vpc Binding resource. For information about FCV3 Vpc Binding and how to use it, see What is Vpc Binding.

Link copied to clipboard
Link copied to clipboard
object V3VpcBindingMapper : ResourceMapper<V3VpcBinding>
Link copied to clipboard

Functions

Link copied to clipboard
fun alias(name: String): Alias
suspend fun alias(name: String, block: suspend AliasResourceBuilder.() -> Unit): Alias
Link copied to clipboard
Link copied to clipboard
suspend fun function(name: String, block: suspend FunctionResourceBuilder.() -> Unit): Function
Link copied to clipboard
Link copied to clipboard
fun service(name: String): Service
suspend fun service(name: String, block: suspend ServiceResourceBuilder.() -> Unit): Service
Link copied to clipboard
fun trigger(name: String): Trigger
suspend fun trigger(name: String, block: suspend TriggerResourceBuilder.() -> Unit): Trigger
Link copied to clipboard
suspend fun v2Function(name: String, block: suspend V2FunctionResourceBuilder.() -> Unit): V2Function
Link copied to clipboard
fun v3Alias(name: String): V3Alias
suspend fun v3Alias(name: String, block: suspend V3AliasResourceBuilder.() -> Unit): V3Alias
Link copied to clipboard
Link copied to clipboard
suspend fun v3Function(name: String, block: suspend V3FunctionResourceBuilder.() -> Unit): V3Function
Link copied to clipboard
Link copied to clipboard
suspend fun v3Trigger(name: String, block: suspend V3TriggerResourceBuilder.() -> Unit): V3Trigger
Link copied to clipboard