using System;
namespace Amazon.Lambda.Annotations
{
///
/// Indicates this method should be exposed as a Lambda function
///
[AttributeUsage(AttributeTargets.Method)]
public class LambdaFunctionAttribute : Attribute
{
///
/// The name of the CloudFormation resource that is associated with the Lambda function.
///
public string ResourceName { get; set; }
///
/// The amount of time in seconds that Lambda allows a function to run before stopping it.
///
public uint Timeout { get; set; }
///
/// The amount of memory available to your Lambda function at runtime.
///
public uint MemorySize { get; set; }
///
/// The IAM Role assumed by the Lambda function during its execution.
///
public string Role { get; set; }
///
/// Resource based policies that grants permissions to access other AWS resources.
///
public string Policies { get; set; }
///
public LambdaPackageType PackageType { get; set; }
}
}