Uses of Class
software.amazon.awscdk.services.apigatewayv2.CorsPreflightOptions.Builder
Package
Description
AWS::APIGatewayv2 Construct Library
-
Uses of CorsPreflightOptions.Builder in software.amazon.awscdk.services.apigatewayv2
Modifier and TypeMethodDescriptionCorsPreflightOptions.Builder.allowCredentials
(Boolean allowCredentials) Sets the value ofCorsPreflightOptions.getAllowCredentials()
CorsPreflightOptions.Builder.allowHeaders
(List<String> allowHeaders) Sets the value ofCorsPreflightOptions.getAllowHeaders()
CorsPreflightOptions.Builder.allowMethods
(List<? extends CorsHttpMethod> allowMethods) Sets the value ofCorsPreflightOptions.getAllowMethods()
CorsPreflightOptions.Builder.allowOrigins
(List<String> allowOrigins) Sets the value ofCorsPreflightOptions.getAllowOrigins()
static CorsPreflightOptions.Builder
CorsPreflightOptions.builder()
CorsPreflightOptions.Builder.exposeHeaders
(List<String> exposeHeaders) Sets the value ofCorsPreflightOptions.getExposeHeaders()
Sets the value ofCorsPreflightOptions.getMaxAge()
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CorsPreflightOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theCorsPreflightOptions.Builder
.