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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnHttpApi.CorsConfigurationObjectProperty
static final class
An implementation forCfnHttpApi.CorsConfigurationObjectProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
CfnHttpApi.CorsConfigurationObjectProperty.AllowCredentials
.CfnHttpApi.CorsConfigurationObjectProperty.AllowHeaders
.CfnHttpApi.CorsConfigurationObjectProperty.AllowMethods
.CfnHttpApi.CorsConfigurationObjectProperty.AllowOrigins
.CfnHttpApi.CorsConfigurationObjectProperty.ExposeHeaders
.default Number
CfnHttpApi.CorsConfigurationObjectProperty.MaxAge
.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowCredentials
CfnHttpApi.CorsConfigurationObjectProperty.AllowCredentials
. -
getAllowHeaders
CfnHttpApi.CorsConfigurationObjectProperty.AllowHeaders
. -
getAllowMethods
CfnHttpApi.CorsConfigurationObjectProperty.AllowMethods
. -
getAllowOrigins
CfnHttpApi.CorsConfigurationObjectProperty.AllowOrigins
. -
getExposeHeaders
CfnHttpApi.CorsConfigurationObjectProperty.ExposeHeaders
. -
getMaxAge
CfnHttpApi.CorsConfigurationObjectProperty.MaxAge
. -
builder
-