Interface FunctionUrlProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.762Z") @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.services.lambda.*;
 import software.amazon.awscdk.core.*;
 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())
         .build();