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, Any>>? = 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 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, Any>>? = 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

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