Class: Aws::Lambda::Types::GetFunctionUrlConfigResponse

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

Overview

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)


3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
# File 'lib/aws-sdk-lambda/types.rb', line 3117

class GetFunctionUrlConfigResponse < Struct.new(
  :function_url,
  :function_arn,
  :auth_type,
  :cors,
  :creation_time,
  :last_modified_time,
  :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:



3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
# File 'lib/aws-sdk-lambda/types.rb', line 3117

class GetFunctionUrlConfigResponse < Struct.new(
  :function_url,
  :function_arn,
  :auth_type,
  :cors,
  :creation_time,
  :last_modified_time,
  :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)


3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
# File 'lib/aws-sdk-lambda/types.rb', line 3117

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

#function_arnString

The Amazon Resource Name (ARN) of your function.

Returns:

  • (String)


3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
# File 'lib/aws-sdk-lambda/types.rb', line 3117

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

#function_urlString

The HTTP URL endpoint for your function.

Returns:

  • (String)


3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
# File 'lib/aws-sdk-lambda/types.rb', line 3117

class GetFunctionUrlConfigResponse < Struct.new(
  :function_url,
  :function_arn,
  :auth_type,
  :cors,
  :creation_time,
  :last_modified_time,
  :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)


3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
# File 'lib/aws-sdk-lambda/types.rb', line 3117

class GetFunctionUrlConfigResponse < Struct.new(
  :function_url,
  :function_arn,
  :auth_type,
  :cors,
  :creation_time,
  :last_modified_time,
  :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)


3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
# File 'lib/aws-sdk-lambda/types.rb', line 3117

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