Interface CodeConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CodeConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)",
date="2023-09-13T16:50:20.667Z")
@Stability(Experimental)
public interface CodeConfig
extends software.amazon.jsii.JsiiSerializable
(experimental) Configuration of the code class.
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.synthetics.alpha.*;
CodeConfig codeConfig = CodeConfig.builder()
.inlineCode("inlineCode")
.s3Location(Location.builder()
.bucketName("bucketName")
.objectKey("objectKey")
// the properties below are optional
.objectVersion("objectVersion")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCodeConfigstatic final classAn implementation forCodeConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic CodeConfig.Builderbuilder()default String(experimental) Inline code (mutually exclusive withs3Location).default Location(experimental) The location of the code in S3 (mutually exclusive withinlineCode).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInlineCode
(experimental) Inline code (mutually exclusive withs3Location).Default: - none
-
getS3Location
(experimental) The location of the code in S3 (mutually exclusive withinlineCode).Default: - none
-
builder
- Returns:
- a
CodeConfig.BuilderofCodeConfig
-