class Amazonite::Lambda::PutFunctionEventInvokeConfigRequest

Included Modules

Defined in:

lambda/put_function_event_invoke_config_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(function_name : String, qualifier : String | Nil = nil, maximum_retry_attempts : Int32 | Nil = nil, maximum_event_age_in_seconds : Int32 | Nil = nil, destination_config : DestinationConfig | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def destination_config : DestinationConfig | Nil #

A destination for events after they have been sent to a function for processing.

Destinations

  • Function - The Amazon Resource Name (ARN) of a Lambda function.

  • Queue - The ARN of a standard SQS queue.

  • Bucket - The ARN of an Amazon S3 bucket.

  • Topic - The ARN of a standard SNS topic.

  • Event Bus - The ARN of an Amazon EventBridge event bus.

S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.


[View source]
def destination_config=(destination_config : DestinationConfig | Nil) #

A destination for events after they have been sent to a function for processing.

Destinations

  • Function - The Amazon Resource Name (ARN) of a Lambda function.

  • Queue - The ARN of a standard SQS queue.

  • Bucket - The ARN of an Amazon S3 bucket.

  • Topic - The ARN of a standard SNS topic.

  • Event Bus - The ARN of an Amazon EventBridge event bus.

S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.


[View source]
def function_name : String #

The name or ARN of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.


[View source]
def function_name=(function_name : String) #

The name or ARN of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def maximum_event_age_in_seconds : Int32 | Nil #

The maximum age of a request that Lambda sends to a function for processing.


[View source]
def maximum_event_age_in_seconds=(maximum_event_age_in_seconds : Int32 | Nil) #

The maximum age of a request that Lambda sends to a function for processing.


[View source]
def maximum_retry_attempts : Int32 | Nil #

The maximum number of times to retry when the function returns an error.


[View source]
def maximum_retry_attempts=(maximum_retry_attempts : Int32 | Nil) #

The maximum number of times to retry when the function returns an error.


[View source]
def qualifier : String | Nil #

A version number or alias name.


[View source]
def qualifier=(qualifier : String | Nil) #

A version number or alias name.


[View source]
def validate! : Nil #

[View source]