Class: Aws::Lambda::Types::FunctionUrlConfig

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

Overview

Details about a Lambda function URL.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auth_typeString

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.

Returns:

  • (String)


2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 2508

class FunctionUrlConfig < Struct.new(
  :function_url,
  :function_arn,
  :creation_time,
  :last_modified_time,
  :cors,
  :auth_type,
  :invoke_mode)
  SENSITIVE = []
  include Aws::Structure
end

#corsTypes::Cors

The cross-origin resource sharing (CORS) settings for your function URL.

Returns:



2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 2508

class FunctionUrlConfig < Struct.new(
  :function_url,
  :function_arn,
  :creation_time,
  :last_modified_time,
  :cors,
  :auth_type,
  :invoke_mode)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeTime

When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

Returns:

  • (Time)


2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 2508

class FunctionUrlConfig < Struct.new(
  :function_url,
  :function_arn,
  :creation_time,
  :last_modified_time,
  :cors,
  :auth_type,
  :invoke_mode)
  SENSITIVE = []
  include Aws::Structure
end

#function_arnString

The Amazon Resource Name (ARN) of your function.

Returns:

  • (String)


2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 2508

class FunctionUrlConfig < Struct.new(
  :function_url,
  :function_arn,
  :creation_time,
  :last_modified_time,
  :cors,
  :auth_type,
  :invoke_mode)
  SENSITIVE = []
  include Aws::Structure
end

#function_urlString

The HTTP URL endpoint for your function.

Returns:

  • (String)


2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 2508

class FunctionUrlConfig < Struct.new(
  :function_url,
  :function_arn,
  :creation_time,
  :last_modified_time,
  :cors,
  :auth_type,
  :invoke_mode)
  SENSITIVE = []
  include Aws::Structure
end

#invoke_modeString

Use one of the following options:

  • BUFFERED – This is the default option. Lambda invokes your function using the Invoke API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB.

  • RESPONSE_STREAM – Your function streams payload results as they become available. Lambda invokes your function using the InvokeWithResponseStream API operation. The maximum response payload size is 20 MB, however, you can request a quota increase.

Returns:

  • (String)


2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 2508

class FunctionUrlConfig < Struct.new(
  :function_url,
  :function_arn,
  :creation_time,
  :last_modified_time,
  :cors,
  :auth_type,
  :invoke_mode)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_timeTime

When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

Returns:

  • (Time)


2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 2508

class FunctionUrlConfig < Struct.new(
  :function_url,
  :function_arn,
  :creation_time,
  :last_modified_time,
  :cors,
  :auth_type,
  :invoke_mode)
  SENSITIVE = []
  include Aws::Structure
end