Interface CfnFunctionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunctionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:14.092Z")
@Stability(Stable)
public interface CfnFunctionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnFunction.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediatailor.*;
CfnFunctionProps cfnFunctionProps = CfnFunctionProps.builder()
.functionId("functionId")
.functionType("functionType")
// the properties below are optional
.customOutputConfiguration(CustomOutputConfigurationProperty.builder()
.runtime("runtime")
// the properties below are optional
.output(Map.of(
"outputKey", "output"))
.build())
.description("description")
.httpRequestConfiguration(HttpRequestConfigurationProperty.builder()
.methodType("methodType")
.requestTimeoutMilliseconds(123)
.runtime("runtime")
.url("url")
// the properties below are optional
.body("body")
.headers(Map.of(
"headersKey", "headers"))
.output(Map.of(
"outputKey", "output"))
.build())
.sequentialExecutorConfiguration(SequentialExecutorConfigurationProperty.builder()
.functionList(List.of(FunctionRefProperty.builder()
.functionId("functionId")
.runCondition("runCondition")
.build()))
.runtime("runtime")
.timeoutMilliseconds(123)
// the properties below are optional
.output(Map.of(
"outputKey", "output"))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunctionPropsstatic final classAn implementation forCfnFunctionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFunctionProps.Builderbuilder()default ObjectConfiguration for custom output functions.default StringA description of the function.The unique identifier for the function.default ObjectConfiguration for HTTP request functions.default ObjectConfiguration for sequential executor functions.getTags()The tags to assign to the function resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFunctionId
The unique identifier for the function.- See Also:
-
getFunctionType
- See Also:
-
getCustomOutputConfiguration
Configuration for custom output functions.Returns union: either
IResolvableorCfnFunction.CustomOutputConfigurationProperty- See Also:
-
getDescription
A description of the function.- See Also:
-
getHttpRequestConfiguration
Configuration for HTTP request functions.Returns union: either
IResolvableorCfnFunction.HttpRequestConfigurationProperty- See Also:
-
getSequentialExecutorConfiguration
Configuration for sequential executor functions.Returns union: either
IResolvableorCfnFunction.SequentialExecutorConfigurationProperty- See Also:
-
getTags
The tags to assign to the function resource.- See Also:
-
builder
- Returns:
- a
CfnFunctionProps.BuilderofCfnFunctionProps
-