class Amazonite::Lambda::CreateAliasRequest

Included Modules

Defined in:

lambda/create_alias_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(function_name : String, name : String, function_version : String, description : String | Nil = nil, routing_config : AliasRoutingConfiguration | Nil = nil) #

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

[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 description : String | Nil #

A description of the alias.


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

A description of the alias.


[View source]
def function_name : String #

The name or ARN of the Lambda function.

Name formats

  • Function name - MyFunction.

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

  • Partial ARN - 123456789012:function:MyFunction.

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.

Name formats

  • Function name - MyFunction.

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

  • Partial ARN - 123456789012:function:MyFunction.

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_version : String #

The function version that the alias invokes.


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

The function version that the alias invokes.


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

See Object#hash(hasher)


def name : String #

The name of the alias.


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

The name of the alias.


[View source]
def routing_config : AliasRoutingConfiguration | Nil #

The routing configuration of the alias.


[View source]
def routing_config=(routing_config : AliasRoutingConfiguration | Nil) #

The routing configuration of the alias.


[View source]
def validate! : Nil #

[View source]