// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.AliCloud.FC.Outputs
{

    [OutputType]
    public sealed class FunctionAsyncInvokeConfigDestinationConfig
    {
        /// <summary>
        /// Configuration block with destination configuration for failed asynchronous invocations. See below for details.
        /// </summary>
        public readonly Outputs.FunctionAsyncInvokeConfigDestinationConfigOnFailure? OnFailure;
        /// <summary>
        /// Configuration block with destination configuration for successful asynchronous invocations. See below for details.
        /// </summary>
        public readonly Outputs.FunctionAsyncInvokeConfigDestinationConfigOnSuccess? OnSuccess;

        [OutputConstructor]
        private FunctionAsyncInvokeConfigDestinationConfig(
            Outputs.FunctionAsyncInvokeConfigDestinationConfigOnFailure? onFailure,

            Outputs.FunctionAsyncInvokeConfigDestinationConfigOnSuccess? onSuccess)
        {
            OnFailure = onFailure;
            OnSuccess = onSuccess;
        }
    }
}
