Interface CfnApiPropsMixin.CorsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApiPropsMixin.CorsConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnApiPropsMixin
@Stability(Stable)
public static interface CfnApiPropsMixin.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.cfnpropertymixins.services.sam.*;
CorsConfigurationProperty corsConfigurationProperty = CorsConfigurationProperty.builder()
.allowCredentials(false)
.allowHeaders("allowHeaders")
.allowMethods("allowMethods")
.allowOrigin("allowOrigin")
.maxAge("maxAge")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApiPropsMixin.CorsConfigurationPropertystatic final classAn implementation forCfnApiPropsMixin.CorsConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowCredentials
Returns union: eitherBooleanorIResolvable- See Also:
-
getAllowHeaders
- See Also:
-
getAllowMethods
- See Also:
-
getAllowOrigin
- See Also:
-
getMaxAge
- See Also:
-
builder
-