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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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].

[1]: docs.aws.amazon.com/lambda/latest/dg/urls-auth.html

Returns:

  • (String)


2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
# File 'lib/aws-sdk-lambda/types.rb', line 2595

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.

[1]: developer.mozilla.org/en-US/docs/Web/HTTP/CORS

Returns:



2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
# File 'lib/aws-sdk-lambda/types.rb', line 2595

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).

[1]: www.w3.org/TR/NOTE-datetime

Returns:

  • (Time)


2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
# File 'lib/aws-sdk-lambda/types.rb', line 2595

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)


2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
# File 'lib/aws-sdk-lambda/types.rb', line 2595

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)


2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
# File 'lib/aws-sdk-lambda/types.rb', line 2595

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].

[1]: docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html

Returns:

  • (String)


2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
# File 'lib/aws-sdk-lambda/types.rb', line 2595

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).

[1]: www.w3.org/TR/NOTE-datetime

Returns:

  • (Time)


2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
# File 'lib/aws-sdk-lambda/types.rb', line 2595

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