Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data FunctionUrlConfig = FunctionUrlConfig' {}
- newFunctionUrlConfig :: Text -> Text -> Text -> Text -> FunctionUrlAuthType -> FunctionUrlConfig
- functionUrlConfig_cors :: Lens' FunctionUrlConfig (Maybe Cors)
- functionUrlConfig_functionUrl :: Lens' FunctionUrlConfig Text
- functionUrlConfig_functionArn :: Lens' FunctionUrlConfig Text
- functionUrlConfig_creationTime :: Lens' FunctionUrlConfig Text
- functionUrlConfig_lastModifiedTime :: Lens' FunctionUrlConfig Text
- functionUrlConfig_authType :: Lens' FunctionUrlConfig FunctionUrlAuthType
Documentation
data FunctionUrlConfig Source #
Details about a Lambda function URL.
See: newFunctionUrlConfig
smart constructor.
FunctionUrlConfig' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> FunctionUrlAuthType | |
-> FunctionUrlConfig |
Create a value of FunctionUrlConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cors:FunctionUrlConfig'
, functionUrlConfig_cors
- The
cross-origin resource sharing (CORS)
settings for your function URL.
$sel:functionUrl:FunctionUrlConfig'
, functionUrlConfig_functionUrl
- The HTTP URL endpoint for your function.
$sel:functionArn:FunctionUrlConfig'
, functionUrlConfig_functionArn
- The Amazon Resource Name (ARN) of your function.
$sel:creationTime:FunctionUrlConfig'
, functionUrlConfig_creationTime
- When the function URL was created, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:lastModifiedTime:FunctionUrlConfig'
, functionUrlConfig_lastModifiedTime
- When the function URL configuration was last updated, in
ISO-8601 format
(YYYY-MM-DDThh:mm:ss.sTZD).
$sel:authType:FunctionUrlConfig'
, functionUrlConfig_authType
- The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM 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.
functionUrlConfig_cors :: Lens' FunctionUrlConfig (Maybe Cors) Source #
The cross-origin resource sharing (CORS) settings for your function URL.
functionUrlConfig_functionUrl :: Lens' FunctionUrlConfig Text Source #
The HTTP URL endpoint for your function.
functionUrlConfig_functionArn :: Lens' FunctionUrlConfig Text Source #
The Amazon Resource Name (ARN) of your function.
functionUrlConfig_creationTime :: Lens' FunctionUrlConfig Text Source #
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
functionUrlConfig_lastModifiedTime :: Lens' FunctionUrlConfig Text Source #
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
functionUrlConfig_authType :: Lens' FunctionUrlConfig FunctionUrlAuthType Source #
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM 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.