Class: Aws::LambdaWeb::Types::CreateWebFunctionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb

Overview

The request to create a web function.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endpoint_config ⇒ Types::EndpointConfig

The configuration for the initial endpoint of the web function.



414
415
416
417
418
419
420
421
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 414

class CreateWebFunctionRequest < Struct.new(
  :function_name,
  :revision_config,
  :endpoint_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#function_name ⇒ String

The name of the web function. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The name is limited to 64 characters in length.

Returns:

  • (String)


414
415
416
417
418
419
420
421
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 414

class CreateWebFunctionRequest < Struct.new(
  :function_name,
  :revision_config,
  :endpoint_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#revision_config ⇒ Types::RevisionConfig

The configuration for the initial revision of the web function, including code and service settings.



414
415
416
417
418
419
420
421
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 414

class CreateWebFunctionRequest < Struct.new(
  :function_name,
  :revision_config,
  :endpoint_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

A map of tag keys and values to apply to the web function.

Returns:

  • (Hash<String,String>)


414
415
416
417
418
419
420
421
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 414

class CreateWebFunctionRequest < Struct.new(
  :function_name,
  :revision_config,
  :endpoint_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end