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 |
Synopsis
- data CanaryRunConfigInput = CanaryRunConfigInput' {}
- newCanaryRunConfigInput :: CanaryRunConfigInput
- canaryRunConfigInput_timeoutInSeconds :: Lens' CanaryRunConfigInput (Maybe Natural)
- canaryRunConfigInput_environmentVariables :: Lens' CanaryRunConfigInput (Maybe (HashMap Text Text))
- canaryRunConfigInput_activeTracing :: Lens' CanaryRunConfigInput (Maybe Bool)
- canaryRunConfigInput_memoryInMB :: Lens' CanaryRunConfigInput (Maybe Natural)
Documentation
data CanaryRunConfigInput Source #
A structure that contains input information for a canary run.
See: newCanaryRunConfigInput
smart constructor.
CanaryRunConfigInput' | |
|
Instances
newCanaryRunConfigInput :: CanaryRunConfigInput Source #
Create a value of CanaryRunConfigInput
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:timeoutInSeconds:CanaryRunConfigInput'
, canaryRunConfigInput_timeoutInSeconds
- How long the canary is allowed to run before it must stop. You can't
set this time to be longer than the frequency of the runs of this
canary.
If you omit this field, the frequency of the canary is used as this value, up to a maximum of 14 minutes.
$sel:environmentVariables:CanaryRunConfigInput'
, canaryRunConfigInput_environmentVariables
- Specifies the keys and values to use for any environment variables used
in the canary script. Use the following format:
{ "key1" : "value1", "key2" : "value2", ...}
Keys must start with a letter and be at least two characters. The total size of your environment variables cannot exceed 4 KB. You can't specify any Lambda reserved environment variables as the keys for your environment variables. For more information about reserved keys, see Runtime environment variables.
$sel:activeTracing:CanaryRunConfigInput'
, canaryRunConfigInput_activeTracing
- Specifies whether this canary is to use active X-Ray tracing when it
runs. Active tracing enables this canary run to be displayed in the
ServiceLens and X-Ray service maps even if the canary does not hit an
endpoint that has X-Ray tracing enabled. Using X-Ray tracing incurs
charges. For more information, see
Canaries and X-Ray tracing.
You can enable active tracing only for canaries that use version
syn-nodejs-2.0
or later for their canary runtime.
$sel:memoryInMB:CanaryRunConfigInput'
, canaryRunConfigInput_memoryInMB
- The maximum amount of memory available to the canary while it is
running, in MB. This value must be a multiple of 64.
canaryRunConfigInput_timeoutInSeconds :: Lens' CanaryRunConfigInput (Maybe Natural) Source #
How long the canary is allowed to run before it must stop. You can't set this time to be longer than the frequency of the runs of this canary.
If you omit this field, the frequency of the canary is used as this value, up to a maximum of 14 minutes.
canaryRunConfigInput_environmentVariables :: Lens' CanaryRunConfigInput (Maybe (HashMap Text Text)) Source #
Specifies the keys and values to use for any environment variables used in the canary script. Use the following format:
{ "key1" : "value1", "key2" : "value2", ...}
Keys must start with a letter and be at least two characters. The total size of your environment variables cannot exceed 4 KB. You can't specify any Lambda reserved environment variables as the keys for your environment variables. For more information about reserved keys, see Runtime environment variables.
canaryRunConfigInput_activeTracing :: Lens' CanaryRunConfigInput (Maybe Bool) Source #
Specifies whether this canary is to use active X-Ray tracing when it runs. Active tracing enables this canary run to be displayed in the ServiceLens and X-Ray service maps even if the canary does not hit an endpoint that has X-Ray tracing enabled. Using X-Ray tracing incurs charges. For more information, see Canaries and X-Ray tracing.
You can enable active tracing only for canaries that use version
syn-nodejs-2.0
or later for their canary runtime.
canaryRunConfigInput_memoryInMB :: Lens' CanaryRunConfigInput (Maybe Natural) Source #
The maximum amount of memory available to the canary while it is running, in MB. This value must be a multiple of 64.