Interface CfnHttpApi.CorsConfigurationObjectProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnHttpApi.CorsConfigurationObjectProperty.Jsii$Proxy
- Enclosing class:
- CfnHttpApi
@Stability(Stable)
public static interface CfnHttpApi.CorsConfigurationObjectProperty
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.*;
 CorsConfigurationObjectProperty corsConfigurationObjectProperty = CorsConfigurationObjectProperty.builder()
         .allowCredentials(false)
         .allowHeaders(List.of("allowHeaders"))
         .allowMethods(List.of("allowMethods"))
         .allowOrigins(List.of("allowOrigins"))
         .exposeHeaders(List.of("exposeHeaders"))
         .maxAge(123)
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHttpApi.CorsConfigurationObjectPropertystatic final classAn implementation forCfnHttpApi.CorsConfigurationObjectProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherBooleanorIResolvabledefault NumberMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getAllowCredentialsReturns union: eitherBooleanorIResolvable- See Also:
 
- 
getAllowHeaders- See Also:
 
- 
getAllowMethods- See Also:
 
- 
getAllowOrigins- See Also:
 
- 
getExposeHeaders- See Also:
 
- 
getMaxAge- See Also:
 
- 
builder
 
-