Interface CfnApi.CorsConfigurationProperty

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

@Stability(Stable) public static interface CfnApi.CorsConfigurationProperty extends software.amazon.jsii.JsiiSerializable
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.sam.*;
 CorsConfigurationProperty corsConfigurationProperty = CorsConfigurationProperty.builder()
         .allowOrigin("allowOrigin")
         // the properties below are optional
         .allowCredentials(false)
         .allowHeaders("allowHeaders")
         .allowMethods("allowMethods")
         .maxAge("maxAge")
         .build();
 

See Also: