Class CanaryRunConfig
- java.lang.Object
-
- com.pulumi.aws.synthetics.outputs.CanaryRunConfig
-
public final class CanaryRunConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CanaryRunConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Boolean>
activeTracing()
static CanaryRunConfig.Builder
builder()
static CanaryRunConfig.Builder
builder(CanaryRunConfig defaults)
java.util.Map<java.lang.String,java.lang.String>
environmentVariables()
java.util.Optional<java.lang.Integer>
memoryInMb()
java.util.Optional<java.lang.Integer>
timeoutInSeconds()
-
-
-
Method Detail
-
activeTracing
public java.util.Optional<java.lang.Boolean> activeTracing()
- Returns:
- Whether this canary is to use active AWS X-Ray tracing when it runs. You can enable active tracing only for canaries that use version syn-nodejs-2.0 or later for their canary runtime.
-
environmentVariables
public java.util.Map<java.lang.String,java.lang.String> environmentVariables()
- Returns:
- Map of environment variables that are accessible from the canary during execution. Please see [AWS Docs](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime) for variables reserved for Lambda.
-
memoryInMb
public java.util.Optional<java.lang.Integer> memoryInMb()
- Returns:
- Maximum amount of memory available to the canary while it is running, in MB. The value you specify must be a multiple of 64.
-
timeoutInSeconds
public java.util.Optional<java.lang.Integer> timeoutInSeconds()
- Returns:
- Number of seconds the canary is allowed to run before it must stop. If you omit this field, the frequency of the canary is used, up to a maximum of 840 (14 minutes).
-
builder
public static CanaryRunConfig.Builder builder()
-
builder
public static CanaryRunConfig.Builder builder(CanaryRunConfig defaults)
-
-