AWSLambdaFunctionUrlConfig
Objective-C
@interface AWSLambdaFunctionUrlConfig
Swift
class AWSLambdaFunctionUrlConfig
Details about a Lambda function URL.
Required parameters: [FunctionUrl, FunctionArn, CreationTime, LastModifiedTime, AuthType]
-
The type of authentication that your function URL uses. Set to
AWS_IAM
if you want to restrict access to authenticated users only. Set toNONE
if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.Declaration
Objective-C
@property (nonatomic) AWSLambdaFunctionUrlAuthType authType;
Swift
var authType: AWSLambdaFunctionUrlAuthType { get set }
-
The cross-origin resource sharing (CORS) settings for your function URL.
Declaration
Objective-C
@property (nonatomic, strong) AWSLambdaCors *_Nullable cors;
Swift
var cors: AWSLambdaCors? { get set }
-
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable creationTime;
Swift
var creationTime: String? { get set }
-
The Amazon Resource Name (ARN) of your function.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable functionArn;
Swift
var functionArn: String? { get set }
-
The HTTP URL endpoint for your function.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable functionUrl;
Swift
var functionUrl: String? { get set }
-
Use one of the following options:
BUFFERED
– This is the default option. Lambda invokes your function using theInvoke
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 theInvokeWithResponseStream
API operation. The maximum response payload size is 20 MB, however, you can request a quota increase.
Declaration
Objective-C
@property (nonatomic) AWSLambdaInvokeMode invokeMode;
Swift
var invokeMode: AWSLambdaInvokeMode { get set }
-
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable lastModifiedTime;
Swift
var lastModifiedTime: String? { get set }