Interface CfnApiV2.CorsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnApiV2.CorsProperty.Jsii$Proxy
Enclosing class:
CfnApiV2

@Stability(Deprecated) @Deprecated public static interface CfnApiV2.CorsProperty extends software.amazon.jsii.JsiiSerializable
Deprecated.
moved to package aws-apigatewayv2
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.apigateway.*;
 CorsProperty corsProperty = CorsProperty.builder()
         .allowCredentials(false)
         .allowHeaders(List.of("allowHeaders"))
         .allowMethods(List.of("allowMethods"))
         .allowOrigins(List.of("allowOrigins"))
         .exposeHeaders(List.of("exposeHeaders"))
         .maxAge(123)
         .build();
 

See Also: