Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.CloudFront.Types.FunctionConfig
Description
Documentation
data FunctionConfig Source #
Contains configuration information about a CloudFront function.
See: newFunctionConfig
smart constructor.
Constructors
FunctionConfig' | |
Fields
|
Instances
Arguments
:: Text | |
-> FunctionRuntime | |
-> FunctionConfig |
Create a value of FunctionConfig
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:comment:FunctionConfig'
, functionConfig_comment
- A comment to describe the function.
$sel:runtime:FunctionConfig'
, functionConfig_runtime
- The function’s runtime environment. The only valid value is
cloudfront-js-1.0
.
functionConfig_comment :: Lens' FunctionConfig Text Source #
A comment to describe the function.
functionConfig_runtime :: Lens' FunctionConfig FunctionRuntime Source #
The function’s runtime environment. The only valid value is
cloudfront-js-1.0
.