Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.26.0 published on Friday, Jul 29, 2022 by Pulumi

FunctionAsyncInvokeConfig

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

NOTE: Available in 1.100.0+

Example Usage

Destination Configuration

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new AliCloud.FC.FunctionAsyncInvokeConfig("example", new AliCloud.FC.FunctionAsyncInvokeConfigArgs
        {
            ServiceName = alicloud_fc_service.Example.Name,
            FunctionName = alicloud_fc_function.Example.Name,
            DestinationConfig = new AliCloud.FC.Inputs.FunctionAsyncInvokeConfigDestinationConfigArgs
            {
                OnFailure = new AliCloud.FC.Inputs.FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs
                {
                    Destination = the_example_mns_queue_arn,
                },
                OnSuccess = new AliCloud.FC.Inputs.FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs
                {
                    Destination = the_example_mns_topic_arn,
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fc.NewFunctionAsyncInvokeConfig(ctx, "example", &fc.FunctionAsyncInvokeConfigArgs{
			ServiceName:  pulumi.Any(alicloud_fc_service.Example.Name),
			FunctionName: pulumi.Any(alicloud_fc_function.Example.Name),
			DestinationConfig: &fc.FunctionAsyncInvokeConfigDestinationConfigArgs{
				OnFailure: &fc.FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs{
					Destination: pulumi.Any(the_example_mns_queue_arn),
				},
				OnSuccess: &fc.FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs{
					Destination: pulumi.Any(the_example_mns_topic_arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

example = alicloud.fc.FunctionAsyncInvokeConfig("example",
    service_name=alicloud_fc_service["example"]["name"],
    function_name=alicloud_fc_function["example"]["name"],
    destination_config=alicloud.fc.FunctionAsyncInvokeConfigDestinationConfigArgs(
        on_failure=alicloud.fc.FunctionAsyncInvokeConfigDestinationConfigOnFailureArgs(
            destination=the_example_mns_queue_arn,
        ),
        on_success=alicloud.fc.FunctionAsyncInvokeConfigDestinationConfigOnSuccessArgs(
            destination=the_example_mns_topic_arn,
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = new alicloud.fc.FunctionAsyncInvokeConfig("example", {
    serviceName: alicloud_fc_service.example.name,
    functionName: alicloud_fc_function.example.name,
    destinationConfig: {
        onFailure: {
            destination: the_example_mns_queue_arn,
        },
        onSuccess: {
            destination: the_example_mns_topic_arn,
        },
    },
});

Coming soon!

Error Handling Configuration

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new AliCloud.FC.FunctionAsyncInvokeConfig("example", new AliCloud.FC.FunctionAsyncInvokeConfigArgs
        {
            ServiceName = alicloud_fc_service.Example.Name,
            FunctionName = alicloud_fc_function.Example.Name,
            MaximumEventAgeInSeconds = 60,
            MaximumRetryAttempts = 0,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fc.NewFunctionAsyncInvokeConfig(ctx, "example", &fc.FunctionAsyncInvokeConfigArgs{
			ServiceName:              pulumi.Any(alicloud_fc_service.Example.Name),
			FunctionName:             pulumi.Any(alicloud_fc_function.Example.Name),
			MaximumEventAgeInSeconds: pulumi.Int(60),
			MaximumRetryAttempts:     pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

example = alicloud.fc.FunctionAsyncInvokeConfig("example",
    service_name=alicloud_fc_service["example"]["name"],
    function_name=alicloud_fc_function["example"]["name"],
    maximum_event_age_in_seconds=60,
    maximum_retry_attempts=0)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = new alicloud.fc.FunctionAsyncInvokeConfig("example", {
    serviceName: alicloud_fc_service.example.name,
    functionName: alicloud_fc_function.example.name,
    maximumEventAgeInSeconds: 60,
    maximumRetryAttempts: 0,
});

Coming soon!

Async Job Configuration

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new AliCloud.FC.FunctionAsyncInvokeConfig("example", new AliCloud.FC.FunctionAsyncInvokeConfigArgs
        {
            ServiceName = alicloud_fc_service.Example.Name,
            FunctionName = alicloud_fc_function.Example.Name,
            StatefulInvocation = true,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fc.NewFunctionAsyncInvokeConfig(ctx, "example", &fc.FunctionAsyncInvokeConfigArgs{
			ServiceName:        pulumi.Any(alicloud_fc_service.Example.Name),
			FunctionName:       pulumi.Any(alicloud_fc_function.Example.Name),
			StatefulInvocation: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

example = alicloud.fc.FunctionAsyncInvokeConfig("example",
    service_name=alicloud_fc_service["example"]["name"],
    function_name=alicloud_fc_function["example"]["name"],
    stateful_invocation=True)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = new alicloud.fc.FunctionAsyncInvokeConfig("example", {
    serviceName: alicloud_fc_service.example.name,
    functionName: alicloud_fc_function.example.name,
    statefulInvocation: true,
});

Coming soon!

Configuration for Function Latest Unpublished Version

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new AliCloud.FC.FunctionAsyncInvokeConfig("example", new AliCloud.FC.FunctionAsyncInvokeConfigArgs
        {
            ServiceName = alicloud_fc_service.Example.Name,
            FunctionName = alicloud_fc_function.Example.Name,
            Qualifier = "LATEST",
        });
        // ... other configuration ...
    }

}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/fc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fc.NewFunctionAsyncInvokeConfig(ctx, "example", &fc.FunctionAsyncInvokeConfigArgs{
			ServiceName:  pulumi.Any(alicloud_fc_service.Example.Name),
			FunctionName: pulumi.Any(alicloud_fc_function.Example.Name),
			Qualifier:    pulumi.String("LATEST"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

example = alicloud.fc.FunctionAsyncInvokeConfig("example",
    service_name=alicloud_fc_service["example"]["name"],
    function_name=alicloud_fc_function["example"]["name"],
    qualifier="LATEST")
# ... other configuration ...
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = new alicloud.fc.FunctionAsyncInvokeConfig("example", {
    serviceName: alicloud_fc_service.example.name,
    functionName: alicloud_fc_function.example.name,
    qualifier: "LATEST",
});
// ... other configuration ...

Coming soon!

Create a FunctionAsyncInvokeConfig Resource

new FunctionAsyncInvokeConfig(name: string, args: FunctionAsyncInvokeConfigArgs, opts?: CustomResourceOptions);
@overload
def FunctionAsyncInvokeConfig(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              destination_config: Optional[FunctionAsyncInvokeConfigDestinationConfigArgs] = None,
                              function_name: Optional[str] = None,
                              maximum_event_age_in_seconds: Optional[int] = None,
                              maximum_retry_attempts: Optional[int] = None,
                              qualifier: Optional[str] = None,
                              service_name: Optional[str] = None,
                              stateful_invocation: Optional[bool] = None)
@overload
def FunctionAsyncInvokeConfig(resource_name: str,
                              args: FunctionAsyncInvokeConfigArgs,
                              opts: Optional[ResourceOptions] = None)
func NewFunctionAsyncInvokeConfig(ctx *Context, name string, args FunctionAsyncInvokeConfigArgs, opts ...ResourceOption) (*FunctionAsyncInvokeConfig, error)
public FunctionAsyncInvokeConfig(string name, FunctionAsyncInvokeConfigArgs args, CustomResourceOptions? opts = null)
public FunctionAsyncInvokeConfig(String name, FunctionAsyncInvokeConfigArgs args)
public FunctionAsyncInvokeConfig(String name, FunctionAsyncInvokeConfigArgs args, CustomResourceOptions options)
type: alicloud:fc:FunctionAsyncInvokeConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FunctionAsyncInvokeConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args FunctionAsyncInvokeConfigArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args FunctionAsyncInvokeConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FunctionAsyncInvokeConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FunctionAsyncInvokeConfigArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

FunctionAsyncInvokeConfig Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The FunctionAsyncInvokeConfig resource accepts the following input properties:

FunctionName string

Name of the Function Compute Function.

ServiceName string

Name of the Function Compute Function, omitting any version or alias qualifier.

DestinationConfig Pulumi.AliCloud.FC.Inputs.FunctionAsyncInvokeConfigDestinationConfigArgs

Configuration block with destination configuration. See below for details.

MaximumEventAgeInSeconds int

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

MaximumRetryAttempts int

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

Qualifier string

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

StatefulInvocation bool

Function Compute async job configuration. valid values true or false, default false

FunctionName string

Name of the Function Compute Function.

ServiceName string

Name of the Function Compute Function, omitting any version or alias qualifier.

DestinationConfig FunctionAsyncInvokeConfigDestinationConfigArgs

Configuration block with destination configuration. See below for details.

MaximumEventAgeInSeconds int

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

MaximumRetryAttempts int

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

Qualifier string

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

StatefulInvocation bool

Function Compute async job configuration. valid values true or false, default false

functionName String

Name of the Function Compute Function.

serviceName String

Name of the Function Compute Function, omitting any version or alias qualifier.

destinationConfig FunctionAsyncInvokeConfigDestinationConfigArgs

Configuration block with destination configuration. See below for details.

maximumEventAgeInSeconds Integer

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

maximumRetryAttempts Integer

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

qualifier String

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

statefulInvocation Boolean

Function Compute async job configuration. valid values true or false, default false

functionName string

Name of the Function Compute Function.

serviceName string

Name of the Function Compute Function, omitting any version or alias qualifier.

destinationConfig FunctionAsyncInvokeConfigDestinationConfigArgs

Configuration block with destination configuration. See below for details.

maximumEventAgeInSeconds number

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

maximumRetryAttempts number

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

qualifier string

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

statefulInvocation boolean

Function Compute async job configuration. valid values true or false, default false

function_name str

Name of the Function Compute Function.

service_name str

Name of the Function Compute Function, omitting any version or alias qualifier.

destination_config FunctionAsyncInvokeConfigDestinationConfigArgs

Configuration block with destination configuration. See below for details.

maximum_event_age_in_seconds int

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

maximum_retry_attempts int

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

qualifier str

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

stateful_invocation bool

Function Compute async job configuration. valid values true or false, default false

functionName String

Name of the Function Compute Function.

serviceName String

Name of the Function Compute Function, omitting any version or alias qualifier.

destinationConfig Property Map

Configuration block with destination configuration. See below for details.

maximumEventAgeInSeconds Number

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

maximumRetryAttempts Number

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

qualifier String

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

statefulInvocation Boolean

Function Compute async job configuration. valid values true or false, default false

Outputs

All input properties are implicitly available as output properties. Additionally, the FunctionAsyncInvokeConfig resource produces the following output properties:

CreatedTime string

The date this resource was created.

Id string

The provider-assigned unique ID for this managed resource.

LastModifiedTime string

The date this resource was last modified.

CreatedTime string

The date this resource was created.

Id string

The provider-assigned unique ID for this managed resource.

LastModifiedTime string

The date this resource was last modified.

createdTime String

The date this resource was created.

id String

The provider-assigned unique ID for this managed resource.

lastModifiedTime String

The date this resource was last modified.

createdTime string

The date this resource was created.

id string

The provider-assigned unique ID for this managed resource.

lastModifiedTime string

The date this resource was last modified.

created_time str

The date this resource was created.

id str

The provider-assigned unique ID for this managed resource.

last_modified_time str

The date this resource was last modified.

createdTime String

The date this resource was created.

id String

The provider-assigned unique ID for this managed resource.

lastModifiedTime String

The date this resource was last modified.

Look up an Existing FunctionAsyncInvokeConfig Resource

Get an existing FunctionAsyncInvokeConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: FunctionAsyncInvokeConfigState, opts?: CustomResourceOptions): FunctionAsyncInvokeConfig
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_time: Optional[str] = None,
        destination_config: Optional[FunctionAsyncInvokeConfigDestinationConfigArgs] = None,
        function_name: Optional[str] = None,
        last_modified_time: Optional[str] = None,
        maximum_event_age_in_seconds: Optional[int] = None,
        maximum_retry_attempts: Optional[int] = None,
        qualifier: Optional[str] = None,
        service_name: Optional[str] = None,
        stateful_invocation: Optional[bool] = None) -> FunctionAsyncInvokeConfig
func GetFunctionAsyncInvokeConfig(ctx *Context, name string, id IDInput, state *FunctionAsyncInvokeConfigState, opts ...ResourceOption) (*FunctionAsyncInvokeConfig, error)
public static FunctionAsyncInvokeConfig Get(string name, Input<string> id, FunctionAsyncInvokeConfigState? state, CustomResourceOptions? opts = null)
public static FunctionAsyncInvokeConfig get(String name, Output<String> id, FunctionAsyncInvokeConfigState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CreatedTime string

The date this resource was created.

DestinationConfig Pulumi.AliCloud.FC.Inputs.FunctionAsyncInvokeConfigDestinationConfigArgs

Configuration block with destination configuration. See below for details.

FunctionName string

Name of the Function Compute Function.

LastModifiedTime string

The date this resource was last modified.

MaximumEventAgeInSeconds int

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

MaximumRetryAttempts int

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

Qualifier string

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

ServiceName string

Name of the Function Compute Function, omitting any version or alias qualifier.

StatefulInvocation bool

Function Compute async job configuration. valid values true or false, default false

CreatedTime string

The date this resource was created.

DestinationConfig FunctionAsyncInvokeConfigDestinationConfigArgs

Configuration block with destination configuration. See below for details.

FunctionName string

Name of the Function Compute Function.

LastModifiedTime string

The date this resource was last modified.

MaximumEventAgeInSeconds int

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

MaximumRetryAttempts int

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

Qualifier string

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

ServiceName string

Name of the Function Compute Function, omitting any version or alias qualifier.

StatefulInvocation bool

Function Compute async job configuration. valid values true or false, default false

createdTime String

The date this resource was created.

destinationConfig FunctionAsyncInvokeConfigDestinationConfigArgs

Configuration block with destination configuration. See below for details.

functionName String

Name of the Function Compute Function.

lastModifiedTime String

The date this resource was last modified.

maximumEventAgeInSeconds Integer

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

maximumRetryAttempts Integer

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

qualifier String

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

serviceName String

Name of the Function Compute Function, omitting any version or alias qualifier.

statefulInvocation Boolean

Function Compute async job configuration. valid values true or false, default false

createdTime string

The date this resource was created.

destinationConfig FunctionAsyncInvokeConfigDestinationConfigArgs

Configuration block with destination configuration. See below for details.

functionName string

Name of the Function Compute Function.

lastModifiedTime string

The date this resource was last modified.

maximumEventAgeInSeconds number

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

maximumRetryAttempts number

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

qualifier string

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

serviceName string

Name of the Function Compute Function, omitting any version or alias qualifier.

statefulInvocation boolean

Function Compute async job configuration. valid values true or false, default false

created_time str

The date this resource was created.

destination_config FunctionAsyncInvokeConfigDestinationConfigArgs

Configuration block with destination configuration. See below for details.

function_name str

Name of the Function Compute Function.

last_modified_time str

The date this resource was last modified.

maximum_event_age_in_seconds int

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

maximum_retry_attempts int

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

qualifier str

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

service_name str

Name of the Function Compute Function, omitting any version or alias qualifier.

stateful_invocation bool

Function Compute async job configuration. valid values true or false, default false

createdTime String

The date this resource was created.

destinationConfig Property Map

Configuration block with destination configuration. See below for details.

functionName String

Name of the Function Compute Function.

lastModifiedTime String

The date this resource was last modified.

maximumEventAgeInSeconds Number

Maximum age of a request that Function Compute sends to a function for processing in seconds. Valid values between 1 and 2592000 (between 60 and 21600 before v1.167.0).

maximumRetryAttempts Number

Maximum number of times to retry when the function returns an error. Valid values between 0 and 8 (between 0 and 2 before v1.167.0). Defaults to 2.

qualifier String

Function Compute Function published version, LATEST, or Function Compute Alias name. The default value is LATEST.

serviceName String

Name of the Function Compute Function, omitting any version or alias qualifier.

statefulInvocation Boolean

Function Compute async job configuration. valid values true or false, default false

Supporting Types

FunctionAsyncInvokeConfigDestinationConfig

OnFailure Pulumi.AliCloud.FC.Inputs.FunctionAsyncInvokeConfigDestinationConfigOnFailure

Configuration block with destination configuration for failed asynchronous invocations. See below for details.

OnSuccess Pulumi.AliCloud.FC.Inputs.FunctionAsyncInvokeConfigDestinationConfigOnSuccess

Configuration block with destination configuration for successful asynchronous invocations. See below for details.

OnFailure FunctionAsyncInvokeConfigDestinationConfigOnFailure

Configuration block with destination configuration for failed asynchronous invocations. See below for details.

OnSuccess FunctionAsyncInvokeConfigDestinationConfigOnSuccess

Configuration block with destination configuration for successful asynchronous invocations. See below for details.

onFailure FunctionAsyncInvokeConfigDestinationConfigOnFailure

Configuration block with destination configuration for failed asynchronous invocations. See below for details.

onSuccess FunctionAsyncInvokeConfigDestinationConfigOnSuccess

Configuration block with destination configuration for successful asynchronous invocations. See below for details.

onFailure FunctionAsyncInvokeConfigDestinationConfigOnFailure

Configuration block with destination configuration for failed asynchronous invocations. See below for details.

onSuccess FunctionAsyncInvokeConfigDestinationConfigOnSuccess

Configuration block with destination configuration for successful asynchronous invocations. See below for details.

on_failure FunctionAsyncInvokeConfigDestinationConfigOnFailure

Configuration block with destination configuration for failed asynchronous invocations. See below for details.

on_success FunctionAsyncInvokeConfigDestinationConfigOnSuccess

Configuration block with destination configuration for successful asynchronous invocations. See below for details.

onFailure Property Map

Configuration block with destination configuration for failed asynchronous invocations. See below for details.

onSuccess Property Map

Configuration block with destination configuration for successful asynchronous invocations. See below for details.

FunctionAsyncInvokeConfigDestinationConfigOnFailure

Destination string

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

Destination string

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

destination String

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

destination string

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

destination str

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

destination String

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

FunctionAsyncInvokeConfigDestinationConfigOnSuccess

Destination string

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

Destination string

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

destination String

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

destination string

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

destination str

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

destination String

Alicloud Resource Name (ARN) of the destination resource. See the Developer Guide for acceptable resource types and associated RAM permissions.

Import

Function Compute Function Async Invoke Configs can be imported using the id, e.g.

 $ pulumi import alicloud:fc/functionAsyncInvokeConfig:FunctionAsyncInvokeConfig example my_function

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.