Interface FunctionUrlProps

All Superinterfaces:
FunctionUrlOptions, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
FunctionUrlProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-03-01T20:58:26.554Z") @Stability(Stable) public interface FunctionUrlProps extends software.amazon.jsii.JsiiSerializable, FunctionUrlOptions
Properties for a FunctionUrl.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.lambda.*;
 Function function_;
 FunctionUrlProps functionUrlProps = FunctionUrlProps.builder()
         .function(function_)
         // the properties below are optional
         .authType(FunctionUrlAuthType.AWS_IAM)
         .cors(FunctionUrlCorsOptions.builder()
                 .allowCredentials(false)
                 .allowedHeaders(List.of("allowedHeaders"))
                 .allowedMethods(List.of(HttpMethod.GET))
                 .allowedOrigins(List.of("allowedOrigins"))
                 .exposedHeaders(List.of("exposedHeaders"))
                 .maxAge(Duration.minutes(30))
                 .build())
         .invokeMode(InvokeMode.BUFFERED)
         .build();