Interface CfnFunction.CorsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunction.CorsConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFunction
@Stability(Stable)
public static interface CfnFunction.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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFunction.CorsConfigurationProperty
static final class
An implementation forCfnFunction.CorsConfigurationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowOrigin
- See Also:
-
getAllowCredentials
- See Also:
-
getAllowHeaders
- See Also:
-
getAllowMethods
- See Also:
-
getMaxAge
- See Also:
-
builder
-