Class: Aws::Lambda::Types::CreateFunctionUrlConfigResponse

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)


1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'lib/aws-sdk-lambda/types.rb', line 1308

class CreateFunctionUrlConfigResponse < Struct.new(
  :function_url,
  :function_arn,
  :auth_type,
  :cors,
  :creation_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:



1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'lib/aws-sdk-lambda/types.rb', line 1308

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


1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'lib/aws-sdk-lambda/types.rb', line 1308

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

#function_arnString

The Amazon Resource Name (ARN) of your function.

Returns:

  • (String)


1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'lib/aws-sdk-lambda/types.rb', line 1308

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

#function_urlString

The HTTP URL endpoint for your function.

Returns:

  • (String)


1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'lib/aws-sdk-lambda/types.rb', line 1308

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


1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'lib/aws-sdk-lambda/types.rb', line 1308

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