Interface FunctionAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FunctionAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-27T17:01:58.464Z")
@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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFunctionAttributes
static final class
An implementation forFunctionAttributes
-
Method Summary
Modifier and TypeMethodDescriptionstatic FunctionAttributes.Builder
builder()
The ARN of the function.The name of the function.default String
The Runtime of the function.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFunctionArn
The ARN of the function. -
getFunctionName
The name of the function. -
getFunctionRuntime
The Runtime of the function.Default: FunctionRuntime.JS_1_0
-
builder
- Returns:
- a
FunctionAttributes.Builder
ofFunctionAttributes
-