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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/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.

Returns:

  • (String)


1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'gems/aws-sdk-lambda/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.

Returns:



1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'gems/aws-sdk-lambda/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).

Returns:

  • (Time)


1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'gems/aws-sdk-lambda/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 'gems/aws-sdk-lambda/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 'gems/aws-sdk-lambda/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.

Returns:

  • (String)


1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
# File 'gems/aws-sdk-lambda/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