Class CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty>
- Enclosing interface:
CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.functionList(List<? extends Object> functionList) functionList(IResolvable functionList) maxConcurrency(Number maxConcurrency) output(IResolvable output) timeoutMilliseconds(Number timeoutMilliseconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionList
@Stability(Stable) public CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty.Builder functionList(IResolvable functionList) - Parameters:
functionList- The list of 1 to 10 child functions that MediaTailor runs in parallel. Each entry specifies a child function to execute and an optional run condition expression that controls whether the function runs. Child functions cannot themselves be executors, and each child function's resolved namespace must be unique across the list.- Returns:
this
-
functionList
@Stability(Stable) public CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty.Builder functionList(List<? extends Object> functionList) - Parameters:
functionList- The list of 1 to 10 child functions that MediaTailor runs in parallel. Each entry specifies a child function to execute and an optional run condition expression that controls whether the function runs. Child functions cannot themselves be executors, and each child function's resolved namespace must be unique across the list.- Returns:
this
-
maxConcurrency
@Stability(Stable) public CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty.Builder maxConcurrency(Number maxConcurrency) - Parameters:
maxConcurrency- The maximum number of child functions that MediaTailor runs simultaneously. When the list contains more functions than MaxConcurrency, MediaTailor starts additional functions as running ones complete, so that no more than MaxConcurrency functions run at the same time. Valid values are 1 to 2.- Returns:
this
-
output
@Stability(Stable) public CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty.Builder output(IResolvable output) - Parameters:
output- A map of output bindings that controls which bindings the executor commits to the session state after all child functions complete. Each key is a namespaced output path, and each value is an expression that MediaTailor evaluates against the combined results of the child functions.- Returns:
this
-
output
@Stability(Stable) public CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty.Builder output(Map<String, String> output) - Parameters:
output- A map of output bindings that controls which bindings the executor commits to the session state after all child functions complete. Each key is a namespaced output path, and each value is an expression that MediaTailor evaluates against the combined results of the child functions.- Returns:
this
-
runtime
@Stability(Stable) public CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty.Builder runtime(String runtime) - Parameters:
runtime- The expression language used to evaluate expressions in the function configuration. Set this to JSONATA.- Returns:
this
-
timeoutMilliseconds
@Stability(Stable) public CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty.Builder timeoutMilliseconds(Number timeoutMilliseconds) Sets the value ofCfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty.getTimeoutMilliseconds()- Parameters:
timeoutMilliseconds- The maximum time, in milliseconds, for all child functions to complete. This timeout covers every function in the list, including any HTTP calls the child functions make. If the executor exceeds this timeout, MediaTailor discards all output from the executor and proceeds with default behavior. Valid values are 100 to 2000.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.ConcurrentExecutorConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-