Interface FunctionAttributes

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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-02T15:58:22.529Z") @Stability(Stable) public interface FunctionAttributes extends software.amazon.jsii.JsiiSerializable
Attributes of an existing CloudFront Function to import it.

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.cloudfront.*;
 FunctionAttributes functionAttributes = FunctionAttributes.builder()
         .functionArn("functionArn")
         .functionName("functionName")
         // the properties below are optional
         .functionRuntime("functionRuntime")
         .build();
 
  • Method Details

    • getFunctionArn

      @Stability(Stable) @NotNull String getFunctionArn()
      The ARN of the function.
    • getFunctionName

      @Stability(Stable) @NotNull String getFunctionName()
      The name of the function.
    • getFunctionRuntime

      @Stability(Stable) @Nullable default String getFunctionRuntime()
      The Runtime of the function.

      Default: FunctionRuntime.JS_1_0

    • builder

      @Stability(Stable) static FunctionAttributes.Builder builder()
      Returns:
      a FunctionAttributes.Builder of FunctionAttributes