Interface CodeConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CodeConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)", date="2023-10-16T19:21:19.999Z") @Stability(Deprecated) @Deprecated public interface CodeConfig extends software.amazon.jsii.JsiiSerializable
Deprecated.
(deprecated) 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 Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Deprecated.
    static final class 
    Deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    default String
    Deprecated.
    default Location
    Deprecated.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getInlineCode

      @Stability(Deprecated) @Deprecated @Nullable default String getInlineCode()
      Deprecated.
      (deprecated) Inline code (mutually exclusive with s3Location).

      Default: - none

    • getS3Location

      @Stability(Deprecated) @Deprecated @Nullable default Location getS3Location()
      Deprecated.
      (deprecated) The location of the code in S3 (mutually exclusive with inlineCode).

      Default: - none

    • builder

      @Stability(Deprecated) @Deprecated static CodeConfig.Builder builder()
      Deprecated.
      Returns:
      a CodeConfig.Builder of CodeConfig