Interface CfnWebFunctionRevisionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWebFunctionRevisionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-10-08T16:59:57.654Z")
@Stability(Stable)
public interface CfnWebFunctionRevisionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnWebFunctionRevision.
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.lambda.*;
CfnWebFunctionRevisionProps cfnWebFunctionRevisionProps = CfnWebFunctionRevisionProps.builder()
.buildConfig(BuildConfigProperty.builder()
.codeConfig(CodeConfigProperty.builder()
.s3Object(S3ObjectProperty.builder()
.bucket("bucket")
.key("key")
// the properties below are optional
.versionId("versionId")
.build())
.build())
.runtimeConfig(RuntimeConfigProperty.builder()
.runtime("runtime")
.build())
.build())
.functionName("functionName")
.serviceConfig(ServiceConfigProperty.builder()
.executionRoleArn("executionRoleArn")
// the properties below are optional
.environmentVariables(Map.of(
"environmentVariablesKey", "environmentVariables"))
.maxConcurrencyPerEnvironment(123)
.telemetryConfig(TelemetryConfigProperty.builder()
.loggingConfig(LoggingConfigProperty.builder()
.applicationLogLevel("applicationLogLevel")
.logGroup("logGroup")
.systemLogLevel("systemLogLevel")
.build())
.build())
.timeoutSeconds(123)
.build())
// the properties below are optional
.description("description")
.kmsKeyArn("kmsKeyArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWebFunctionRevisionPropsstatic final classAn implementation forCfnWebFunctionRevisionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The build configuration for the revision.default StringA description of the revision.The name of the web function this revision belongs to.default StringThe ARN of the KMS key used to encrypt the revision.The service configuration for the revision.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBuildConfig
The build configuration for the revision.Returns union: either
IResolvableorCfnWebFunctionRevision.BuildConfigProperty- See Also:
-
getFunctionName
The name of the web function this revision belongs to.The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
- See Also:
-
getServiceConfig
The service configuration for the revision.Returns union: either
IResolvableorCfnWebFunctionRevision.ServiceConfigProperty- See Also:
-
getDescription
A description of the revision.- See Also:
-
getKmsKeyArn
The ARN of the KMS key used to encrypt the revision.- See Also:
-
builder
-