amazonka-lambda-2.0: Amazon Lambda SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lambda.Types.FunctionUrlConfig

Description

 
Synopsis

Documentation

data FunctionUrlConfig Source #

Details about a Lambda function URL.

See: newFunctionUrlConfig smart constructor.

Constructors

FunctionUrlConfig' 

Fields

Instances

Instances details
FromJSON FunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionUrlConfig

Generic FunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionUrlConfig

Associated Types

type Rep FunctionUrlConfig :: Type -> Type #

Read FunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionUrlConfig

Show FunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionUrlConfig

NFData FunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionUrlConfig

Methods

rnf :: FunctionUrlConfig -> () #

Eq FunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionUrlConfig

Hashable FunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionUrlConfig

type Rep FunctionUrlConfig Source # 
Instance details

Defined in Amazonka.Lambda.Types.FunctionUrlConfig

type Rep FunctionUrlConfig = D1 ('MetaData "FunctionUrlConfig" "Amazonka.Lambda.Types.FunctionUrlConfig" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "FunctionUrlConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cors)) :*: (S1 ('MetaSel ('Just "functionUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "functionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "authType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FunctionUrlAuthType)))))

newFunctionUrlConfig Source #

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_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.